balance_

Returns 500 balance updates on Solana, where currency mint address is GYKmdf…pump, sorted by balance update balance maximum, highest first: account owner and post balance.

By Omkar_BQ · saved 22 October 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

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

Variables

{"limit":500,"token":"GYKmdfcUmZVrqfcH1g579BGjuzSRijj3LBuwv79rpump"}

Similar queries