Daily Average Block Time

Returns blocks with timestamps and previous block timestamps. You compute block_time = currentBlock - previousBlock.

By Web3Precious · saved 20 November 2025 · run 1 time · Bitquery API v1

What it returns

The query

query DailyBlockTime($from: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int = 10000, $offset: Int = 0) {
  bitcoin(network: zcash) {
    blocks(
      date: {since: $from, till: $till}
      options: {desc: "height", limit: $limit, offset: $offset}
    ) {
      height
      timestamp {
        time(format: "%Y-%m-%d %H:%M:%S")
      }
    }
  }
}

Similar queries