mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-04 04:54:47 +01:00
d5c736fe86
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSON-RPC: `pay` has `description` parameter, will be required if bolt11 only has a hash. Changelog-Deprecated: JSON-RPC: `pay` for a bolt11 which uses a `description_hash`, without setting `description`.
57 lines
912 B
JSON
57 lines
912 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"bolt11"
|
|
],
|
|
"properties": {
|
|
"bolt11": {
|
|
"type": "string"
|
|
},
|
|
"msatoshi": {
|
|
"type": "msat"
|
|
},
|
|
"label": {
|
|
"type": "string"
|
|
},
|
|
"riskfactor": {
|
|
"type": "number"
|
|
},
|
|
"maxfeepercent": {
|
|
"type": "number"
|
|
},
|
|
"retry_for": {
|
|
"type": "u16"
|
|
},
|
|
"maxdelay": {
|
|
"type": "u16"
|
|
},
|
|
"exemptfee": {
|
|
"type": "msat"
|
|
},
|
|
"localofferid": {
|
|
"type": "hex"
|
|
},
|
|
"exclude": {
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "short_channel_id_dir"
|
|
},
|
|
{
|
|
"type": "pubkey"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"maxfee": {
|
|
"type": "msat"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|