Get NFT Balances for Multiple Addresses
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
- token balance address
- currency symbol
- currency name
- smart contract
- decimals
- post balance
- post balance in USD
Filters
- token balance address is 0x2906…e764 or 0x3c65…222b
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/
#
{
EVM(network: eth) {
TransactionBalances(
orderBy: {descendingByField: "TokenBalance_PostBalanceInUSD_maximum"}
where: {TokenBalance: {Address: {in: ["0x2906bF2d33bAd2041B31bd22a728724e23F6e764","0x3c6559E241f6A2e15a98f3270bc66447e0B6222b"]}, Currency: {Fungible: false}}}
) {
TokenBalance {
Address
Currency {
Symbol
Name
SmartContract
Decimals
}
PostBalance(maximum: Block_Time selectWhere:{ne: "0"})
PostBalanceInUSD(maximum: Block_Time)
Address
}
}
}
}
Similar queries
- latest token supply on USDT and USDC on ethereum chain · Ethereum · TransactionBalances
- Get Token Total Supply and Market Cap · 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