Skip to main content

Get the storage value at a specific position for a contract

GET 

/:network/contract/storage

Get the storage value at a specific position for a contract

Request

Path Parameters

    network stringrequired

    Blockchain network name or chain id

Query Parameters

    block_height number

    Optional block number for which the balance is requested. Provide only block height or timestamp you want to check for.

    date string

    Optional Date timestamp for which the balance is requested (ISO 8601 format). Provide only block height or timestamp you want to check for.

    contract_address stringrequired

    Address of the contract

    position stringrequired

    Storage position to fetch (can be in decimal or hex format)

    projectId stringrequired

    The id of your project. Can be found in your Histori dashboard.

Responses

Contract storage value fetched successfully.

Schema

    network stringrequired

    Name of the blockchain network

    chain_id numberrequired

    Chain ID of the blockchain network

    contract_address stringrequired

    Address of the contract

    position stringrequired

    Storage position queried

    storage_value stringrequired

    Value stored at the given position

Loading...