core-lightning/doc/schemas/keysend.request.json

72 lines
1.3 KiB
JSON
Raw Normal View History

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"destination",
"msatoshi"
],
"properties": {
"destination": {
"type": "pubkey"
},
"msatoshi": {
"type": "msat"
},
"label": {
"type": "string"
},
"maxfeepercent": {
"type": "number"
},
"retry_for": {
"type": "u32"
},
"maxdelay": {
"type": "u32"
},
"exemptfee": {
"type": "msat"
},
"routehints": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"scid",
"feebase",
"feeprop",
"expirydelta"
],
"properties": {
"id": {
"type": "pubkey"
},
"scid": {
"type": "short_channel_id"
},
"feebase": {
"type": "msat"
},
"feeprop": {
"type": "u32"
},
"expirydelta": {
"type": "u16"
}
}
}
}
},
"extratlvs": {
"type": "object",
"additionalProperties": true,
"required": []
}
}
}