Static price

Returns DEX trades on Ethereum and BNB Chain, where base currency is 0x7dEb…C983, quote currency is 0xe9e7…7D56 and exchange name is Pancake or Pancake v2: minute and quote price.

By Vorgard · saved 7 March 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query {
  ethereum(network: bsc) {
    dexTrades(
      date: {since: "2022-01-01"}
      baseCurrency: {is: "0x7dEb9906BD1d77B410a56E5C23c36340Bd60C983"}
      quoteCurrency: {is: "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56"}
      exchangeName: {in: ["Pancake", "Pancake v2"]}
    ) {
      timeInterval {
        minute(format: "%FT%TZ", count: 10)
      }
      price: quotePrice(calculate: average)
    }
  }
}

Similar queries