getTokenBalances
Returns 100 balance updates on Base, where balance update address is 0x5dC7…5db2, sorted by amount, highest first: chain ID, currency symbol, smart contract, decimals, currency name, has URI, fungible and 3 more fields.
What it returns
- chain ID
- currency symbol
- smart contract
- decimals
- currency name
- has URI
- fungible
- protocol name
- native
- sum of balance update amount
Filters
- balance update address is 0x5dC7…5db2
The query
query getTokenBalances($dataset: dataset_arg_enum!, $network: evm_network, $wallet: String!, $limit: Int) {
EVM(dataset: $dataset, network: $network) {
BalanceUpdates(
limit: {count: $limit}
orderBy: {descendingByField: "Amount"}
where: {BalanceUpdate: {Address: {is: $wallet}}, Currency: {Fungible: true}}
) {
ChainId
Currency {
Symbol
SmartContract
Decimals
Name
HasURI
Fungible
ProtocolName
Native
}
Amount: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0.001"})
}
}
}
Variables
{
"dataset": "combined",
"network": "base",
"wallet": "0x5dC76A02C49d6f15FBdE0506e0d7cc630CEe5db2",
"limit": 100
}
Similar queries
- base token holder · Base · BalanceUpdates
- base real time token holder · Base · BalanceUpdates
- Top 10 holders of multiple tokens on Base · Base · BalanceUpdates
- balances of wallets test2 base · Base · BalanceUpdates
- search address v2 · Ethereum · BalanceUpdates