uniswap trades uniq trades

Returns DEX trades on Ethereum, where exchange name is Uniswap, date since 2022-12-26 and date till 2023-01-02, sorted by date date: date date and count.

By gaurav · saved 2 January 2023 · run 6 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $dateFormat: String!, $exchange: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {asc: "date.date"}
      exchangeName: {is: $exchange}
      date: {since: $from, till: $till}
    ) {
      date: date {
        date(format: $dateFormat)
      }
      trades: count
      traders: count(uniq: takers)
      contracts: count(uniq: smart_contracts)
      currencies: count(uniq: buy_currency)
    }
  }
}

Variables

{
  "limit": 15,
  "offset": 0,
  "network": "ethereum",
  "exchange": "Uniswap",
  "from": "2022-12-26",
  "till": "2023-01-02T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries