StaticamountBIP21 URI (or bare address) to read the amount from
The amount in satoshis, or undefined
StaticcreateCreate a BIP21 URI from the provided parameters.
BIP21 parameters to encode
Encoded BIP21 URI
StaticparseParse a BIP21 URI and return its decoded parameters.
BIP21 URI to parse
Parsed BIP21 URI data
Integer-sats amount encoded in a BIP21 URI (
amount=is BTC), orundefinedwhen absent or the URI is unparseable. Shared by the payment rails, which accept either a bare address or a BIP21 URI.