On this page
Class: HashedTimeLockedContract
Utility class providing methods to parse Hashed Time Locked Contract transaction data and proofs.
Constructors
new HashedTimeLockedContract()
new HashedTimeLockedContract():
HashedTimeLockedContract
Returns
Methods
free()
free():
void
Returns
void
Defined in
@nimiq/core/types/wasm/web.d.ts:1322
dataToPlain()
static
dataToPlain(data
):PlainTransactionRecipientData
Parses the data of a Hashed Time Locked Contract creation transaction into a plain object.
Parameters
• data: Uint8Array
Returns
Defined in
@nimiq/core/types/wasm/web.d.ts:1328
proofToPlain()
static
proofToPlain(proof
):PlainTransactionProof
Parses the proof of a Hashed Time Locked Contract settlement transaction into a plain object.
Parameters
• proof: Uint8Array
Returns
Defined in
@nimiq/core/types/wasm/web.d.ts:1334