Dex daily pair

Returns 100 DEX trades on Ethereum, where date is 2021-11-12, sorted by time interval day: day, protocol, exchange name, base currency symbol, base currency address, quote currency symbol, quote currency address and 5 more fields.

By Nick · saved 23 November 2021 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int, $exchangeName: String, $date: ISO8601DateTime!) {
  ethereum(network: $network) {
    dexTrades(options: {limit: $limit, asc: "timeInterval.day"}, date: {is: $date}) {
      timeInterval {
        day(count: 1)
      }
      protocol
      exchange(exchangeName: {is: $exchangeName}) {
        name
      }
      baseCurrency {
        symbol
        address
      }
      quoteCurrency {
        symbol
        address
      }
      baseAmount
      quoteAmount
      tradeAmount(in: USD)
      trades: count
      side
    }
  }
}

Variables

{
  "limit": 100,
  "network": "ethereum",
  "exchangeName":"Uniswap",
  "date": "2021-11-12",
  "dateFormat": "%Y-%m"
}

Similar queries