lightning-txsend – Command to sign and send transaction from txprepare¶
The txsend RPC command signs and broadcasts a transaction created by txprepare.
On success, an object is returned, containing:
- psbt (string): the completed PSBT representing the signed transaction
- tx (hex): the fully signed transaction
- txid (txid): the transaction id of tx
On failure, an error is reported (from bitcoind), and the inputs from the transaction are unreserved.
The following error codes may occur:
- -1: Catchall nonspecific error.
Main web site: https://github.com/ElementsProject/lightning