ledger

Ledger Entry Canonical

EXACT canonical bytes of this entry's record under a published hash recipe.

Additive (2026-09-17, Toshikatsu / HORIZON SHIELD gap): GET /ledger/{entry} returns a fresh JSONResponse projection; the published content_hash_spec / legacy_record_sha256_spec both require the reader to re-serialize record themselves. This path serves the exact bytes the named recipe hashes, so:

sha256(response.content).hexdigest() == X-Expected-Sha256

with zero re-serialization on the reader side. Does not change /ledger/{entry} behavior.

Default recipe: content_hash_spec when chain.content_hash is present, else legacy_ascii_escaped_v0 when record_sha256 is present. Override with ?recipe=.

get/ledger/{entry}/canonical

Request

  • Base URL
    https://api.babyblueviper.com (the document declares no server; this is the origin it was published from)
  • Auth
    none required

Path parameters

entry, string required

Query parameters

recipe, string nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 69 revisions of this API.