mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-03 20:44:54 +01:00
6d1897b796
They render the comment as if it's in the list. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
48 lines
1.1 KiB
Markdown
48 lines
1.1 KiB
Markdown
lightning-txsend -- Command to sign and send transaction from txprepare
|
|
=======================================================================
|
|
|
|
SYNOPSIS
|
|
--------
|
|
|
|
**txsend** *txid*
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
|
|
The **txsend** RPC command signs and broadcasts a transaction created by
|
|
**txprepare**.
|
|
|
|
RETURN VALUE
|
|
------------
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
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*
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
|
|
|
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.
|
|
|
|
AUTHOR
|
|
------
|
|
|
|
Rusty Russell <<rusty@rustcorp.com.au>> is mainly responsible.
|
|
|
|
SEE ALSO
|
|
--------
|
|
|
|
lightning-txprepare(7), lightning-txdiscard(7)
|
|
|
|
RESOURCES
|
|
---------
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|
|
[comment]: # ( SHA256STAMP:f97eb686421f6c9636a97100787cb3af3b482e07434d9e2b158ed09f06335f32)
|