receipt_issue
Get an ed25519 receipt for an action/tool-call you (or a peer) report. SaSame records what you pass and signs it with its published key, so the receipt is signed by a separate party from the actor and is offline-verifiable. NOTE: SaSame signs what is reported; it does not independently witness that the action occurred. Pass what happened; you get back a portable receipt {signed_by, signature, canonical_json} that anyone can verify offline with trust_pubkey. Use for audit trails, dispute evidence, and recording that a step was reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What happened, e.g. 'called provider X', 'delivered report', 'paid 0.5 USDC to 0x..' | |
| payload | No | Optional structured detail to bind into the receipt (hashed; capped in size/depth) | |
| agent_id | No | Self-claimed id of the acting agent (unverified label) |