rohan_verify_commitment
Cryptographically audit a plaintext payload or portable audit bundle offline in local memory, checking SHA-256 digests, Ed25519 signatures, and intentHash binding without gas.
Instructions
Cryptographically audits a plaintext payload and/or a portable RohanAuditBundle offline in local memory (0 gas). Provide either expectedDigest with payload, or auditBundle (with optional payload for plaintext verification). Never pass the outer timestamp-salted intentHash as expectedDigest.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rohan_verify_commitment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | No | Plaintext contract, agreement, or confidential data object to verify. | |
| auditBundle | No | Optional portable RohanAuditBundle (schema: rohan-audit-bundle/v1) returned by rohan_execute_handshake. Verifies Ed25519 signature, intentHash binding, and payloadDigest. | |
| expectedDigest | No | Expected inner SHA-256 digest of the canonicalized payload (from actionSummary digest: sha256:<hash> or auditBundle.payloadDigest). Accepts raw hex, 0x, or sha256: prefixes. |