Last bitcoin blocks of year 2024

Returns 5 blocks on Bitcoin, where date before 2025-01-01 and date after 2024-12-30, sorted by height, highest first: timestamp time, height, transaction count and block size big int.

By Zilvinas Bartkus · saved 1 July 2025 · Bitquery API v1

What it returns

Filters

The query

query  {
  bitcoin(network: bitcoin) {
    blocks(options: {desc: "height", limit: 5},
      date: {before: "2025-01-01", after: "2024-12-30"}) {
      timestamp {
        time(format: "%Y-%m-%d %H:%M:%S")
      }
      height
      transactionCount
      blockSizeBigInt
    }
  }
}

Similar queries