uniswap v2 token list for given timeframe

Returns 1000 DEX trades on Ethereum, where protocol is Uniswap v2, date since 2023-10-27 and date till 2023-11-03: buy currency address and buy currency symbol.

By Nikhil · saved 3 November 2023 · run 12 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $protocol: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {limit: $limit, offset: $offset, limitBy: {each: "buyCurrency.address", limit: 1}}
      date: {since: $from, till: $till}
      protocol: {is: $protocol}
    ) {
      buyCurrency {
        address
        symbol
      }
    }
  }
}

Variables

{
  "limit": 1000,
  "offset": 0,
  "network": "ethereum",
  "protocol": "Uniswap v2",
  "from": "2023-10-27",
  "till": "2023-11-03T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries