get balance of an address

Returns balance updates on Arbitrum, where balance update address is 0xDef1…5EfF, sorted by balance, highest first: currency name and sum of balance update amount.

By Akshat · saved 3 January 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: arbitrum, dataset: combined) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xDef1C0ded9bec7F1a1670819833240f027b25EfF"}}}
      orderBy: {descendingByField: "balance"}
    ){
      Currency{
        Name
      }
      balance: sum(of:BalanceUpdate_Amount selectWhere: {gt: "0"})
    }
  }
}

Similar queries