Smart Contract balance by currencies
Returns balance updates on Ethereum, where balance update address is 0xdac1…1ec7 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 0xdac1…1ec7
- currency smart contract is not 0x
The query
query ($network: evm_network, $address: String!) {
EVM(network: $network, dataset: combined) {
BalanceUpdates(
orderBy: {descendingByField: "sum"}
where: {BalanceUpdate: {Address: {is: $address}}, Currency: {SmartContract: {not: "0x"}}}
) {
ChainId
count
Currency {
Symbol
SmartContract
}
sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0.0"})
}
}
}
Variables
{
"offset": 0,
"network": "eth",
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}
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