mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +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.
23 lines
631 B
JSON
23 lines
631 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [ "channel_id", "psbt", "commitments_secured" ],
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "hex",
|
|
"description": "the channel id of the channel",
|
|
"maxLength": 64,
|
|
"minLength": 64
|
|
},
|
|
"psbt": {
|
|
"type": "string",
|
|
"description": "the PSBT of the funding transaction"
|
|
},
|
|
"commitments_secured": {
|
|
"type": "boolean",
|
|
"description": "whether the *psbt* is complete (if true, sign *psbt* and call `openchannel_signed` to complete the channel open)"
|
|
}
|
|
}
|
|
}
|