lightning-txsend -- Command to sign and send transaction from
    txprepare
The txsend RPC command signs and broadcasts a transaction
    created by txprepare RPC command.
  - •
- txid (txid): The transaction id of the transaction created by
      txprepare rpc command.
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.
  - •
- -1: Catchall nonspecific error.
lightning-txprepare(7), lightning-txdiscard(7)
Example 1:
Request:
$ lightning-cli txsend "txidtxprep000200002000020000200002000020000200002000020000200002"
{
  "id": "example:txsend#1",
  "method": "txsend",
  "params": [
    "txidtxprep000200002000020000200002000020000200002000020000200002"
  ]
}
Response:
{
  "tx": "02000000000101txsend00011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011",
  "txid": "txidtxprep000200002000020000200002000020000200002000020000200002",
  "psbt": "cHNidP8BAgQCAAAAAQMEbwAAAAEEAQpsbt011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100011100"
}
Example 2:
Request:
$ lightning-cli txsend -k "txid"="txidtxprep000400004000040000400004000040000400004000040000400004"
{
  "id": "example:txsend#2",
  "method": "txsend",
  "params": {
    "txid": "txidtxprep000400004000040000400004000040000400004000040000400004"
  }
}
Response:
{
  "tx": "02000000000101txsend00022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022000220002200022",
  "txid": "txidtxprep000400004000040000400004000040000400004000040000400004",
  "psbt": "cHNidP8BAgQCAAAAAQMEbwAAAAEEAQpsbt022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200022200"
}