Function FlashAPI.requestSettleSig
Requests a settlement signature for an established channel and a
previously agreed-upon balance update's sequence ID as set through
the proposePayment
/ proposeUpdate
call.
Parameters
Name | Description |
---|---|
sender_pk | the sender public key as managed by the counter-party. (note: will be used for signature authentication later) |
recv_pk | the receiving public key. If the receiving flash node does not manage this key it will return an error. |
chan_id | A previously seen pending channel ID provided
by the funder node through the call to openChannel() . |
seq_id | the agreed-upon balance update's sequence ID as
set in the proposePayment / proposeUpdate call. |
Returns
the signature for the settlement transaction, or an error code with an optional error message.