Uniswap1

Returns one DEX trade on Ethereum, where base currency is 0xc02a…6cc2, quote currency is 0xdac1…1ec7 and exchange name is Uniswap, sorted by time interval second, highest first: sell currency symbol, transaction hash, base currency symbol, base amount, quote currency symbol, quote amount and second.

By Kostos · saved 27 June 2023 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {limit: 1, desc: "timeInterval.second"}
      date: {since: "2023-06-27"}
      time: {since: "2023-06-27T00:00:00Z"}
      exchangeName: {is: "Uniswap"}
      baseCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
      quoteCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
    ) {
      sellCurrency {
        symbol
      }
      transaction {
        hash
      }
      baseCurrency {
        symbol
      }
      baseAmount
      quoteCurrency {
        symbol
      }
      quoteAmount
      timeInterval {
        second(count: 1)
      }
    }
  }
}

Similar queries