matic balance at a block height
Returns balance updates on Polygon, where balance update address is 0xcB03…5296, currency smart contract is 0xc213…8e8F and block number is at most 77708375, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.
What it returns
- currency name
- sum of balance update amount
- balance update address
Filters
- balance update address is 0xcB03…5296
- currency smart contract is 0xc213…8e8F
- block number is at most 77708375
The query
query MyQuery {
EVM(dataset: combined, network: matic) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "0xcB0386bc7a8D473a3F6CB6459b15d8Cfcf9C5296"}}, Block: {Number: {le: "77708375"}}, Currency: {SmartContract: {is: "0xc2132D05D31c914a87C6611C10748AEb04B58e8F"}}}
orderBy: {descendingByField: "balance"}
) {
Currency {
Name
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
BalanceUpdate {
Address
}
}
}
}
Similar queries
- slow query polygon · Polygon · BalanceUpdates
- token holder for polymarket · Polygon · BalanceUpdates
- matic_balans · Polygon · BalanceUpdates
- user-33990 · Polygon · BalanceUpdates
- matic_v2_balance · Polygon · BalanceUpdates