blocks

Returns 10 blocks on Ethereum, where date since 2022-07-04 and date till 2022-07-11, sorted by height, highest first: timestamp time, height, transaction count, miner address, annotation, reward and reward currency symbol.

By Aleksey · saved 11 July 2022 · run 5 times · Bitquery API v1

What it returns

Filters

The query


                        query ($network: EthereumNetwork!,
                                $limit: Int!,
                                $offset: Int!
                                $from: ISO8601DateTime,
                                $till: ISO8601DateTime){
                    ethereum(network: $network){
                      blocks(options:{desc: "height", limit: $limit, offset: $offset},
                        date: {since: $from till: $till }
                        ) {


                          timestamp {
                            time (format: "%Y-%m-%d %H:%M:%S")
                          }
                          height

                          transactionCount

                          address: miner {
                            address
                            annotation
                          }

                          reward
                          reward_usd: reward(in: USD)

                          rewardCurrency {
                            symbol
                          }

                      }
                    }
                  }

Variables

{"limit":10,"offset":0,"network":"ethereum","from":"2022-07-04","till":"2022-07-11T23:59:59","dateFormat":"%Y-%m-%d"}

Similar queries