Moonbeam latest blocks

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

By gaurav · saved 23 August 2022 · run 3 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": "moonbeam",
  "from": "2022-08-16",
  "till": "2022-08-23T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries