Price_Pepe_All_Time_High

Returns one DEX trade on Ethereum, where quote currency is 0xc02a…6cc2, base currency is 0xbe04…5bd6 and trade amount USD is above 0.1, sorted by quote price, highest first: quote price, expression, block height, timestamp time, base amount, base currency address, base currency symbol and 4 more fields.

By Omkar_BQ · saved 3 November 2023 · run 17 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {desc: ["quotePrice"], limit: 1}
      quoteCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
      baseCurrency: {is: "0xbe042e9d09CB588331Ff911c2B46FD833A3E5bd6"}
      tradeAmountUsd: {gt: 0.1}
    ) {
      quotePrice
      USDPrice: expression(get: "quoteAmountUSD / baseAmount")
      block {
        height
        timestamp {
          time
        }
      }
      baseAmountUSD: baseAmount(in: USD)
      baseAmount
      baseCurrency {
        address
        symbol
      }
      quoteAmountUSD: quoteAmount(in: USD)
      quoteAmount
      quoteCurrency {
        address
        symbol
      }
      transaction {
        hash
      }
    }
  }
}

Similar queries