OHLC API

Returns DEX trades on Ethereum, where base currency is 0x33d0…ed9f or 0x6b35…0fe2, quote currency is 0xdac1…1ec7 and date since 2024-02-29: date date, base currency symbol, quote currency symbol and quote price.

By Sascha Mayr · saved 5 March 2024 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: {in: ["0x33d0568941c0c64ff7e0fb4fba0b11bd37deed9f", "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2"]}
      quoteCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
      date: {since: "2024-02-29"}
    ) {
      date {
        date(format: "%Y-%m-%d")
      }
      baseCurrency {
        symbol
      }
      quoteCurrency {
        symbol
      }
      quotePrice
    }
  }
}

Similar queries