Balance history of an address till a time

Returns one balance update on Ethereum, where balance update address is 0x21a3…5549, currency smart contract is 0xdac1…1ec7 and block time till 2023-09-24: currency name, sum of balance update amount and balance update address.

By gaurav · saved 26 September 2023 · run 15 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      limit: {count: 1}
      where: {BalanceUpdate: {Address: {is: "0x21a31ee1afc51d94c2efccaa2092ad1028285549"}}, Currency: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}, Block: {Time: {till: "2023-09-24T00:16:59Z"}}}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount)
      BalanceUpdate {
        Address
      }
    }
  }
}

Similar queries