Skip to main content

Module client

Module client 

Source

Structsยง

InfoResponse
ModuleInfo ๐Ÿ”’

Enumsยง

ClientCmd
ModuleSelector
ModuleStatus

Functionsยง

await_invoice ๐Ÿ”’
Wait for invoice receipt, preserving terminal stream outcomes.
combine_notes ๐Ÿ”’
Combine legacy notes only when all inputs belong to the same federation.
create_invoice ๐Ÿ”’
Create a legacy Lightning invoice through the selected gateway.
get_note_summary ๐Ÿ”’
handle_command
Dispatch client commands using the already-open client.
pay_invoice ๐Ÿ”’
Pay a legacy Lightning invoice or LNURL and wait for its final outcome.
reissue_notes ๐Ÿ”’
Reissue legacy mint notes, optionally waiting for the operation stream.
spend_notes ๐Ÿ”’
Select and spend legacy notes, preserving overpay and cancellation policy.
split_notes ๐Ÿ”’
Split legacy notes into individual notes grouped by denomination.
time_to_iso8601 ๐Ÿ”’
withdraw ๐Ÿ”’
Quote and execute a legacy withdrawal, keeping its amount and fees paired.