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.
23 lines
489 B
JSON
23 lines
489 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [ "channel_id", "tx", "txid" ],
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "hex",
|
|
"description": "the channel id of the channel",
|
|
"maxLength": 64,
|
|
"minLength": 64
|
|
},
|
|
"tx": {
|
|
"type": "hex",
|
|
"description": "the funding transaction"
|
|
},
|
|
"txid": {
|
|
"type": "txid",
|
|
"description": "The txid of the **tx**"
|
|
}
|
|
}
|
|
}
|