SDK reference / Models / Ledgers

SignedTreeHead

Kind: class

Namespace: Egulu.Sdk.Models.Ledgers

A signed tree head: the ledger held exactly treeSize entries with this Merkle root when the platform signed it.

Properties

NameTypeJSON nameDescription
KeyIdstring?keyIdThe signing key: `receipts-{location}:v{n}`, signed into the head. Verify against a key you pinned, never one printed here.
Ledgerstring?ledgerprojects/{project}/locations/{location}/ledgers/{ledger}.
LedgerUidstring?ledgerUidThe ledger's UID, signed into the head (format version 2). Absent on a head signed before it was added, which names the ledger by its resource name only.
RootHashstring?rootHashThe Merkle root, 64 hex characters (SHA-256).
Signaturestring?signatureBase64 of ECDSA P-256 over SHA-256, IEEE P1363 (`r || s`), over the framed head (docs/guides/ledgers.md).
Timestring?timeMicrosecond precision, UTC: `2026-11-22T09:30:00.123456Z`.
TreeSizelong?treeSizeThe treeSize property