Balance of an address till a time

Balance history of an address till a time

Returns balance updates on Ethereum, where balance update address is 0x73E5…AE47, currency smart contract is 0x2dA7…B0d6 and block time till 2023-10-05: currency name, sum of balance update amount and balance update address.

By Omkar Acharekar · saved 5 October 2023 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x73E559C7b231AeFa4a5eA9849905D9c62E6AAE47"}}, Currency: {SmartContract: {is: "0x2dA719DB753dFA10a62E140f436E1d67F2ddB0d6"}}, Block: {Time: {till: "2023-10-05T22:16:59Z"}}}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount)
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries