Checking

Returns DEX trades on Ethereum and Polygon, where exchange name is Uniswap v3, time since 2023-05-22 and time till 2023-05-23, sorted by trade amounts, highest first: buy currency address, buy currency symbol, buy currency name, sell currency address, sell currency symbol, sell currency name, sell amount and 4 more fields.

By Omkar Acharekar · saved 29 May 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: matic) {
    dexTrades(
      options: {desc: "tradeAmounts", limitBy: {each: "buyCurrency.address,sellCurrency.address", limit: 1}}
      exchangeName: {is: "Uniswap v3"}
      time: {since: "2023-05-22T10:25:00Z", till: "2023-05-23T10:25:00Z"}
    ) {
      buyCurrency {
        address
        symbol
        name
      }
      sellCurrency {
        address
        symbol
        name
      }
      sellAmount
      buyAmount
      closePrice: maximum(of: block, get: price)
      time: maximum(of: block, get: time)
      tradeAmounts :tradeAmount(in: USD)
      Volume: expression(get: "tradeAmounts/2")
    }
  }
}

Similar queries