Get ERC20 Token Balance by Wallet
Returns balance updates on Ethereum, where balance update address is 0xA7D7…C664, sorted by balance, highest first: currency name, currency symbol, decimals, sum of balance update amount and balance update address.
What it returns
- currency name
- currency symbol
- decimals
- sum of balance update amount
- balance update address
Filters
- balance update address is 0xA7D7…C664
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
BalanceUpdates(
where: {
BalanceUpdate: { Address: { is: "0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664" } },
Currency: { Fungible: true, Native: false }
}
orderBy: { descendingByField: "balance" }
) {
Currency {
Name
Symbol
Decimals
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: { gt: "0" })
BalanceUpdate {
Address
}
}
}
}
Similar queries
- eth balance · Ethereum · BalanceUpdates
- Ethereum balance view · Ethereum · BalanceUpdates
- Balance update API explanation · Ethereum · BalanceUpdates
- MyQuery EVM · BNB Chain · BalanceUpdates
- usdt_holder_balance_update_ · Ethereum · BalanceUpdates