Module bolt11_payment

Expand description

Convenient utilities for paying Lightning invoices.

Functions§

payment_parameters_from_invoice
Builds the necessary parameters to pay or pre-flight probe the given Bolt11Invoice using ChannelManager::send_payment or ChannelManager::send_preflight_probes.
payment_parameters_from_variable_amount_invoice
Builds the necessary parameters to pay or pre-flight probe the given variable-amount (also known as ‘zero-amount’) Bolt11Invoice using ChannelManager::send_payment or ChannelManager::send_preflight_probes.