Balance address till a time

Balance history of an address till a time

Returns balance updates on Ethereum, where balance update address is 0x6496…74dc, currency smart contract is 0xdAd3…77Ba and block time till 2022-11-29: currency name, sum of balance update amount and balance update address.

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

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x64961Ffd0d84b2355eC2B5d35B0d8D8825A774dc"}}, Currency: {SmartContract: {is: "0xdAd33e12e61dC2f2692F2c12e6303B5Ade7277Ba"}}, Block: {Time: {till: "2022-11-29T22:16:59Z"}}}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount)
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries