SDK reference / Models

Models.Ledgers namespace

Types

TypeKindDescription
AppendEntryRequestclass
AppendEntryResponseclass
ConsistencyResponseclass
GetEntryResponseclass
InclusionProofclassWhere the entry's hash sits in a tree: RFC 9162 audit path, hashes in hex.
LedgerclassA tamper-evident ledger.
LedgerEntryclassAn entry as the ledger recorded it.
LedgerKeyDocumentclass
LedgerKeyDocument_keysclass
LedgerKeyDocument_keys_algenum
LedgerReceiptclassA receipt: everything needed to check offline that the ledger recorded this entry, with no call to the platform: the entry's fields, itshash, the inclusion proof and the signed tree head. `egulu ledgers verify-receipt` and the console's verifier check it.
LedgerStateenumLedger states.
ReceiptEntryclassThe fields of an entry a receipt covers.
SignedTreeHeadclassA signed tree head: the ledger held exactly `treeSize` entries with this Merkle root when the platform signed it.
VerifyLedgerResponseclass