Latest pairs on Uniswap with over 1 million in trading vol

Returns 100 DEX trades on Ethereum, where exchange name is Uniswap, date since 2023-06-01 and trade amount USD is above 1000000, sorted by started, highest first: sell currency symbol, sell currency address, address address, sell amount, buy currency symbol, buy currency address, buy amount and 4 more fields.

By gaurav · saved 27 July 2023 · run 17 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $exchange: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {desc: "started", limit: $limit, offset: $offset, limitBy: {each: "smartContract.address.address", limit: 1}}
      date: {since: $from, till: $till}
      exchangeName: {is: $exchange}
      tradeAmountUsd: {gt: 1000000}
    ) {
      sellCurrency {
        symbol
        address
      }
      smartContract {
        address {
          address
        }
      }
      sellAmount
      sell_amount_usd: sellAmount(in: USD, calculate: sum)
      buyCurrency {
        symbol
        address
      }
      buyAmount
      buy_amount_usd: buyAmount(in: USD, calculate: sum)
      count
      median_price: price(calculate: median)
      last_price: maximum(of: block, get: price)
      dates: count(uniq: dates)
      started: minimum(of: date)
    }
  }
}

Variables

{
  "limit": 100,
  "offset": 0,
  "network": "ethereum",
  "exchange": "Uniswap",
  "from": "2023-06-01",
  "till": null,
  "dateFormat": "%Y-%m-%d"
}

Similar queries