Trades in last hour (Pancake)

Returns 100 DEX trades on Ethereum and BNB Chain, where quote currency is 0xbb4C…095c, exchange name is Pancake and time since 2021-07-17, sorted by trade amount, highest first: hour, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 5 more fields.

By Damien · saved 22 June 2021 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: { desc: ["tradeAmount"], limit: 100 }
      time: { since: "2021-07-17T03:06:00Z" , till: "2021-07-17T05:50:05.238940Z" }
      exchangeName: {is: "Pancake"}
      quoteCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
    ) {
      timeInterval {
        hour(count: 1)
      }
      baseCurrency {
        symbol
        address
      }
      baseAmount
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      trades: count
      tradeAmount(in: USD)
      quotePrice
      maximum_price: quotePrice(calculate: maximum)
      minimum_price: quotePrice(calculate: minimum)
      median_price: quotePrice(calculate: median)
      open_price: minimum(of: block, get: quote_price)
      close_price: maximum(of: block, get: quote_price)
    }
  }
}

Similar queries