BSC: Weekly Txs, Senders, GasCost

Returns the latest transactions on Ethereum and BNB Chain, where date since 2020-09-01: start of interval, gas value, gas price and count.

By howard.pen9 · saved 14 November 2020 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transactions(options: {desc: "date.date"}, date: {since: $from, till: $till}) {
      date {
        date:startOfInterval(unit: week, offset: 4)
      }
      gasValue
      gasValueAvg: gasValue(calculate: average)
      gasPrice
      avgGasPrice: gasPrice(calculate: average)
      medGasPrice: gasPrice(calculate: median)
      maxGasPrice: gasPrice(calculate: maximum)
      Txs: count
      Senders: count(uniq: senders)
    }
  }
}

Variables

{
  "network":"bsc",
  "from":"2020-09-01",
  "till": null
}

Similar queries