top 10 holders for a pump fun token

Returns 10 balance updates on Solana, where currency mint address is 9huA4n…T6KU, sorted by total holding, highest first: currency name, currency symbol, account address and sum of balance update amount.

By Akshat · saved 26 June 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    BalanceUpdates(
      limit:{count:10}
      orderBy:{descendingByField:"TotalHolding"}
      where: {BalanceUpdate: {Currency: {MintAddress: {is: "9huA4nRsynj3pwizLJHbAc9J5oCt9Gw95ymuvQTwT6KU"}}}}
    ) {
      BalanceUpdate {
        Currency{
          Name
          Symbol
        }
        Account {
          Address 
        }
      }
      TotalHolding: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
}

Similar queries