Top 11 Holder SPL Token - Not working

Returns 11 balance updates on Solana, where currency mint address is 9hJEfG…pump, sorted by balance update balance maximum, highest first: account address, token owner, currency name, currency symbol and post balance.

By Phil · saved 10 February 2025 · run 23 times · Bitquery API v2

What it returns

Filters

The query

query TopHolders($token: String) {
  Solana {
    BalanceUpdates(
      orderBy: {
        descendingByField: "BalanceUpdate_balance_maximum"
      }
      limit: {count: 11}
      where: {
        BalanceUpdate: {
          Currency: {
            MintAddress: {
              is: $token
            }
          }
        }
      }
    ) {
      BalanceUpdate {
        Account {
          Address
          Token {
            Owner
          }
        }
        Currency {
          Name
          Symbol
        }
        balance: PostBalance(maximum: Block_Slot)
      }
    }
  }
}

Variables

{
  "token": "9hJEfGWdQeR7WqtX7iJoD8ftgAw5fUdv9YG8TTMnpump"
}

Similar queries