Uniswap_USDCWETH_2

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

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

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {desc: "tradeAmount", limitBy: {each: "buyCurrency.address,sellCurrency.address", limit: 1}}
      exchangeName: {is: "Uniswap"}
      time: {since: "2023-05-23T08: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)
      tradeAmount(in: USD)
    }
  }
}

Similar queries