verify_evidence_package
Validate a Dokimo evidence package against the live on-chain anchor by recomputing the Merkle proof and checking the compound commitment on Base; returns a verdict confirming proof integrity and on-chain anchoring.
Instructions
Fully verify a Dokimo evidence package against the LIVE on-chain anchor.
Sends the package to Dokimo's public A2A endpoint, which recomputes the Merkle
proof AND checks the compound commitment (root + rule version) against the
anchor on Base. package must contain: leaf (str), root (str),
proof_path (list of [sibling_hash, "L"|"R"]), and
rule_version_commitment (str); close_id is optional/echoed.
Returns the verdict: {verified, checks:{recompute, onchain_anchor, rule_version_bound}, ...}. verified is true only if the proof recomputes
AND the commitment is anchored on-chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The Dokimo evidence package to verify. Required keys: 'leaf' (str), 'root' (str), 'proof_path' (list of [sibling_hash, "L"|"R"]), and 'rule_version_commitment' (str). 'close_id' (str) is optional and echoed back. |