Skip to main content

Get token supply by token address and block number for a given network.

GET 

/:network/token-supply

Get token supply by token address and block number for a given network.

Request

Path Parameters

    network stringrequired

    Blockchain network name or chain id

Query Parameters

    token_address stringrequired

    The contract address of the token or ENS name.

    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.

    projectId stringrequired

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

Responses

The token supply data.

Schema

    network_name stringrequired

    Blockchain network name For the requested query

    chain_id numberrequired

    The chain ID of the network.

    token_address stringrequired

    Token unique identifier (contract address) in hexadecimal format

    block_height numberrequired

    Block number at the time of the snapshot

    total_supply stringrequired

    Total supply of the token at the given block number

Loading...