Verify a mandate draft digest
mandate_draft_verifyRecomputes the SHA-256 digest of a Capital Authority Mandate draft and compares it to the digest embedded in the file — the same replay any counterparty would run. Establishes that the file is internally consistent (unaltered since its own digest was taken), NOT that it was minted, and not that capital.new has ever seen it: both the bytes and the digest come from the file under test. The digest is computed over the mandate_draft object serialized as pretty-printed JSON (2-space indent, key order preserved). Accepts the wrapped {mandate_draft, digest} file or a bare draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | The mandate draft file: the wrapped {mandate_draft, digest} object, a bare draft object, or either as a JSON string. |