Fetch receipt
fetch_receiptRetrieve a registration receipt by receipt URL or log identifiers, returning base64-encoded bytes and the verifier's decoding for independent trust-root verification.
Instructions
GET a receipt: either by receiptUrl (as returned by query_registration) or by {baseUrl, bootstrapLogId, logId, massifHeight, entryId}. Returns the receipt bytes base64-encoded plus the verifier's decoding of them. Provenance: fetched. Supports: none on its own; a receipt is the operator's claim, so verify it under a trust root you hold (or use verify_fetched_receipt).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logId | No | UUID (with dashes), or a 16/32-byte hex log id | |
| baseUrl | No | any SCRAPI base URL; falls back to FORESTRIE_BASE_URL when omitted — never defaulted by the package itself | |
| entryId | No | 32 lowercase hex: idtimestamp_be8 || mmrIndex_be8 | |
| receiptUrl | No | as returned by query_registration | |
| massifHeight | No | ||
| bootstrapLogId | No | UUID (with dashes), or a 16/32-byte hex log id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decoded | No | ||
| problem | No | ||
| receipt | No | ||
| supports | Yes | ||
| provenance | No |