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

@orangecheck/stamp-ots


@orangecheck/stamp-ots / toStampOts

Function: toStampOts()

function toStampOts(p: OtsProof): StampOts;

Defined in: types.ts:81

Convert an OtsProof (library type) to the StampOts field shape that the envelope carries. The two are isomorphic; this function exists to keep stamp-core's type surface narrow.

Parameters

ParameterType
pOtsProof

Returns

StampOts