Balance for multiple addresses using BalanceUpdate API
Returns balance updates on Ethereum, where balance update address is 0xcf1D…35f6 or 0x11db…b5be, sorted by balance update address, highest first: currency name, sum of balance update amount and balance update address.
What it returns
- currency name
- sum of balance update amount
- balance update address
Filters
- balance update address is 0xcf1D…35f6 or 0x11db…b5be
The query
query MyQuery {
EVM(dataset: archive, network: eth) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {in: ["0xcf1DC766Fc2c62bef0b67A8De666c8e67aCf35f6", "0x11dbf181dd5c075c2abd92cb9579c4809406b5be"]}}}
orderBy: {descending: BalanceUpdate_Address}
) {
Currency {
Name
}
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