wrong top holders list
Returns 10 balance updates on BNB Chain, where currency smart contract is 0xf8a0…51bd, sorted by balance, highest first: balance update address, sum of balance update amount, currency name, currency symbol and smart contract.
What it returns
- balance update address
- sum of balance update amount
- currency name
- currency symbol
- smart contract
Filters
- currency smart contract is 0xf8a0…51bd
The query
query TopEVMHolders($token: String!, $limit: Int!) {
EVM(network: bsc, aggregates: yes, dataset: combined) {
BalanceUpdates(
orderBy: { descendingByField: "balance" }
limit: { count: $limit }
where: { Currency: { SmartContract: { is: $token } } }
) {
BalanceUpdate {
Address
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: { gt: "0" })
Currency {
Name
Symbol
SmartContract
}
}
}
}
Variables
{
"token":"0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd",
"limit":10
}
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
- search address v2 · Ethereum · BalanceUpdates