Skip to main content

getTokenSupply

Parameters

  • contractAddress :(string) REQUIRED - The token contract address
  • blockNumber: (string) OPTIONAL - The block height for which the supply is requested

Returns

  • totalSupply: <string> - The total token supply for the specified contract

Example Request and Result for getTokenSupply

Request

curl --location 'https://eth-mainnet.blastapi.io/<project-id>/builder/getTokenSupply?contractAddress=0xF411903cbC70a74d22900a5DE66A2dda66507255'

Result

{
"totalSupply": "100207279129169697046687842654"
}