2020-08-16 15:06:01 +02:00
lightning-signpsbt -- Command to sign a wallet's inputs on a provided bitcoin transaction (PSBT).
2020-08-26 14:43:56 +02:00
=================================================================================================
2020-08-16 15:06:01 +02:00
SYNOPSIS
--------
2020-08-21 15:59:24 +02:00
**signpsbt** *psbt*
2020-08-16 15:06:01 +02:00
DESCRIPTION
-----------
The **signpsbt** is a low-level RPC command which sign a PSBT.
2020-08-31 14:42:28 +02:00
- *psbt*: A string that rappresent the psbt value.
2020-08-16 15:06:01 +02:00
EXAMPLE JSON REQUEST
2020-08-26 14:43:56 +02:00
--------------------
2020-08-16 15:06:01 +02:00
```json
{
"id": 82,
"method": "signpsbt",
"params": {
"psbt": "some_psbt"
}
}
```
RETURN VALUE
------------
2020-08-21 15:59:24 +02:00
On success, a object will be return with a string.
2020-08-16 15:06:01 +02:00
2020-08-31 14:42:28 +02:00
- *psbt*: A string that rappresent the psbt value.
2020-08-16 15:06:01 +02:00
On failure, one of the following error codes may be returned:
2020-08-31 14:42:28 +02:00
- -32602: Error in given parameters or there aren't wallet's inputs to sign.
2020-08-16 15:06:01 +02:00
EXAMPLE JSON RESPONSE
2020-08-26 14:43:56 +02:00
---------------------
2020-08-16 15:06:01 +02:00
```json
{
"psbt": "some_psbt"
}
```
AUTHOR
------
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.
SEE ALSO
--------
lightning-fundpsbt(7), lightning-sendpsbt(7)
RESOURCES
---------
Main web site: < https: / / github . com / ElementsProject / lightning >