total fees paid by an address

Returns DEX trades on Ethereum, where transaction from is 0x6760…edc6, block time since 2025-04-01 and block time till 2025-04-29: sum of fee sender fee and sum of fee sender fee in USD.

By gaurav · saved 29 April 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {TransactionStatus: {Success: true}, Transaction: {From: {is: "0x6760E6B05f205af591487A49BC047567c541edc6"}}, Block: {Time: {since: "2025-04-01T00:00:00Z", till: "2025-04-29T00:00:00Z"}}}
    ) {
      TotalFeeInETH: sum(of: Fee_SenderFee)
      TotalFeeInUSD: sum(of: Fee_SenderFeeInUSD)
    }
  }
}

Similar queries