Files
palladum-lightning/doc/schemas/askrene-remove-layer.json
ShahanaFarooqui ad6a599d51 schemas: remove lightning- prefix from filename
This commit will fail in `make` due to unchanged scripts. They will be added in the next commit.
2025-04-15 15:17:14 +09:30

52 lines
1.1 KiB
JSON

{
"$schema": "../rpc-schema-draft.json",
"type": "object",
"rpc": "askrene-remove-layer",
"title": "Command to destroy a layer",
"added": "v24.11",
"description": [
"The **askrene-remove-layer** RPC command tells askrene to forget a layer."
],
"request": {
"required": [
"layer"
],
"additionalProperties": false,
"properties": {
"layer": {
"type": "string",
"description": [
"The name of the layer to remove."
]
}
}
},
"response": {
"required": [],
"additionalProperties": false,
"properties": {}
},
"see_also": [
"lightning-askrene-create-layer(7)",
"lightning-askrene-listlayers(7)"
],
"author": [
"Rusty Russell <<rusty@rustcorp.com.au>> is mainly responsible."
],
"resources": [
"Main web site: <https://github.com/ElementsProject/lightning>"
],
"examples": [
{
"request": {
"id": "example:askrene-remove-layer#1",
"method": "askrene-remove-layer",
"params": {
"layer": "test_layers"
}
},
"response": {}
}
]
}