sdsd

Returns the latest DEX trades on Ethereum, where base currency is 0xc0c2…3dbf and date is 2024-01-01: quote amount, quote currency address, quote currency name, transaction hash, base currency name, base amount, block height and quote price.

By Omkar_BQ · saved 1 January 2024 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: {is: "0xc0c293ce456ff0ed870add98a0828dd4d2903dbf"}
      options: {desc: "block.height"}
      date: {is: "2024-01-01"}
    ) {
      quoteAmount
      quoteCurrency {
        address
        name
      }
      transaction {
        hash
      }
      baseCurrency {
        name
      }
      baseAmount
      block {
        height
      }
      quotePrice
    }
  }
}

Similar queries