Balance using archive

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

By gaurav · saved 8 July 2024 · run 10 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries