optimised historical balance

Returns balance updates on Ethereum, where balance update address is 0x477b…6b6F and block time till 2025-08-31: smart contract, currency name, currency symbol and sum of balance update amount.

By gaurav · saved 27 November 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query EthereumBalance($time: DateTime, $walletAddress: String) {
  EVM(network: eth, dataset: combined) {
    BalanceUpdates(
      where: {Block: { Time: {till: $time}},
        BalanceUpdate: {Address: {is: $walletAddress}}, Currency: {Native: true}}
    ) {
      Currency{
        SmartContract
        Name
        Symbol
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
}

Variables

{
  "time": "2025-08-31T00:00:00Z",
  "walletAddress": "0x477b8D5eF7C2C42DB84deB555419cd817c336b6F"
}

Similar queries