2021-06-16 03:10:17 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
2021-07-09 18:45:50 +02:00
|
|
|
"required": [ "channel_id", "psbt", "commitments_secured", "funding_outnum" ],
|
2021-06-16 03:10:17 +02:00
|
|
|
"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)"
|
2021-07-08 23:23:16 +02:00
|
|
|
},
|
|
|
|
"funding_outnum": {
|
|
|
|
"type": "u32",
|
|
|
|
"description": "The index of the funding output in the psbt"
|
2021-07-09 18:45:50 +02:00
|
|
|
},
|
|
|
|
"close_to": {
|
|
|
|
"type": "hex",
|
|
|
|
"description": "scriptPubkey which we have to close to if we mutual close"
|
2021-06-16 03:10:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|