balance of a wallet

Returns balance updates on Ethereum, where balance update address is 0xa6Cc…93e8, sorted by balance, highest first: currency name, sum of balance update amount, balance update address and balance update amount.

By Nitin Jakhar · saved 11 December 2023 · run 12 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries