53 lines
1.1 KiB
Groff
53 lines
1.1 KiB
Groff
.\" -*- mode: troff; coding: utf-8 -*-
|
|
.TH "LIGHTNING-TXSEND" "7" "" "Core Lightning 0.12.1" ""
|
|
.SH
|
|
NAME
|
|
.LP
|
|
lightning-txsend -- Command to sign and send transaction from txprepare
|
|
.SH
|
|
SYNOPSIS
|
|
.LP
|
|
\fBtxsend\fR \fItxid\fR
|
|
.SH
|
|
DESCRIPTION
|
|
.LP
|
|
The \fBtxsend\fR RPC command signs and broadcasts a transaction created by
|
|
\fBtxprepare\fR.
|
|
.SH
|
|
RETURN VALUE
|
|
.LP
|
|
On success, an object is returned, containing:
|
|
.IP "\(bu" 2
|
|
\fBpsbt\fR (string): the completed PSBT representing the signed transaction
|
|
.if n \
|
|
.sp -1
|
|
.if t \
|
|
.sp -0.25v
|
|
.IP "\(bu" 2
|
|
\fBtx\fR (hex): the fully signed transaction
|
|
.if n \
|
|
.sp -1
|
|
.if t \
|
|
.sp -0.25v
|
|
.IP "\(bu" 2
|
|
\fBtxid\fR (txid): the transaction id of \fItx\fR
|
|
.LP
|
|
On failure, an error is reported (from bitcoind), and the inputs from
|
|
the transaction are unreserved.
|
|
.PP
|
|
The following error codes may occur:
|
|
- -1: Catchall nonspecific error.
|
|
.SH
|
|
AUTHOR
|
|
.LP
|
|
Rusty Russell <\fIrusty@rustcorp.com.au\fR> is mainly responsible.
|
|
.SH
|
|
SEE ALSO
|
|
.LP
|
|
lightning-txprepare(7), lightning-txdiscard(7)
|
|
.SH
|
|
RESOURCES
|
|
.LP
|
|
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
|
\" SHA256STAMP:307fe0c91c1d4b7461d56eec6713609a89a38992daa585fa0059f1cd56309676
|