Example of using Acc owner for native and tokens

Returns balance updates on Solana, where account owner is 3hKjo4…uqZJ: account owner, account address, token owner, currency mint address, native and post balance.

By Aleksey · saved 6 August 2024 · Bitquery API v2

What it returns

Filters

The query

query PumpFunRecentTrades($pools: [String!]) {
  Solana {
    BalanceUpdates(
      where: {BalanceUpdate: {Account: {Owner: {in: $pools}}}}
    ) {
      BalanceUpdate {
        Account {
          Owner
          Address
          Token {
            Owner
					}
        }
        Currency {
          MintAddress
          Native
        }
        PostBalance(maximum: Block_Slot)
      }
    }
  }
}

Variables

{
  "pools": [
    "3hKjo4rYXn6W2GZLQXEkndCTmwLqNCeW6MbcVw5XuqZJ"
  ]
}

Similar queries