is there a way of getting an estimate on the combined routing fees before desciding to pay a bolt11 invoice in LDK? #2440
-
|
Hello, I'm working on a project that is integrating lighting payment into a workout app. is there a way I could implement that? and suggestions or feed back would be appreciated. Regards, Diego |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yes, you could retrieve a Also, while this unfortunately just slipped the upcoming 0.0.116 release, you will be able to set a max total fee when calculating a route in the future, see #2339. |
Beta Was this translation helpful? Give feedback.
Yes, you could retrieve a
Routevia yourRouter'sfind_routeand then callRoute::get_total_fees()before you go ahead and pay to that route viaChannelManager::send_payment_with_route.Also, while this unfortunately just slipped the upcoming 0.0.116 release, you will be able to set a max total fee when calculating a route in the future, see #2339.