core-lightning/doc/schemas/listchannels.request.json
Christian Decker 3c32f7d8f6 json-rpc: Add request stubs for a couple of calls
These are required so we can generate the requests, not just the
responses. We'll add more as we test compatibility with our generation
code.
2022-02-11 16:02:25 +01:00

21 lines
699 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [],
"additionalProperties": false,
"properties": {
"short_channel_id": {
"type": "short_channel_id",
"description": "If short_channel_id is a short channel id, then only known channels with a matching short_channel_id are returned. Otherwise, it must be null."
},
"source": {
"type": "pubkey",
"description": "If source is a node id, then only channels leading from that node id are returned."
},
"destination": {
"type": "pubkey",
"description": "If destination is a node id, then only channels leading to that node id are returned."
}
}
}