Decode a receipt to JSON
decode_receiptRender a COSE receipt's CBOR as JSON—headers, named labels, payload, signature, and inclusion proof. Does not verify validity.
Instructions
Render a COSE receipt's CBOR as JSON — headers, named labels, payload, signature and inclusion proof. NO VERIFICATION is performed: a receipt that decodes cleanly may still be invalid. Mirrors forestrie decode-receipt --json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | the COSE receipt to render |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| payload | Yes | ||
| inclusion | Yes | ||
| protected | Yes | ||
| signature | Yes | ||
| byteLength | Yes | ||
| unprotected | Yes |