Balance with Archive dataset

Returns balance updates on Ethereum, where balance update address is 0xa106…b1ba and currency smart contract is 0xe0f6…c56c: currency name and sum of balance update amount.

By lukas · saved 21 October 2024 · run 11 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: archive, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xa10694d8a53c7a987afd9e8c40d98ed002f2b1ba"}}, Currency: {SmartContract: {is: "0xe0f63a424a4439cbe457d80e4f4b51ad25b2c56c"}}}
    ) {
      Currency {
        Name
      }
      balance: sum(of: BalanceUpdate_Amount)
    }
  }
}

Similar queries