pyUSD - DEX Trading Volume

pyUSD - DEX Trading Volume, Trades count, DEX Trade Contracts and N of DEX Trade Currencies - daily for 90 days time period

By Marin Sojat · saved 26 March 2024 · run 13 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $dateFormat: String!, $token: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      options: {asc: "date.date"}
      date: {since: $from, till: $till}
      baseCurrency: {is: $token}
    ) {
      date: date {
        date(format: $dateFormat)
      }
      trades: countBigInt
      amount: baseAmount
      baseCurrency {
        symbol
      }
      contracts: countBigInt(uniq: smart_contracts)
      currencies: countBigInt(uniq: quote_currency)
    }
  }
}

Variables

{
  "limit": 180,
  "offset": 0,
  "network": "ethereum",
  "token": "0x6c3ea9036406852006290770BEdFcAbA0e23A0e8",
  "from": "2023-12-25",
  "till": "2024-03-22T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries