home | help
LIGHTNING-SPLICEOUT(7)					  LIGHTNING-SPLICEOUT(7)

NAME
     spliceout -- Command to splice funds out of a channel

SYNOPSIS
     spliceout channel amount [destination] [force_feerate]

DESCRIPTION
     Command added in v26.04.

     spliceout is the command to move funds into a channel.

     *	channel  (string):  channel  identifier  or channel query. Format is the
	same as is used in dev-splice.
     *	amount (string): Amount in satoshis taken from the  channel.  Format  is
	the same as is used in dev-splice.
     *	destination  (string, optional): Where to send the funds to. Defaults to
	wallet which sends the funds to your onchain wallet. Specify  a  bitcoin
	address to send funds to that address or specify a channel identifier to
	send  funds  to  another  channel. Format is the same as is used in dev-
	splice.
     *	force_feerate (boolean, optional): By default splices will fail  if  the
	fee  provided  looks  too  high. This is to protect against accidentally
	setting your fee higher than intended. Set force_feerate to true to skip
	this saftey check

RETURN VALUE
     On success, an object is returned, containing:

     *	psbt (string, optional): The final psbt
     *	tx (string, optional): The final transaction in hex
     *	txid (string, optional): The txid of the final transaction

AUTHOR
     Dusty @dusty_daemon is mainly responsible.

SEE ALSO
     lightning-dev-splice(7)

RESOURCES
     Main web site: https://github.com/ElementsProject/lightning

USAGE
     spliceout is the command take funds from a channel. It takes  amount  funds
     from the specified channel and puts them somewhere.

     The default destination is your onchain wallet.  By specifying the destina-
     tion  as a bitcoin address, the funds will be sent to the specified address
     By specifying the destination as a channel identifier, the  funds	will  be
     sent to the specified channel. This accomplishes a simple "cross-splice".

     The fee for the transaction will be taken from channel funds.

Core Lightning v26.06.1 				  LIGHTNING-SPLICEOUT(7)

home | help