Top 10 holders of multiple tokens on BSC
Returns 50 balance updates on BNB Chain, where currency smart contract is 0xff7d…6b41 or 0x3f16…44c1, sorted by balance, 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 0xff7d…6b41 or 0x3f16…44c1
The query
query MyQuery($network: evm_network, $tokens: [String!]) {
EVM(network: $network, aggregates: yes, dataset: combined) {
BalanceUpdates(
orderBy: {descendingByField: "balance"}
limit: {count: 50}
where: {Currency: {SmartContract: {in: $tokens}}}
) {
BalanceUpdate {
Address
}
Currency{
Name
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
}
}
}
Variables
{
"network": "bsc",
"tokens": [
"0xff7d6a96ae471bbcd7713af9cb1feeb16cf56b41",
"0x3f160760535eb715d5809a26cf55408a2d9844c1"
]
}
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