Last Pairs from PancakeSwap

Returns 100 DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4c…095c, quote currency is 0xe9e7…7d56 and exchange name is Pancake or Pancake v2, sorted by quote amount block timestamp time: timestamp time, date date, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address and 5 more fields.

By Sayon · saved 29 July 2021 · run 6 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      exchangeName: {in: ["Pancake", "Pancake v2"]}
      baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
      quoteCurrency: {is: "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
      date: {after: "2021-07-19", before: "2021-07-28"}
      options: {asc: ["quoteAmount", "block.timestamp.time"], limit: 100}
    ) {
      block{
        timestamp{
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      date {
        date(format: "%Y-%m-%d")
      }
      baseCurrency {
        symbol
        address
      }
      baseAmount
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      trades: count
      quotePrice
      buyAmount(in: USD)
      sellAmount(in: USD)
    }
  }
}

Similar queries