Module invoice

Structs§

LNInvoice
Wrapper for a BOLT11 LN invoice
LNOffer
LnOfferBlindedPath
RouteHint
A route hint for a LN payment
RouteHintHop
Details of a specific hop in a larger route hint

Enums§

Amount
InvoiceError

Functions§

add_routing_hints
invoice_pubkey
Try to take payee pubkey from the tagged fields, if doesn’t exist recover it from the signature
parse_invoice
Parse a BOLT11 payment request and return a structure contains the parsed fields.
validate_network

Type Aliases§

InvoiceResult