task2_salesEngineer

First-time traders on Uniswap today

Returns 25000 DEX trades on Ethereum, where exchange name is Uniswap and date is 2024-02-22, sorted by daily trade count index: count, address address, annotation, trade amount and expression.

By George · saved 24 February 2024 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $from: ISO8601DateTime, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    dexTrades(
      options: {asc: "dailyTradeCount_index", limit: $limit, offset: $offset}
      date: {is: $from}
      exchangeName: {is: "Uniswap"}
    ) {
      trades: count
      address: address {
        address
        annotation
      }
      tradeAmount(in: USD)
      dailyTrade_count: count(uniq: txs)
      dailyTradeCount_index: expression(get: "trades - dailyTrade_count")
    }
  }
}

Variables

{
  "limit": 25000,
  "offset": 0,
  "network": "ethereum",
  "from": "2024-02-22",
  "dateFormat": "%Y-%m-%d"
}

Similar queries