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
Blockchain network name or chain id
Query Parameters
The contract address of the token or ENS name.
Optional block number for which the balance is requested. Provide only block height or timestamp you want to check for.
Optional Date timestamp for which the balance is requested (ISO 8601 format). Provide only block height or timestamp you want to check for.
The id of your project. Can be found in your Histori dashboard.
Responses
- 200
- 400
- 404
The token supply data.
- application/json
- Schema
- Example (from schema)
Schema
Blockchain network name For the requested query
The chain ID of the network.
Token unique identifier (contract address) in hexadecimal format
Block number at the time of the snapshot
Total supply of the token at the given block number
{
"network_name": "eth-mainnet",
"chain_id": 1,
"token_address": "0x6b175474e89094c44da98b954eedeac495271d0f",
"block_height": 20980367,
"total_supply": "3361990858936672881079063694"
}
Invalid request parameters.
Token supply not found