PEPEBNB_Price

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x57ba…046e, quote currency is 0xbb4C…095c and time since 2024-03-19, sorted by time interval hour: quote price, expression, hour, address address, base amount, base currency address, base currency symbol and 3 more fields.

By Omkar_BQ · saved 22 March 2024 · run 5 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {asc: "timeInterval.hour"}
      baseCurrency: {is: "0x57ba82981120e85a6dac20f3daf8c660ad3e046e"}
      quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
      time: {since: "2024-03-19T00:00:00Z", till: "2024-03-21T00:00:00Z"}
    ) {
      quotePrice
      USDPrice: expression(get: "quoteAmountUSD / baseAmount")
      timeInterval {
        hour(count: 1)
      }
      pair:smartContract {
        address {
          address
        }
      }
      baseAmountUSD: baseAmount(in: USD)
      baseAmount
      baseCurrency {
        address
        symbol
      }
      quoteAmountUSD: quoteAmount(in: USD)
      quoteAmount
      quoteCurrency {
        address
        symbol
      }
    }
  }
}

Similar queries