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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"event_type": "<event_type>",
"wallet_hash": "<wallet_hash>"
},
"name": "attest_event"
}
}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 |