Skip to main content

Module utils

Module utils 

Source

Functions§

extract_description_from_metadata
Extract the “text/plain” description from LNURL metadata JSON.
lnurl_encode
Encode a URL as an LNURL bech32 string (LUD-01).
parse_invoice
Parse a BOLT11 invoice string.
parse_lnurl
Decode an LNURL bech32 string into the underlying URL (LUD-01).