mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
2ddecdc95a
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Fixed: doc: Epic documentation rewrite: each now lists complete and accurate JSON output, tested against testsuite.
20 lines
563 B
JSON
20 lines
563 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": [ "psbt", "unsigned_tx", "txid" ],
|
|
"properties": {
|
|
"psbt": {
|
|
"type": "string",
|
|
"description": "the PSBT representing the unsigned transaction"
|
|
},
|
|
"unsigned_tx": {
|
|
"type": "hex",
|
|
"description": "the unsigned transaction"
|
|
},
|
|
"txid": {
|
|
"type": "txid",
|
|
"description": "the transaction id of *unsigned_tx*; you hand this to lightning-txsend(7) or lightning-txdiscard(7), as the inputs of this transaction are reserved."
|
|
}
|
|
}
|
|
}
|