all tokens balance of an address

Returns balance updates on Solana, where token owner is 3Zve6k…eV4w, sorted by balance update post balance maximum, highest first: currency name, currency symbol, currency mint address and post balance.

By Akshat · saved 18 November 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    BalanceUpdates(
      orderBy:{descendingByField:"BalanceUpdate_PostBalance_maximum"}
      where: {BalanceUpdate: {Account: {Token: {Owner: {is: "3Zve6kimAuNbigx8AT4XiL6yNyWNQAhSSschYj12eV4w"}}}}}
    ) {
      BalanceUpdate {
        Currency{
          Name
          Symbol
          MintAddress
        }
        PostBalance(maximum:Block_Slot selectWhere:{gt:"0"})
      }
    }
  }
}

Similar queries