GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LIGHTNING-SIGNPSBT(7) lightning-signpsbt LIGHTNING-SIGNPSBT(7)

lightning-signpsbt - Command to sign a wallet's inputs on a provided bitcoin transaction (PSBT).

signpsbt psbt [signonly]

signpsbt is a low-level RPC command which signs a PSBT as defined by BIP-174.

psbt: A string that represents the PSBT value.
signonly: An optional array of input numbers to sign.

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.

{
  "id": 82,
  "method": "signpsbt",
  "params": {
    "psbt": "some_psbt"
  }
}

On success, an object is returned, containing:

signed_psbt (string): The fully signed PSBT

On failure, one of the following error codes may be returned:

-32602: Error in given parameters, or there aren't wallet's inputs to sign, or we couldn't sign all of signonly, or inputs are not reserved.

{
    "psbt": "some_psbt"
}

Vincenzo 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.

lightning-fundpsbt(7), lightning-sendpsbt(7)

Main web site: https://github.com/ElementsProject/lightning


Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.