@orangecheck/stamp-ots / AnchorVerificationInput
Interface: AnchorVerificationInput
Defined in: types.ts:45
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-blockhash"></a> blockHash | string | Declared block hash (hex) from the envelope. | types.ts:53 |
<a id="property-blockheight"></a> blockHeight | number | Declared block height from the envelope. | types.ts:51 |
<a id="property-digest"></a> digest | Uint8Array | 32-byte digest that the proof commits to. | types.ts:49 |
<a id="property-headersource"></a> headerSource? | BlockHeaderSource | Optional block header source. If provided, the verifier uses this to fetch the header at blockHeight and compare its Merkle root to the one derived from walking the proof. If omitted, the verifier MAY still parse the proof and report structural validity but CANNOT report a bound anchor. | types.ts:62 |
<a id="property-proofbytes"></a> proofBytes | Uint8Array | Raw OTS proof bytes (base64-decoded by the caller). | types.ts:47 |