solana token holders

Returns 100 balance updates on Solana, where currency mint address is 2zMMhc…uauv and block time after 2024-12-22, sorted by balance update balance maximum, highest first: account owner and post balance.

By Kshitij Mahajan · saved 23 December 2024 · run 45 times · Bitquery API v2

What it returns

Filters

The query

query TopHolders($token: String, $time_ago: DateTime) {
  Solana {
    BalanceUpdates(
      orderBy: {descendingByField: "BalanceUpdate_balance_maximum"}
      limit: {count: 100}
      where: {BalanceUpdate: {Currency: {MintAddress: {is: $token}}}, Block: {Time: {after: $time_ago}}}
    ) {
      BalanceUpdate {
        Account {
          Owner
        }
        balance: PostBalance(maximum: Block_Slot)
      }
    }
  }
}

Variables

{
  "token": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
  "time_ago": "2024-12-22T23:26:38Z"
}

Similar queries