Function FlashAPI.requestCloseSig
Requests a closing signature for an established channel and a
previously agreed-upon closeChannel
request with the given
sequence ID.
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 open channel ID |
seq_id | the agreed-upon sequence ID in a previous
closeChannel call |
Returns
the signature for the closing transaction, or an error code with an optional error message.