Comment on page
getTokenSupply
Get the total supply for the given ERC20 token contract address (supports snapshotting at a specific block number)
contractAddress
:(string)
REQUIRED - The token contract addressblockNumber
:(string)
OPTIONAL - The block height for which the supply is requested
totalSupply
:<string>
- The total token supply for the specified contract
Request
curl --location 'https://eth-mainnet.blastapi.io/<project-id>/builder/getTokenSupply?contractAddress=0xF411903cbC70a74d22900a5DE66A2dda66507255'
Result
{
"totalSupply": "100207279129169697046687842654"
}
Last modified 1mo ago