bitcoinDifficulty

Returns 10 blocks on Bitcoin, where date since 2022-10-30 and date till 2022-11-06, sorted by height, highest first: timestamp time, height, difficulty, transaction count and block size big int.

By hyeongnam · saved 6 November 2022 · run 5 times · Bitquery API v1

What it returns

Filters

The query


                        query ($network: BitcoinNetwork!,
                                $limit: Int!,
                                $offset: Int!
                                $from: ISO8601DateTime,
                                $till: ISO8601DateTime){
                    bitcoin(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
                          difficulty
                          transactionCount

                          blockSizeBigInt

                      }
                    }
                  }

Variables

{"limit":10,"offset":0,"network":"bitcoin","from":"2022-10-30","till":"2022-11-06T23:59:59","dateFormat":"%Y-%m-%d"}

Similar queries