polygon_stats(tx,dau,gas price)

Returns transactions on Ethereum and Polygon, where date since 2022-01-20, sorted by date date: date date, count, gas value and gas price.

By David · saved 26 January 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $dateFormat: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transactions(options: {asc: "date.date"}, date: {since: $from, till: $till}) {
      date: date {
        date(format: $dateFormat)
      }
      txs: count
      dau: count(uniq: senders)
      averageGasCost_usdt: gasValue(calculate: average, in: USDT)
      maxGasPrice: gasPrice(calculate: maximum)
      medianGasPrice: gasPrice(calculate: median)
    }

  }
}

Variables

{"limit":10,"offset":0,"network":"matic","from":"2022-01-20","till":null,"dateFormat":"%Y-%m-%d"}

Similar queries