bsc balance at a block height
Returns balance updates on BNB Chain, where balance update address is 0x8356…0007, currency smart contract is 0x7130…ad9c and block number is at most 64565945, 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 0x8356…0007
- currency smart contract is 0x7130…ad9c
- block number is at most 64565945
The query
query MyQuery {
EVM(dataset: combined, network: bsc) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "0x835678a611B28684005a5e2233695fB6cbbB0007"}}, Block: {Number: {le: "64565945"}}, Currency: {SmartContract: {is: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c"}}}
orderBy: {descendingByField: "balance"}
) {
Currency {
Name
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
BalanceUpdate {
Address
}
}
}
}
Similar queries
- MyQuery EVM · BNB Chain · BalanceUpdates
- Top 10 holders of a token on BSC · BNB Chain · BalanceUpdates
- token holder balance update · BNB Chain · BalanceUpdates
- balance updates on a given transaction · BNB Chain · BalanceUpdates
- wrong top holders list · BNB Chain · BalanceUpdates