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
| Name | Type | JSON name | Description |
|---|---|---|---|
Entry | Models.Ledgers.ReceiptEntry? | entry | The fields of an entry a receipt covers. |
EntryHash | string? | entryHash | The entryHash property |
Format | string? | format | `egulu-ledger-receipt-v1`. |
Head | Models.Ledgers.SignedTreeHead? | head | A signed tree head: the ledger held exactly `treeSize` entries with this Merkle root when the platform signed it. |
Inclusion | Models.Ledgers.InclusionProof? | inclusion | Where the entry's hash sits in a tree: RFC 9162 audit path, hashes in hex. |
Ledger | string? | ledger | The ledger property |