check_query

Returns 5 DEX trades on Ethereum, where base currency is 0xc02a…6cc2, quote currency is 0xa0b8…eb48 and exchange name is Uniswap, sorted by time interval second, highest first: second, sell currency symbol, transaction hash, base currency symbol, base currency address, base amount, quote currency symbol and 2 more fields.

By Omkar Acharekar · saved 18 June 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

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

Similar queries