Latest Trades

Returns 24 DEX trades on Ethereum and BNB Chain, where quote currency is 0xbb4c…095c, base currency is 0x8421…bc2b and exchange name is Pancake v2, sorted by time interval hour, highest first: hour, base currency symbol, quote price, trade amount, count, buy amount and sell amount.

By Ahmad · saved 17 May 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 24, desc: "timeInterval.hour"}
      quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
      baseCurrency: {is: "0x84214d5fa020edbf0169a69825a2bbce4753bc2b"}
      exchangeName: {in: ["Pancake v2"]}
    ) {
      timeInterval {
        hour(count: 1)
      }
      currency: baseCurrency {
        symbol
      }
      quotePrice
      volume: tradeAmount(in: USD)
      tradeCount: count
      buyAmountInUsd: buyAmount(in: USD)
      sellAmountInUsd: sellAmount(in: USD)
    }
  }
}

Similar queries