@orangecheck/stamp-ots / AnchorVerifierConfig
Interface: AnchorVerifierConfig
Defined in: anchor.ts:33
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-headersource"></a> headerSource | BlockHeaderSource | Source of Bitcoin block headers. Can be a full node, SPV, or a pre-computed headers snapshot. | anchor.ts:47 |
<a id="property-walkproof"></a> walkProof | (input: { digest: Uint8Array; proofBytes: Uint8Array; }) => Promise< | { blockHeight: number; merkleRoot: Uint8Array; } | null> | Parse the proof bytes and return the Merkle root the proof walks to, plus the declared block height. Returns null if parsing failed or the proof isn't anchored. | anchor.ts:39 |