oc · docs
docs / documentation

@orangecheck/stamp-ots


@orangecheck/stamp-ots / bitcoinAnchors

Function: bitcoinAnchors()

function bitcoinAnchors(ts: OtsTimestamp): {
  blockHeight: number;
  merkleRoot: Uint8Array;
}[];

Defined in: ots.ts:198

Bitcoin attestations, lowest height first. merkleRoot is the message at the attestation, which equals the block header's Merkle root in header byte order.

Parameters

ParameterType
tsOtsTimestamp

Returns

{ blockHeight: number; merkleRoot: Uint8Array; }[]