bsc_stats(tx,dau,gas price)

Returns transactions on Ethereum and BNB Chain, where date since 2022-07-22, sorted by date date: date date, count, gas value and gas price.

By David · saved 6 August 2022 · run 8 times · 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)
         								#gasPrice #gas price in Gwei
        								#gasValue #total gas cost , in BNB 
        								averageGasCost_usdt: gasValue(calculate: average in: USDT) # avg gas cost in usdt
        								maxGasPrice: gasPrice(calculate: maximum)
        								medianGasPrice: gasPrice(calculate: median)
                      }
                    }
                  }

Variables

{"limit":10,"offset":0,"network":"bsc","from":"2022-07-22","till":null,"dateFormat":"%Y-%m-%d"}

Similar queries