ETH-price-history

Returns DEX trades on Ethereum, where quote currency is 0xdAC1…1ec7, base currency is ETH and time since 2024-01-01, sorted by time interval day, highest first: day, base currency symbol, quote currency symbol and quote price.

By Miroshnichenko Vlad · saved 27 June 2024 · run 7 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    dexTrades(
      options: {desc: "timeInterval.day"}
      baseCurrency: {is: "ETH"}
      quoteCurrency: {is: "0xdAC17F958D2ee523a2206206994597C13D831ec7"} # USDT contract address on Ethereum
      time: {since: "2024-01-01T00:00:00"}
    ) {
      timeInterval {
        day
      }
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      median: quotePrice(calculate: median)
    }
  }
}

Similar queries