mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
b0da807700
This commit will remove parameter descriptions from RPC markdown but we will fix it in next commits by reading these descriptions directly from json. - Removing parameter description text - Adding/removing newlines for cleaner formatting - Adding ERRORS title wherever needed - Updating titles for consistency - Adding resources links
1.3 KiB
1.3 KiB
lightning-addpsbtoutput -- Command to populate PSBT outputs from the wallet
SYNOPSIS
addpsbtoutput satoshi [initialpsbt] [locktime] [destination]
DESCRIPTION
addpsbtoutput
is a low-level RPC command which creates or modifies a PSBT
by adding a single output of amount satoshi.
This is used to receive funds into the on-chain wallet interactively using PSBTs.
EXAMPLE USAGE
Here is a command to make a PSBT with a 100,000 sat output that leads to the on-chain wallet.
lightning-cli addpsbtoutput 100000sat
RETURN VALUE
On success, an object is returned, containing:
- psbt (string): Unsigned PSBT which fulfills the parameters given
- estimated_added_weight (u32): The estimated weight of the added output
- outnum (u32): The 0-based number where the output was placed
AUTHOR
Dusty <<@dusty_daemon>> is mainly responsible.
SEE ALSO
lightning-fundpsbt(7), lightning-utxopsbt(7)
RESOURCES
Main web site: https://github.com/ElementsProject/lightning