token_price_history_interval_1hr

Returns 10 DEX trades on Ethereum and BNB Chain, where base currency is 0x1693…623a, quote currency is 0xbb4C…095c and time since 2024-02-27, sorted by time interval hour, highest first: hour, base currency symbol, base currency name, base currency address, base amount, quote currency symbol, quote currency address and 4 more fields.

By Omkar_BQ · saved 28 February 2024 · run 3 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 10, desc: "timeInterval.hour"}
      time: {since: "2024-02-27T17:00:00Z"}
      baseCurrency: {is: "0x16939ef78684453bfDFb47825F8a5F714f12623a"}
      quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
    ) {
      timeInterval {
        hour(count: 1)
      }
      baseCurrency {
        symbol
        name
        address
      }
      baseAmount
      baseAmountInUSD: baseAmount(in: USD)
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      quoteAmountInUSD: quoteAmount(in: USD)
      trades: count
      quotePrice
      averagePriceInUSD: expression(get: "quoteAmountInUSD/baseAmount")
    }
  }
}

Similar queries