Smart Contract balance by currencies
Returns 10 balance updates on Ethereum, where balance update address is 0x1f90…c326 and currency smart contract is not 0x, sorted by sum, highest first: chain ID, count, currency symbol, smart contract and sum of balance update amount.
What it returns
- chain ID
- count
- currency symbol
- smart contract
- sum of balance update amount
Filters
- balance update address is 0x1f90…c326
- currency smart contract is not 0x
The query
query ($network: evm_network, $limit: Int, $address: String!) {
EVM(network: $network, dataset: combined) {
BalanceUpdates(
orderBy: {descendingByField: "sum"}
where: {BalanceUpdate: {Address: {is: $address}}, Currency: {SmartContract: {not: "0x"}}}
limit: {count: $limit}
) {
ChainId
count
Currency {
Symbol
SmartContract
}
sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0.0"})
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "eth",
"address": "0x1f9090aae28b8a3dceadf281b0f12828e676c326"
}
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