SDK reference / Models / Ledgers

LedgerReceipt

Kind: class

Namespace: Egulu.Sdk.Models.Ledgers

A 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.

Properties

NameTypeJSON nameDescription
EntryModels.Ledgers.ReceiptEntry?entryThe fields of an entry a receipt covers.
EntryHashstring?entryHashThe entryHash property
Formatstring?format`egulu-ledger-receipt-v1`.
HeadModels.Ledgers.SignedTreeHead?headA signed tree head: the ledger held exactly `treeSize` entries with this Merkle root when the platform signed it.
InclusionModels.Ledgers.InclusionProof?inclusionWhere the entry's hash sits in a tree: RFC 9162 audit path, hashes in hex.
Ledgerstring?ledgerThe ledger property