Top 10 holders of multiple tokens on ETH
For more info on the endpoint visit - https://docs.bitquery.io/docs/blockchain/Ethereum/token-holders/token-holder-api/ For faster results try using indexed feilds in where and orderBy clause - https://docs.bitquery.io/docs/graphql/indexed-fields-reference/
What it returns
- holder address
- currency name
- balance amount
Filters
- currency smart contract is 0xa393…7fbD or 0xa2E3…E2e1
The query
# For more info on the endpoint visit - https://docs.bitquery.io/docs/blockchain/Ethereum/token-holders/token-holder-api/
# For faster results try using indexed feilds in where and orderBy clause - https://docs.bitquery.io/docs/graphql/indexed-fields-reference/
query MyQuery($network: evm_network, $tokens: [String!]) {
EVM(network: $network, aggregates: yes, dataset: combined) {
Holders(
orderBy: {descendingByField: "balance"}
limitBy: {count: 10 by:Currency_SmartContract}
where: {Currency: {SmartContract: {in: $tokens}}}
) {
Holder {
Address
}
Currency{
Name
}
Balance{
Amount
}
}
}
}
Variables
{
"network": "eth",
"tokens": [
"0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD",
"0xa2E3356610840701BDf5611a53974510Ae27E2e1"
]
}
Similar queries
- token holder count · Ethereum · Holders
- USDT EVM Holders · Ethereum · Holders
- EVM combined holders · Ethereum · Holders
- EVM Holders bat token · Ethereum · Holders
- tokens holders of a token · Ethereum · Holders