all trades on pancakeswap

Returns the latest 10 DEX trades on Ethereum and BNB Chain, where exchange name is Pancake or Pancake v2 and date since 2022-06-19: full name, trade index, block height, iso8601, buy amount, buy currency symbol, sell amount and sell currency symbol.

By Sayon · saved 20 June 2022 · run 22 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      date: {since: "2022-06-19"}
      options: {limit: 10, desc: ["block.height", "tradeIndex"]}
      exchangeName: {in: ["Pancake", "Pancake v2"]}
    ) {
      exchange{
        fullName
      }
      tradeIndex
      block {
        height
        timestamp{
          iso8601
        }
      }
      buyAmount
      buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
      }
      sellAmount
      sellAmountInUsd: sellAmount(in: USD)
      sellCurrency {
        symbol
      }
    }
  }
}

Similar queries