GetTokenBalance

Returns balance updates on Solana, where account owner is 9WzDXw…AWWM or AVzP2G…QK49 and currency mint address is 111111…1111 or EPjFWd…Dt1v: post balance, currency name, currency symbol, currency mint address, metadata address and collection address.

By john7381 · saved 9 May 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    BalanceUpdates(
      where: {BalanceUpdate: {Account: {Owner: 
        {in: ["9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM", "AVzP2GeRmqGphJsMxWoqjpUifPpCret7LqWhD8NWQK49"]}},
        Currency: {MintAddress: {in: ["11111111111111111111111111111111", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]}}}}
      
    ) {
      BalanceUpdate {
        Balance: PostBalance(maximum: Block_Slot)
        Currency {
          Name
          Symbol
          MintAddress
          MetadataAddress
          CollectionAddress
        }
      }
    }
  }
}

Similar queries