Top 10 holders of multiple tokens on Base
Returns balance updates on Base, where currency smart contract is 0x3B86…931f, 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 0x3B86…931f
The query
query MyQuery($network: evm_network, $tokens: [String!]) {
EVM(network: $network, aggregates: yes, dataset: combined) {
BalanceUpdates(
orderBy: {descendingByField: "balance"}
limitBy: {count: 10 by:Currency_SmartContract}
where: {Currency: {SmartContract: {in: $tokens}}}
) {
BalanceUpdate {
Address
}
Currency{
Name
}
balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
}
}
}
Variables
{
"network": "base",
"tokens": [
"0x3B86Ad95859b6AB773f55f8d94B4b9d443EE931f"
]
}
Similar queries
- base token holder · Base · BalanceUpdates
- base real time token holder · Base · BalanceUpdates
- balances of wallets test2 base · Base · BalanceUpdates
- search address v2 · Ethereum · BalanceUpdates
- native/stable balances of wallets · Base · BalanceUpdates