|
NAMElightning-signpsbt - Command to sign a wallet's inputs on a provided bitcoin transaction (PSBT).SYNOPSISsignpsbt psbt [signonly]DESCRIPTIONsignpsbt is a low-level RPC command which signs a PSBT as defined by BIP-174.
By default, all known inputs are signed, and others ignored: with signonly, only those inputs are signed, and an error is returned if one of them cannot be signed. Note that the command will fail if there are no inputs to sign, or if the inputs to be signed were not previously reserved. EXAMPLE JSON REQUEST{ "id": 82, "method": "signpsbt", "params": { "psbt": "some_psbt" } } RETURN VALUEOn success, an object is returned, containing:
On failure, one of the following error codes may be returned:
EXAMPLE JSON RESPONSE{ "psbt": "some_psbt" } AUTHORVincenzo Palazzo <vincenzo.palazzo@protonmail.com> wrote the initial version of this man page, but many others did the hard work of actually implementing this rpc command.SEE ALSOlightning-fundpsbt(7), lightning-sendpsbt(7)RESOURCESMain web site: https://github.com/ElementsProject/lightning Visit the GSP FreeBSD Man Page Interface. |