balance check for address
Returns balance updates on Ethereum, where balance update address is 0xB0A2…3d64 and currency smart contract is 0x6874…2f38, sorted by balance, 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 0xB0A2…3d64
- currency smart contract is 0x6874…2f38
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "0xB0A27099582833c0Cb8C7A0565759fF145113d64"}}, Currency: {SmartContract: {is: "0x68749665ff8d2d112fa859aa293f07a622782f38"}}}
orderBy: {descendingByField: "balance"}
) {
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