Top 10 holders of multiple tokens on BSC
Returns 500000 balance updates on Ethereum, where currency smart contract is 0xdac1…1ec7, sorted by balance, highest first: balance update address and sum of balance update amount.
What it returns
- balance update address
- sum of balance update amount
Filters
- currency smart contract is 0xdac1…1ec7
The query
query MyQuery($network: evm_network, $tokens: [String!]) {
EVM(network: $network, aggregates: yes, dataset: combined) {
BalanceUpdates(
orderBy: {descendingByField: "balance"}
limit: {count: 500000}
where: {
Currency: {SmartContract: {in: $tokens}}
}
) {
BalanceUpdate {
Address
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "1000"})
}
}
}
Variables
{
"network": "eth",
"tokens": [
"0xdac17f958d2ee523a2206206994597c13d831ec7"
]
}
Similar queries
- eth balance · Ethereum · BalanceUpdates
- Ethereum balance view · Ethereum · BalanceUpdates
- Balance update API explanation · Ethereum · BalanceUpdates
- MyQuery EVM · BNB Chain · BalanceUpdates
- usdt_holder_balance_update_ · Ethereum · BalanceUpdates