holders with amount of tokens

Returns 50 balance updates on Solana, where currency mint address is 4raJfN…pump and balance update post balance is above 0, sorted by balance update balance maximum, highest first: account owner and post balance.

By Akshat · saved 24 September 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query TopHolders($token: String) {
  Solana { 
    BalanceUpdates(
      orderBy: {descendingByField: "BalanceUpdate_balance_maximum"}
      limit: {count: 50}
      where: {BalanceUpdate: {PostBalance: {gt: "0"}, Currency: {MintAddress: {is: $token}}}}
    ) {
      BalanceUpdate {
        Account {
          Owner
        }
        balance: PostBalance(maximum: Block_Slot)
      }
    }
  }
}

Variables

{
  "token": "4raJfNVS3eh1gfgk7nGporxpkJL6DQsQjqxDF2cHpump"
}

Similar queries