Method Signature
Parameters
The preimage (32 bytes hex) for the HTLC hash lock. If not provided, a deterministic preimage is generated using
getHTLCPreimage().Create a Hash Time-Locked Contract for atomic swaps.
getHTLCPreimage().