Files
palladum-lightning/doc/schemas/listforwards.request.json
Rusty Russell f2162bf202 lightningd: add ordering and pagination to listforwards.
Changelog-Added: JSON-RPC: `listforwards` new parameters `index`, `start` and `limit`.
2023-10-28 15:48:26 +10:30

42 lines
731 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [],
"properties": {
"status": {
"type": "string",
"enum": [
"offered",
"settled",
"local_failed",
"failed"
]
},
"in_channel": {
"type": "short_channel_id"
},
"out_channel": {
"type": "short_channel_id"
},
"index": {
"type": "string",
"added": "v23.11",
"enum": [
"created",
"updated"
],
"description": ""
},
"start": {
"type": "u64",
"added": "v23.11",
"description": ""
},
"limit": {
"type": "u32",
"added": "v23.11",
"description": ""
}
}
}