Bitcoin retarget calculation derives the next compact target from an epoch’s obs
Bitcoin retarget calculation derives the next compact target from an epoch’s observed time span. Use it when an agent needs checking mainnet difficulty at a 2016-block adjustment.
Answeringour last check, 2026-11-27
3 of 3checks answered this week
915 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://kette.halowerk.com/v1/bitcoin-ledger-retarget-boundary
| Category | Everything else |
|---|---|
| Provider host | kette.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.005 | 915 ms |
| 2026-11-26 | valid payment request | 402 | $0.005 | 875 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 997 ms |
Example input (from the provider)
{
"body": {
"epoch_seconds": 1209600,
"header": "0100000000000000000000000000000000000000000000000000000000000000000000003ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e5e4adae5494dffff001d1aa4ae18"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"epoch_seconds": {
"maximum": 18000000,
"minimum": 1,
"type": "integer"
},
"header": {
"maxLength": 180,
"minLength": 1,
"type": "string"
}
},
"required": [
"header",
"epoch_seconds"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}