attest_event
Create ZAP1 attestation events on Zcash. Records lifecycle, governance, or agent actions to the Merkle tree and returns a cryptographic leaf hash for verification.
Instructions
Create a ZAP1 attestation event on Zcash. Writes a typed lifecycle, governance, or agent event to the Merkle tree. Returns leaf hash for verification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_type | Yes | Event type: DEPLOYMENT, CONTRACT_ANCHOR, AGENT_ACTION, GOVERNANCE_PROPOSAL, etc. | |
| wallet_hash | Yes | Wallet hash or agent identifier | |
| serial_number | No | Serial number or version tag | |
| action_type | No | Action type for AGENT_ACTION events | |
| input_hash | No | SHA-256 of action input | |
| output_hash | No | SHA-256 of action output | |
| proposal_id | No | Proposal ID for governance events | |
| api_key | No | ZAP1 API key (or set ZAP1_API_KEY env var) |