balances of wallets test1 base

Returns balance updates on Base, where balance update address is 0xD7De…638f, 0x4c55…2862 or 2 more 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 Divyasshree · saved 21 January 2026 · Bitquery API v2

What it returns

Filters

The query

query MyQuery($addressList: [String!], $currencyList: [String!]) {
  EVM(dataset: combined, network: base, aggregates: yes) {
    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": ["0xD7DeF291ec916b2E25562711dD3161Ea2317638f","0x4c55BC16F11bb344B481163E4a788b4EA04d2862","0x0000000000000068F116a894984e2DB1123eB395","0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"],
  "currencyList": ["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]
}

Similar queries