failing aave token

Returns balance updates and transactions on Ethereum, where balance update address is 0x40be…c71b, transaction from is 0x40be…c71b and block time till 2024-07-09: currency name, smart contract, currency symbol, sum of balance update amount and sum of fee sender fee.

By Abhisar Mittal · saved 9 July 2024 · run 7 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: archive, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x40be06815Fb71b5A314c27eb34fD9ACDB5e5c71b"}}, Block: {Time: {till: "2024-07-09T12:59:59Z"}}}
    ) {
      Currency {
        Name
        SmartContract
        Symbol
      }
      Value: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
  EVM(dataset: archive, network: eth) {
    Transactions(
      where: {Transaction: {From: {is: "0x40be06815Fb71b5A314c27eb34fD9ACDB5e5c71b"}}, Block: {Time: {till: "2024-07-09T12:59:59Z"}}}
    ) {
      TotalFees: sum(of: Fee_SenderFee)
    }
  }
}

Similar queries