issue_receipt
Mint a verifiable provenance receipt for an autonomous-agent action. Returns a signed (ed25519), content-hashed (SHA-256), server-timestamped receipt that is hash-chained to this agent's prior receipts (tamper-evident audit trail). Pass the raw inputs/outputs (we hash them — raw data is never stored) OR pre-computed sha256 hashes. Use for compliance, audit trails, and dispute resolution of agentic actions. PAID: $0.01 USDC/call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What the agent did, e.g. 'sent_payment' or 'approved_refund' or 'tool_call:search'. | |
| inputs | No | Raw inputs to the action (any JSON). Hashed to a commitment; raw data not stored. | |
| outputs | No | Raw outputs/result of the action (any JSON). Hashed to a commitment; raw data not stored. | |
| agent_id | No | Stable identifier for the acting agent (chains group by this). | |
| metadata | No | Optional small key/value context (model, version, request id, etc.). | |
| inputs_hash | No | Alternatively, a pre-computed sha256 hex (or 'sha256:<hex>') of inputs. | |
| outputs_hash | No | Alternatively, a pre-computed sha256 hex (or 'sha256:<hex>') of outputs. |