failing balance

Returns balance updates and transactions on Ethereum, where balance update address is 0x17a7…844D, transaction from is 0x17a7…844D and block time till 2024-06-30: 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 31 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries