Uniswap Token Trades

Returns DEX trades on Ethereum, where exchange name is Uniswap, date since 2024-01-21 and date till 2024-01-28, sorted by date date: date date and count.

By Darshan Jain · saved 28 January 2024 · run 3 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": 10,
  "offset": 0,
  "network": "ethereum",
  "exchange": "Uniswap",
  "from": "2024-01-21",
  "till": "2024-01-28T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries