Classes
HashedTimeLockedContract
Utility class providing methods to parse Hashed Time Locked Contract transaction data and proofs.
Methods
free()
dataToPlain()
Parses the data of a Hashed Time Locked Contract creation transaction into a plain object.
| Parameter | Type |
|---|---|
| First | Uint8Array |
proofToPlain()
Parses the proof of a Hashed Time Locked Contract settlement transaction into a plain object.
| Parameter | Type |
|---|---|
| First | Uint8Array |
| Returns |
|---|
| PlainTransactionProof |