Function parse_invoice
pub fn parse_invoice(bolt11: &str) -> Result<LNInvoice, InvoiceError>
Expand description
Parse a BOLT11 payment request and return a structure contains the parsed fields.
pub fn parse_invoice(bolt11: &str) -> Result<LNInvoice, InvoiceError>
Parse a BOLT11 payment request and return a structure contains the parsed fields.