dcrlncli closechannel - Close an existing channel.
dcrlncli closechannel [command options] funding_txid [output_index]
Close an existing channel. The channel can be closed either cooperatively,
A unilateral channel closure means that the latest commitment transaction will be broadcast to the network. As a result, any settled funds will be time locked for a few blocks before they can be spent.
In the case of a cooperative closure, One can manually set the fee to
be used for the closing transaction via either the
--atoms_per_byte arguments. This will be the starting value used during
fee negotiation. This is optional.
To view which
output_indexes can be used for a channel close,
channel_point values within the listchannels command output.
The format for a
||The txid of the channel’s funding transaction|
||The output index for the funding output of the funding transaction (default: 0)|
||Attempt an uncooperative closure|
||Block until the channel is closed|
||(Optional) The number of blocks that the transaction should confirm in, will be used for fee estimation (default: 0)|
||(Optional) A manual fee expressed in atom/byte that should be used when crafting the transaction (default: 0)|