Classes

HashedTimeLockedContract

Utility class providing methods to parse Hashed Time Locked Contract transaction data and proofs.

Methods

free()

free(): `void`

dataToPlain()

`static` dataToPlain(`data`): [PlainTransactionRecipientData](../type-aliases/PlainTransactionRecipientData)

Parses the data of a Hashed Time Locked Contract creation transaction into a plain object.

ParameterType
FirstUint8Array

proofToPlain()

`static` proofToPlain(`proof`): [PlainTransactionProof](../type-aliases/PlainTransactionProof)

Parses the proof of a Hashed Time Locked Contract settlement transaction into a plain object.

ParameterType
FirstUint8Array

On this page