kite-candles

Returns DEX trades on Ethereum and BNB Chain, where quote currency is 0xbb4C…095c, base currency is 0xf246…75fb and exchange name is Pancake v2: minute, quote price, minimum of block and maximum of block.

By kitecoin · saved 30 January 2022 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      exchangeName: {is: "Pancake v2"}, 
      quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
      baseCurrency: {is: "0xf246aadab91594ec5b474c5cd175a1cd159f75fb"}) {      

      time: timeInterval {
         minute(count: 1)
      }
      high: quotePrice(calculate: maximum)
      low: quotePrice(calculate: minimum)
      open: minimum(of: block get: quote_price)
      close: maximum(of: block get: quote_price)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "address": "0xb2b4d56ec7005b605a0839d07ca5d60bec83b7aa"
}

Similar queries