balance update aggregate example

Returns balance updates on Solana, where account address is HEL1US…e2TU: account address, account owner, decimals, collection address, currency name, currency key, is mutable and 2 more fields.

By Divyasshree · saved 9 August 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(aggregates: only) {
    BalanceUpdates(
      where: {BalanceUpdate: {Account: {Address: {is: "HEL1USMZKAL2odpNBj2oCjffnFGaYwmbGmyewGv1e2TU"}}}}
    ) {
      BalanceUpdate {
        Account {
          Address
          Owner
        }
        Currency {
          Decimals
          CollectionAddress
          Name
          Key
          IsMutable
          Symbol
        }
      }
      sum(of: BalanceUpdate_AmountInUSD)
    }
  }
}

Similar queries