CheckBalanceWallet quangmv

Returns balance updates on Solana, where currency mint address is 111111…1111 or So1111…1112 and account owner is AHSpaC…oayq, sorted by balance update holding maximum, highest first: currency name, currency symbol, account owner and post balance.

By GalvinJonathan58@gmail.com · saved 25 May 2025 · Bitquery API v2

What it returns

Filters

The query

query Check_Balance_Wallets ($owner :[String!]! ) {
  Solana {
    BalanceUpdates(
      orderBy: {descendingByField: "BalanceUpdate_Holding_maximum"}
      where: {BalanceUpdate: 
        {Currency: {MintAddress: {in: ["11111111111111111111111111111111", "So11111111111111111111111111111111111111112"]}}, 
        Account: {Owner: {in: $owner}}}, Transaction: {Result: {Success: true}}}
    ) {
      BalanceUpdate {
        Currency {
          Name
          Symbol
        }
        Account {
          Owner
        }
        Holding: PostBalance(maximum: Block_Slot)
      }
    }
  }
}

Variables

{"owner":["AHSpaCURNGpBwZEuK3PDJHFLpg9Evr7TbXaKdFEgoayq"]}

Similar queries