Token balances by address

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

By Nadia · saved 11 July 2024 · Bitquery API v2

What it returns

Filters

The query

query TopTraders($address: String) {
  Solana {
    BalanceUpdates(
      orderBy: {descendingByField: "BalanceUpdate_PostBalance_maximum"}
      where: {
          BalanceUpdate: {
            Currency: {
              Native: false
            }
            Account: {
              Token: {
                Owner: {is: $address}
              }
            }
          }
      }
    ) {
			BalanceUpdate {
        Currency {
          Symbol
          Name
          MintAddress
        }
        PostBalance(maximum: Block_Slot)
      }
    }
  }
}

Variables

{
  "address": "HBV9sARNHeCZcLpMZ7jt9hagjBoRPnuGPZPfdE249Sw8"
}

Similar queries