query eth

Returns the latest DEX trades on Ethereum, where transaction from is 0x76A4…C338 and block date after 2024-09-01: transaction hash, from, to, protected, cost in USD, gas price in USD, gas price and 22 more fields.

By gaurav · saved 1 December 2024 · run 16 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Transaction: {From: {is: "0x76A49662FbA25e32BC1872e2a00d443b5eC0C338"}}, Block: {Date: {after: "2024-09-01"}}}
      orderBy: {descending: Block_Number}
    ) {
      Transaction {
        Hash
        From
        To
        Protected
        CostInUSD
        GasPriceInUSD
        GasPrice
        Gas
        GasTipCap
        GasTipCapInUSD
        Cost
      }
      Trade {
        Sender
        Buy {
          Buyer
          Seller
          Currency {
            Name
            SmartContract
          }
          Amount
          Price
          AmountInUSD
          PriceInUSD
        }
        Sell {
          Currency {
            Name
            SmartContract
          }
          Buyer
          Amount
          Seller
          Price
          AmountInUSD
        }
      }
      Block {
        Number
        Time
      }
    }
  }
}

Similar queries