Coin_paprika_Query_1

Returns the latest 10000 DEX trades on Ethereum and BNB Chain, where exchange name is Pancake v2, protocol is Uniswap v2 and time since 2023-07-04: buy currency address, buy currency symbol, sell currency address, sell currency symbol, sell amount, buy amount and maximum of block.

By Omkar Acharekar · saved 12 July 2023 · run 11 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 10000, offset: 0, desc: "time"}
      exchangeName: {is: "Pancake v2"}
      protocol: {is: "Uniswap v2"}
      time: {since: "2023-07-04T21:00:00Z", till: "2023-07-05T21:00:00Z"}
    ) {
      buyCurrency {
        address
        symbol
      }
      sellCurrency {
        address
        symbol
      }
      sellAmount
      buyAmount
      closePrice: maximum(of: block, get: price)
      time: maximum(of: block, get: time)
    }
  }
}

Similar queries