Skip to content
HALOWERK

Blockchain Data

bitcoin ledger median time admission

Bitcoin median-time check compares a candidate header timestamp to the median of up to eleven preceding header times. Use it when an agent needs checking the strict median-time-past rule.

POST https://kette.halowerk.com/v1/bitcoin-ledger-median-time-admission

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
headerstringYes
prior_timesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "header": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
    },
    "prior_times": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 4294967295
      },
      "maxItems": 11,
      "minItems": 1
    }
  },
  "required": [
    "header",
    "prior_times"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "header": "0100000000000000000000000000000000000000000000000000000000000000000000003ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e5e4adae5494dffff001d1aa4ae18",
  "prior_times": [
    1296688362,
    1296688512,
    1296688572
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’