Top 10 holders of a token on BSC

i made this for Cake

Returns 50 balance updates on BNB Chain, where currency smart contract is 0x0e09…ce82 and block time since 2025-03-31, sorted by balance, highest first: balance update address and sum of balance update amount.

By HossMorgan · saved 9 September 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery($network: evm_network, $token: String, $time_ago: DateTime) {
  EVM(network: $network, aggregates: yes, dataset: combined) {
    BalanceUpdates(
      orderBy: {descendingByField: "balance"}
      limit: {count: 50}
      where: {Currency: {SmartContract: {is: $token}}, Block: {Time: {since: $time_ago}}}
    ) {
      BalanceUpdate {
        Address
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
}

Variables

{
  "network": "bsc",
  "token": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
  "time_ago": "2025-03-31T15:41:10Z"
}

Similar queries