Static Historical Price

Price Pair Historical Lookup

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 23 times · Bitquery API v1

What it returns

Filters

The 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)
    }
  }
}

Variables

{
  "baseAddress": "0xD7B729ef857Aa773f47D37088A1181bB3fbF0099",
  "quoteAddress": "0xe9e7cea3dedca5984780bafc599bd69add087d56",
  "interval": 10
}

Similar queries