latest token supply on USDT and USDC on ethereum chain
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(network: eth, dataset: combined) archive full history combined archive + realtime in one result Ar
What it returns
- total supply
- currency name
- currency symbol
- smart contract
Filters
- currency smart contract is 0xa0b8…eb48 or 0x10ee…4fb5
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# EVM(network: eth, dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
# For more info on the endpoint visit -
# https://docs.bitquery.io/docs/blockchain/Ethereum/balances/transaction-
# balance-tracker/
# For faster results try using indexed feilds in where and orderBy clause -
# https://docs.bitquery.io/docs/graphql/indexed-fields-reference/
{
EVM(network: eth) {
TransactionBalances(
orderBy: {descending: Block_Time}
limitBy: {by: TokenBalance_Currency_SmartContract, count: 1}
where: {TokenBalance: {Currency: {SmartContract: {in: ["0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "0x10ee2065f1cc4b9933986cc0bacaab7ebffe4fb5"]}}}}
) {
TokenBalance {
TotalSupply
Currency {
Name
Symbol
SmartContract
}
}
}
}
}
Similar queries
- Get Token Total Supply and Market Cap · Ethereum · TransactionBalances
- latest liquidity of a EVM pool · Ethereum · TransactionBalances
- latest token supply of all active tokens on ETH chain · Ethereum · TransactionBalances
- Transaction balances · Ethereum · TransactionBalances
- All MEV Builders Tx Balance Tracker · Ethereum · TransactionBalances