ecchocoin graph

Count of trades by exchanges, top 100 by count

Returns DEX trades on Ethereum and BNB Chain, where quote currency is 0x5609…2054, base currency is 0xe9e7…7d56 and exchange name is Pancake v2, sorted by time interval day: day, quote price, minimum of block and maximum of block.

By TusharBhatia · saved 27 November 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query  AllProducts{
  ethereum(network: bsc) {
    dexTrades(
      options: {asc: "timeInterval.day"}
      quoteCurrency: {is: "0x5609366c91d87e6aad1f880999825da4875c2054"}
      baseCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      exchangeName: {is: "Pancake v2"}
    ) {
      timeInterval {
        day
      }
      high: quotePrice(calculate: maximum)
      low: quotePrice(calculate: minimum)
      open: minimum(of: block, get: quote_price)
      close: maximum(of: block, get: quote_price)
    }
  }
}

Similar queries