2021-06-16 03:10:17 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [ "channel_id", "psbt", "commitments_secured", "funding_serial" ],
|
|
|
|
"properties": {
|
|
|
|
"channel_id": {
|
|
|
|
"type": "hex",
|
|
|
|
"description": "the channel id of the channel",
|
|
|
|
"maxLength": 64,
|
|
|
|
"minLength": 64
|
|
|
|
},
|
2021-07-08 23:23:16 +02:00
|
|
|
"psbt": {
|
2021-06-16 03:10:17 +02:00
|
|
|
"type": "string",
|
|
|
|
"description": "the (incomplete) PSBT of the funding transaction"
|
|
|
|
},
|
|
|
|
"commitments_secured": {
|
|
|
|
"type": "boolean",
|
|
|
|
"enum": [ false ],
|
|
|
|
"description": "whether the *psbt* is complete"
|
|
|
|
},
|
|
|
|
"funding_serial": {
|
|
|
|
"type": "u64",
|
|
|
|
"description": "the serial_id of the funding output in the *psbt*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|