XXtop 10 holders percentage
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(network: bsc, dataset: combined) archive full history combined archive + realtime in one result Ar
What it returns
- token balance address
- currency name
- currency symbol
- smart contract
- post balance
- calculate
Filters
- currency smart contract is 0x55d3…7955
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# EVM(network: bsc, dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
query MyQuery {
EVM(network: bsc) {
TransactionBalances(
where: {TokenBalance: { Currency: {SmartContract: {is: "0x55d398326f99059ff775485246999027b3197955"}}}, TransactionStatus: {Success: true}}
limit: {count: 10000}
orderBy: {descendingByField: "holding_percentage"}
) {
TokenBalance {
Address
Currency {
Name
Symbol
SmartContract
}
Balance: PostBalance(maximum:Block_Time)
}
holding_percentage: calculate(expression:"$TokenBalance_Balance / 10000000")
}
}
}
Similar queries
- latest balance across address · BNB Chain · TransactionBalances
- Transaction balances · BNB Chain · TransactionBalances
- Self-Destruct Balance Increase API bsc · BNB Chain · TransactionBalances
- Self-Destruct Balance Decrease API bsc · BNB Chain · TransactionBalances
- get latest balance of an address on BSC using txbalance · BNB Chain · TransactionBalances