2019-08-10 02:12:44 +02:00
|
|
|
.TH "LIGHTNING-TXSEND" "7" "" "" "lightning-txsend"
|
|
|
|
.SH NAME
|
|
|
|
lightning-txsend - Command to sign and send transaction from txprepare
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
2019-06-05 09:00:05 +02:00
|
|
|
\fBtxsend\fR \fItxid\fR
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
|
|
|
The \fBtxsend\fR RPC command signs and broadcasts a transaction created by
|
|
|
|
\fBtxprepare\fR\.
|
|
|
|
|
|
|
|
.SH RETURN VALUE
|
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
On success, an object is returned, containing:
|
2019-08-10 02:12:44 +02:00
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
.RS
|
|
|
|
.IP \[bu]
|
|
|
|
\fBpsbt\fR (string): the completed PSBT representing the signed transaction
|
|
|
|
.IP \[bu]
|
|
|
|
\fBtx\fR (hex): the fully signed transaction
|
|
|
|
.IP \[bu]
|
|
|
|
\fBtxid\fR (txid): the transaction id of \fItx\fR
|
2019-08-10 02:12:44 +02:00
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
.RE
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
On failure, an error is reported (from bitcoind), and the inputs from
|
|
|
|
the transaction are unreserved\.
|
|
|
|
|
|
|
|
|
2019-06-05 09:00:05 +02:00
|
|
|
The following error codes may occur:
|
2019-08-10 02:12:44 +02:00
|
|
|
|
2020-06-25 07:10:41 +02:00
|
|
|
.RS
|
2019-08-10 02:12:44 +02:00
|
|
|
.IP \[bu]
|
|
|
|
-1: Catchall nonspecific error\.
|
|
|
|
|
2020-06-25 07:10:41 +02:00
|
|
|
.RE
|
2019-08-10 02:12:44 +02:00
|
|
|
.SH AUTHOR
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
Rusty Russell \fI<rusty@rustcorp.com.au\fR> is mainly responsible\.
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
|
|
|
\fBlightning-txprepare\fR(7), \fBlightning-txdiscard\fR(7)
|
|
|
|
|
|
|
|
.SH RESOURCES
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
2019-08-10 02:12:44 +02:00
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
\" SHA256STAMP:b3d6d0a71241ee5564eb02ecf3bea1b5528dd5868e6607a8acccd1828a80435a
|