DEX Trades on Polygon by Protocol (Last 30 days)

Query the number of DEX trades by protocol on Polygon. You can customize the date under "Expression" to query more data as required.

By Sangam Bharti · saved 31 October 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $dateFormat: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(options: {asc: "date.date"}, date: {since: $from, till: $till}) {
      date: date {
        date(format: $dateFormat)
      }
      protocol
      count
    }
  }
}

Variables

{
  "limit": 30,
  "offset": 0,
  "network": "matic",
  "from": "2023-10-01",
  "till": "2023-10-31T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries