Copy of Get Pairs Data Info from Uniswap

Returns 100 DEX trades on Ethereum, where base currency is 0x7866…B4F4 and exchange name is Uniswap: base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount, count and 4 more fields.

By Jao · saved 13 April 2021 · run 5 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {limit: 100}
      date: {between: ["2021-04-11", "2021-04-12"]}
      exchangeName: {is: "Uniswap"}
      baseCurrency: {is: "0x7866E48C74CbFB8183cd1a929cd9b95a7a5CB4F4"}
    ) {
      baseCurrency {
        symbol
        address
      }
      baseAmount
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      trades: count
      quotePrice
      maximum_price: quotePrice(calculate: maximum)
      minimum_price: quotePrice(calculate: minimum)
      open_price: minimum(of: block, get: quote_price)
      close_price: maximum(of: block, get: quote_price)
      smartContract {
        address {
          address
        }
      }
    }
  }
}

Similar queries