holder cpunt

Returns 20 balance updates on Solana, where currency mint address is So1111…1112, sorted by holdings, highest first: sum of balance update amount, account address, currency symbol, currency name and currency mint address.

By Benjamin Patty · saved 14 July 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query HolderAnalysis($tokenAddress: String!) {
  Solana {
    BalanceUpdates(
      limit: {count: 20}
      orderBy: {descendingByField: "holdings"}
      where: {
        BalanceUpdate: {
          Currency: {MintAddress: {is: $tokenAddress}}
        }
      }
    ) {
      holdings: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Account {
          Address
        }
        Currency {
          Symbol
          Name
          MintAddress
        }
      }
    }
  }
}

Variables

{
  "tokenAddress": "So11111111111111111111111111111111111111112"
}

Similar queries