balance of a wallet at a block height

Returns balance updates on Ethereum, where balance update address is 0x8e29…C931 and block number is at most 21525890, sorted by balance, highest first: currency name, sum of balance update amount and balance update address.

By gaurav · saved 1 July 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x8e29b04a9A470cA2B95c5CF32C1d54BAe3cCC931"}}, Block: {Number: {le: "21525890"}}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries