Get Top 10 Token Holders
Returns 10 balance updates on Ethereum, where currency smart contract is 0x2358…a68b, sorted by balance, highest first: balance update address, sum of balance update amount, currency symbol and currency name.
What it returns
- balance update address
- sum of balance update amount
- currency symbol
- currency name
Filters
- currency smart contract is 0x2358…a68b
The query
query MyQuery($tokenCA: String!) {
EVM(dataset: combined, network: eth) {
BalanceUpdates(
limit: {count: 10}
orderBy: {descendingByField: "Balance"}
where: {Currency: {SmartContract: {is: $tokenCA}}}
) {
BalanceUpdate {
Address
}
Balance: sum(
of: BalanceUpdate_Amount
selectWhere: { gt: "0" }
)
Currency {
Symbol
Name
}
}
}
}
Variables
{
"tokenCA": "0x23581767a106ae21c074b2276D25e5C3e136a68b"
}
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