verify_evidence_package
Verifies one evidence package record by recomputing its Merkle proof and checking the on-chain anchor on Base; returns a verified verdict for that record only.
Instructions
Ask Dokimo to check one record of an evidence package against the on-chain anchor.
Sends the package to Dokimo's public A2A endpoint, which recomputes the Merkle
proof AND checks the anchored commitment (root + rule version, plus the close
summary for v2) against the anchor on Base. The verdict is Dokimo's answer and
is not signed. package must contain: leaf (str), root (str),
proof_path (list of [sibling_hash, "L"|"R"]), and
rule_version_commitment (str); for a v2 close also summary and
binding; 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. It covers this one record only.
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). For a dokimo-anchor-v2 close (every close anchored after the v2 cutover) also 'summary' (the close summary) and 'binding' (the leaf's evidence binding); without them the package is checked as legacy v1. 'close_id' (str) is optional and echoed back. |