Get Native Balance for multiple Wallet

Returns balance updates on Ethereum, where balance update address is 0xcf1D…35f6 or 0xE034…4FA8, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.

By gaurav · saved 11 June 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {in: ["0xcf1DC766Fc2c62bef0b67A8De666c8e67aCf35f6","0xE03432b3813029Bbb518CF1B554bc6083C844FA8"]}}, Currency: {Native: true}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries