Token Prices agains WETH

Returns the latest DEX trades on Ethereum and BNB Chain, where quote currency is 0xbb4C…095c, exchange name is Pancake and date since 2023-05-01: block height, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and quote price.

By gaurav · saved 15 May 2023 · run 7 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limitBy: {each: "baseCurrency.address", limit: 1}, desc: "block.height"}
      date: {since: "2023-05-01"}
      exchangeName: {is: "Pancake"}
      quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
    ) {
      block {
        height
      }
      baseCurrency {
        symbol
        address
      }
      baseAmount
      baseAmountInUSD: baseAmount(in: USD)
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      quoteAmountInUSD: quoteAmount(in: USD)
      quotePrice
    }
  }
}

Similar queries