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