live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/stamp-ots


@orangecheck/stamp-ots / AnchorVerificationInput

Interface: AnchorVerificationInput

Defined in: types.ts:45

Properties

PropertyTypeDescriptionDefined in
<a id="property-blockhash"></a> blockHashstringDeclared block hash (hex) from the envelope.types.ts:53
<a id="property-blockheight"></a> blockHeightnumberDeclared block height from the envelope.types.ts:51
<a id="property-digest"></a> digestUint8Array32-byte digest that the proof commits to.types.ts:49
<a id="property-headersource"></a> headerSource?BlockHeaderSourceOptional 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> proofBytesUint8ArrayRaw OTS proof bytes (base64-decoded by the caller).types.ts:47