2024-08-07 11:19:52 +09:30
{
"$schema" : "../rpc-schema-draft.json" ,
"type" : "object" ,
"rpc" : "askrene-unreserve" ,
2024-11-08 13:40:46 +10:30
"title" : "Command for informing askrene that you are no longer trying a path" ,
"added" : "v24.11" ,
2024-08-07 11:19:52 +09:30
"description" : [
"The **askrene-unreserve** RPC command tells askrene that a path attempt has finished: it should only be called after a successful **askrene-reserve** call." ,
"" ,
"Note that additional properties inside the *path* elements are ignored, which is useful when used with the result of *getroutes*."
] ,
"request" : {
"required" : [
"path"
] ,
2024-10-30 09:38:42 +10:30
"additionalProperties" : false ,
2024-08-07 11:19:52 +09:30
"properties" : {
"path" : {
"type" : "array" ,
"items" : {
"type" : "object" ,
2024-10-30 09:38:42 +10:30
"additionalProperties" : false ,
2024-08-07 11:19:52 +09:30
"required" : [
2024-10-04 08:52:53 +09:30
"short_channel_id_dir" ,
2024-08-07 11:19:52 +09:30
"amount_msat"
] ,
"properties" : {
2024-10-04 08:52:53 +09:30
"short_channel_id_dir" : {
"type" : "short_channel_id_dir" ,
2024-08-07 11:19:52 +09:30
"description" : [
2024-10-04 08:52:53 +09:30
"The channel and direction joining these nodes."
2024-08-07 11:19:52 +09:30
]
} ,
"amount_msat" : {
"type" : "msat" ,
"description" : [
"The amount to send into this hop."
]
}
}
}
}
}
} ,
"response" : {
"required" : [ ] ,
2024-10-30 09:38:42 +10:30
"additionalProperties" : false ,
2024-08-07 11:19:52 +09:30
"properties" : { }
} ,
"see_also" : [
"lightning-getroutes(7)" ,
"lightning-askrene-reserve(7)" ,
2024-10-04 08:57:53 +09:30
"lightning-askrene-listreservations(7)"
2024-08-07 11:19:52 +09:30
] ,
"author" : [
"Rusty Russell <<rusty@rustcorp.com.au>> is mainly responsible."
] ,
"resources" : [
"Main web site: <https://github.com/ElementsProject/lightning>"
]
}