Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

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

NAME
       lightning-sendpsbt -- Command to	finalize, extract and send a partially
       signed bitcoin transaction (PSBT).

SYNOPSIS
       sendpsbt	psbt [reserve]

DESCRIPTION
       The  sendpsbt  is  a  low-level	RPC command which sends	a fully-signed
       PSBT.

         psbt (string): The fully signed psbt to be sent.
         reserve (u32,	optional): Number of blocks to increase	reservation of
	  any of our inputs by.	The default is 72.

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

         tx (hex): The	raw transaction	which was sent.
         txid (txid): The txid	of the tx.

ERRORS
       On failure, one of the following	error codes may	be returned:

         -32602: Error	in given parameters or some error happened during  the
	  command process.

AUTHOR
       Vincenzo	 Palazzo <<vincenzo.palazzo@protonmail.com>> wrote the initial
       version of this man page, but many others did the hard work of actually
       implementing this rpc command.

SEE ALSO
       lightning-fundpsbt(7),  lightning-signpsbt(7),	lightning-listtransac-
       tions(7)

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

EXAMPLES
       Example 1:

       Request:

       $ lightning-cli sendpsbt	-k "psbt"="cHNidP8BAgQCAAAAAQMEbwAAAAEEAQpsbt711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000"

       {
	 "id": "example:sendpsbt#1",
	 "method": "sendpsbt",
	 "params": {
	   "psbt": "cHNidP8BAgQCAAAAAQMEbwAAAAEEAQpsbt711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000711000"
	 }
       }

       Response:

       {
	 "tx": "02000000000155multiw61000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000610006100061000",
	 "txid": "txid6100061000610006100061000610006100061000610006100061000"
       }

Core Lightning v25.02					 LIGHTNING-SENDPSBT(7)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=lightning-sendpsbt&sektion=7&manpath=FreeBSD+Ports+14.3.quarterly>

home | help