DEX Transaction Volume on Polygon

Run this query to obtain DEX transaction volume on Polygon by date. You can edit the query to add the currency and trade amount in USD as well.

By Sangam Bharti · saved 31 October 2023 · run 4 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)
      }
      exchange {
        fullName
      }
      tradeAmount(in: USD)
    }
  }
}

Variables

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

Similar queries