native/stable balances of wallets

Returns balance updates on Base, where balance update address is 0xAf80…6313 and currency smart contract is 0x8335…2913, sorted by balance, highest first: currency name, currency symbol, smart contract, native, sum of balance update amount and balance update address.

By Akshat · saved 20 January 2026 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery($addressList: [String!], $currencyList: [String!]) {
  EVM(dataset: combined, network: base) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {in: $addressList}}, Currency: {SmartContract: {in: $currencyList}}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
        Symbol
        SmartContract
        Native
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
    }
  }
}

Variables

{
  "addressList": ["0xAf803Df825ce8c694f9Fcb632bbe198b124e6313"],
  "currencyList": ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]
}

Similar queries