Too many queries
Returns 1000 balance updates on Ethereum, where currency smart contract is 0xc02a…6cc2: balance update address and sum of balance update amount.
What it returns
- balance update address
- sum of balance update amount
Filters
- currency smart contract is 0xc02a…6cc2
The query
query($tokenAddress: String!, $limit: Int!, $offset: Int!) {
EVM(network: eth, dataset: combined) {
BalanceUpdates(
where: {Currency: {SmartContract: {is: $tokenAddress}}}
limit: {count: $limit, offset: $offset}
) {
BalanceUpdate {
Address
}
sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
}
}
}
Variables
{
"tokenAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"limit": 1000,
"offset": 0
}
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