Wojak Weth trades on Uniswap

Returns the latest 10 DEX trades on Ethereum, where buy currency is 0x5026…9aab, quote currency is 0xc02a…6cc2 and exchange name is Uniswap: timestamp time, block height, trade index, protocol, full name, address address, annotation and 12 more fields.

By gaurav · saved 28 November 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {desc: ["block.height", "tradeIndex"], limit: 10, offset: 0}
      date: {since: "2023-07-10", till: "2023-07-19"}
      buyCurrency: {is: "0x5026f006b85729a8b14553fae6af249ad16c9aab"}
      quoteCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
      exchangeName: {is: "Uniswap"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
        address {
          address
        }
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      baseAmount
      base_amount_usd: baseAmount(in: USD)
      baseCurrency {
        address
        symbol
      }
      quoteAmount
      quote_amount_usd: quoteAmount(in: USD)
      quotePrice
      priceInUSD: expression(get: "quote_amount_usd/baseAmount")
      quoteCurrency {
        address
        symbol
      }
      maker {
        address
      }
      taker {
        address
      }
      transaction {
        hash
        txFrom {
          address
        }
      }
    }
  }
}

Similar queries