Method Signature
Parameters
string
required
The Spark address of the receiver
number
required
The amount in satoshis to lock
string
The preimage (32 bytes hex) for the HTLC hash lock. If not provided, a deterministic preimage is generated using
getHTLCPreimage().Date
required
The expiry time for the HTLC (must be in the future)
Returns
Transfer
required
The HTLC transfer details