sdcreceipt
v4.5.0Verify and settle VSL Settlement Receipts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
verify_receipt
Verify a VSL Settlement Receipt. Runs every check and reports all of them, including the ones that passed, rather than stopping at the first failure. Requires no network and no account: the issuer key document is supplied by the caller. Use this to decide whether a Receipt you were sent is trustworthy before acting on it.
| Parameter | Type | Description |
|---|---|---|
issuer_keys * | object | The issuer's published key document, as JSON. Either the key-set shape with a `keys` array, or a did:web DID document. |
receipt * | object | The Settlement Receipt document to verify. |
chain | array | Optional. Earlier Receipts you hold. When given, previous_hash is followed back to the head and every Receipt on the way runs the full procedure; an empty array is still a chain, with nothing held. Ne… |
governance_receipt | object | Optional. The governance Receipt, if held. |
party_keys | object | array | Optional. A party key document, or an array of them (one per party; links in one chain can have different parties), to verify triggers. A key_id two documents claim is refused. Omitting it skips the t… |