Skip to main content

Module lightning

Module lightning 

Source

Structsยง

CreateReceiveInvoicePayload
Form payload for unified receive invoice/offer generation
DetectPaymentTypePayload
Form payload for payment type detection
ReceiveResults
Results from the unified receive invoice handler
UnifiedSendPayload
Form payload for unified send (BOLT11 or BOLT12)

Enumsยง

PaymentStringType
Detected payment string type for unified send

Functionsยง

channels_fragment_handler
channels_fragment_markup
close_channel_handler
create_bolt11_invoice_handler
create_receive_invoice_handler
detect_payment_type ๐Ÿ”’
Detects the payment type from the payment string prefix
detect_payment_type_handler
Handler to detect payment type and return appropriate form fields
empty_string_as_none ๐Ÿ”’
Helper to deserialize empty strings as None
generate_receive_address_handler
open_channel_handler
pay_bolt11_invoice_handler
pay_unified_handler
Unified handler for paying BOLT11 invoices or BOLT12 offers
payments_fragment_handler
payments_fragment_markup
render
render_qr_with_copy ๐Ÿ”’
Renders a QR code with copyable text for an invoice or offer
send_onchain_handler
transactions_fragment_handler
transactions_fragment_markup
wallet_fragment_handler
wallet_fragment_markup