mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
Changelog-Added: JSON-RPC: `listinvoices` has `limit` parameter for listing control. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
51 lines
915 B
JSON
51 lines
915 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"properties": {
|
|
"label": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"description": ""
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"description": ""
|
|
}
|
|
]
|
|
},
|
|
"invstring": {
|
|
"type": "string",
|
|
"description": ""
|
|
},
|
|
"payment_hash": {
|
|
"type": "hex",
|
|
"description": ""
|
|
},
|
|
"offer_id": {
|
|
"type": "string",
|
|
"description": ""
|
|
},
|
|
"index": {
|
|
"type": "string",
|
|
"added": "v23.08",
|
|
"enum": [
|
|
"created",
|
|
"updated"
|
|
],
|
|
"description": ""
|
|
},
|
|
"start": {
|
|
"type": "u64",
|
|
"added": "v23.08",
|
|
"description": ""
|
|
},
|
|
"limit": {
|
|
"type": "u32",
|
|
"added": "v23.08",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|