Module payment
Expand description
Convenient utilities for paying Lightning invoices.
Enums§
- An error that may occur when making a payment.
- An error that may occur when sending a payment probe.
Functions§
- Pays the given
Bolt11Invoice
, retrying if needed based onRetry
. - Pays the given
Bolt11Invoice
with a custom idempotency key, retrying if needed based onRetry
. - Pays the given zero-value
Bolt11Invoice
using the given amount, retrying if needed based onRetry
. - Pays the given zero-value
Bolt11Invoice
using the given amount and custom idempotency key, retrying if needed based onRetry
. - Sends payment probes over all paths of a route that would be used to pay the given invoice.
- Sends payment probes over all paths of a route that would be used to pay the given zero-value invoice using the given amount.