top 20 holders for a solana token

Returns 20 balance updates on Solana, where currency mint address is 4LWEFR…pump, sorted by total holding, highest first: currency name, currency mint address, currency symbol, account address, account owner, token owner and sum of balance update amount.

By Samuel Isirima · saved 20 December 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    BalanceUpdates(
      limit: {count: 20} 
      orderBy: {descendingByField: "TotalHolding"}
      where: {BalanceUpdate: {Currency: {MintAddress: {is: "4LWEFRHMofhU3d4B81MYKpfyxYB7yVzw2muNiLSDpump"}}}}
    ) {
      BalanceUpdate {
        Currency {
          Name
          MintAddress
          Symbol
        }
        Account {
          Address
          Owner
          Token {
            Owner
          }
        }
      }
      TotalHolding: sum(of: BalanceUpdate_Amount)
    }
  }
}

Similar queries