Fetch and verify receipt
verify_fetched_receiptFetch and verify a receipt's sealing, split-view, append-authority, and attribution under a trust root you supply, returning the verifier's stages and diagnostics unchanged.
Instructions
Fetch a receipt (as fetch_receipt) and verify it with @forestrie/mcp-verify's core under a trust root you supply as bytes (genesis, keyXy, accumulator, or checkpoints) or under an accumulator read from the chain in this call ({root: 'known-accumulator', chain: {genesis, rpcUrl, logId} or {rpcUrl, univocity, logId, chainId?}}). A genesis fetched in the same call is never the root. The result is the verifier's own: stages, the four questions (sealing, split-view, append-authority, attribution; not_answered_by_this_root is a real answer) and diagnostics, passed through unaltered, plus receipt_fetched_from_operator always and root_read_from_chain when the chain path was taken. Supply payload bytes and the entry id to have attribution answered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grant | No | true to verify a grant receipt (verifyGrantReceipt) instead of a payload receipt | |
| logId | No | UUID (with dashes), or a 16/32-byte hex log id | |
| trust | Yes | Which trust root to verify under: bytes you supply (genesis, keyXy, accumulator, checkpoints), or {root:'known-accumulator', chain:…} to read the accumulator from the chain in this call. Never a genesis fetched in this same call. | |
| baseUrl | No | any SCRAPI base URL; falls back to FORESTRIE_BASE_URL when omitted — never defaulted by the package itself | |
| entryId | No | required for payload verification; optional for a COSE grant, required for a raw grant payload | |
| payload | No | the exact registered payload (payload verification), or the committed grant bytes when grant:true | |
| 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 |
|---|---|---|---|
| ok | No | ||
| root | No | ||
| stage | No | ||
| anchor | No | ||
| reason | No | ||
| stages | No | ||
| courier | No | ||
| problem | No | ||
| supports | Yes | ||
| verifier | No | ||
| questions | No | ||
| provenance | No | ||
| diagnostics | No |