Stats

?module=stats

https://instance_base_url/api?module=stats

Get ERC-20 or ERC-721 token total supply by contract address

tokensupply

Example

https://instance_base_url/api
   ?module=stats
   &action=tokensupply
   &contractaddress={contractAddressHash}
ParameterDescription

contractaddress

string containing the contract address hash - a 160-bit code used for identifying contracts.

Get total supply in Wei from exchange

ethsupplyexchange

Example:

// Some code
ParameterDescription

param

description

Get total supply in Wei from DB

ethsupply

Example:

// Some code
ParameterDescription

param

description

Get total coin supply from DB minus burnt number

coinsupply

Example:

// Some code
ParameterDescription

param

description

Get latest price of native coin in USD and BTC

ethprice

Example:

// Some code
ParameterDescription

param

description

Get latest price of native coin in USD and BTC in more general format

coinprice

Example:

// Some code
ParameterDescription

param

description

Get total transaction fees in Wei paid by users to validators per day

totalfees

Example:

// Some code
ParameterDescription

param

description

Last updated

Logo

Copyright © Blockscout Limited 2023-2024