Trying Common token holder..not working
Returns 10 balance updates on Ethereum, where currency smart contract is 0x2b59…eb39 or 0x7d1a…ebb0, sorted by sum, highest first: balance update address, currency name and sum of balance update amount.
What it returns
- balance update address
- currency name
- sum of balance update amount
Filters
- currency smart contract is 0x2b59…eb39 or 0x7d1a…ebb0
The query
{
EVM(network: eth, dataset: combined) {
BalanceUpdates(
where: {Currency: {SmartContract: {in: ["0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39", "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0"]}}}
limit: {count: 10}
orderBy: {descendingByField: "sum"}
) {
BalanceUpdate {
Address
}
Currency {
Name
}
sum(of: BalanceUpdate_Amount, selectWhere: {gt: "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