Module input_parser

Structs§

BitcoinAddressData
Wrapped in a [BitcoinAddress], this is the result of parse when given a plain or BIP-21 BTC address.
ExternalInputParser
Configuration for an external input parser
LnUrlPayRequestData
Wrapped in a [LnUrlPay], this is the result of parse when given a LNURL-pay endpoint.
MetadataItem
Key-value pair in the LnUrlPayRequestData, as returned by the LNURL-pay endpoint

Enums§

InputType
Different kinds of inputs supported by parse, including any relevant details extracted from the input
LnUrlRequestData
Generic struct containing the possible LNURL payloads returned when contacting a LNURL endpoint
URISerializationError

Functions§

parse
Parses generic user input, typically pasted from clipboard or scanned from a QR.
parse_with_rest_client