eth_historicalBalance

Returns 11 balance updates on Ethereum, where balance update address is 0x64d2…5d02, sorted by sum, highest first: chain ID, count, sum of balance update amount, native and currency name.

By George · saved 19 September 2024 · run 6 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!, $limit: Int) {
  EVM(network: $network, dataset: combined) {
    BalanceUpdates(
      orderBy: {descendingByField: "sum"}
      where: {BalanceUpdate: {Address: {is: $address}}, Currency: {Native: true}}
      limit: {count: $limit}
    ) {
      ChainId
      count
      sum(
        of: BalanceUpdate_Amount
        selectWhere: {gt: "0.0"}
        if: {Block: {Number: {le: "19540303"}}}
      )
      Currency {
        Native
        Name
      }
    }
  }
}

Variables

{
  "limit": 11,
  "offset": 0,
  "network": "eth",
  "address": "0x64d25dee7636abed1b85fa62e99ee8f862395d02"
}

Similar queries