For Support 2

Returns balance updates on BNB Chain, where balance update address is POOL-ADRRESS and block time before DATE-AND-TIME, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.

By Roni · saved 21 March 2024 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
EVM(dataset: combined, network: bsc) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "POOL-ADRRESS"}}, Block: {Time: {before: "DATE-AND-TIME"}}}
orderBy: {descendingByField: "balance"}
) {
Currency {
Name
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
BalanceUpdate {
Address
}
}
}
}

Similar queries