Balance of an address at a given time

Returns balance updates on Ethereum, where balance update address is 0x0000…c112 and block time till 2024-06-30: currency name, smart contract, currency symbol and sum of balance update amount.

By Abhisar Mittal · saved 9 July 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: archive, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x0000B8ae03Cc4c78E6Daa7f603C959dCd645c112"}}, Block: {Time: {till: "2024-06-30T23:59:59Z"}}}
    ) {
      Currency {
        Name
        SmartContract
        Symbol
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
}

Similar queries