user-33990
Returns balance updates on Polygon, where currency smart contract is 0x4d97…6045, sorted by balance, highest first: sum of balance update amount and balance update address.
What it returns
- sum of balance update amount
- balance update address
Filters
- currency smart contract is 0x4d97…6045
The query
query ($tokenId: String!, $since: DateTime!, $till: DateTime!, $offset: Int!, $limit: Int!) {
EVM(dataset: combined, network: matic) {
BalanceUpdates(
limit: { count: $limit, offset: $offset }
orderBy: { descendingByField: "Balance" }
where: {
Block: { Time: { since: $since, till: $till } }
Currency: { SmartContract: { is: "0x4d97dcd97ec945f40cf65f87097ace5ea0476045" } }
BalanceUpdate: { Id: { eq: $tokenId } }
}
) {
Balance: sum(of: BalanceUpdate_Amount)
BalanceUpdate { Address }
}
}
}
Similar queries
- slow query polygon · Polygon · BalanceUpdates
- token holder for polymarket · Polygon · BalanceUpdates
- matic_balans · Polygon · BalanceUpdates
- matic_v2_balance · Polygon · BalanceUpdates
- matic balance at a block height · Polygon · BalanceUpdates