Crate lwk_boltz

Crate lwk_boltz 

Source

Modules§

blocking
clients

Structs§

Bolt11Invoice
Represents a syntactically and semantically correct lightning BOLT11 invoice.
BoltzSession
BoltzSessionBuilder
Builder for creating a BoltzSession
ChainSwapData
ChainSwapDataSerializable
InvoiceData
InvoiceDataSerializable
InvoiceResponse
LockupResponse
PreparePayData
PreparePayDataSerializable
PreparePayResponse
RescueFile
SwapRestoreResponse
Webhook

Enums§

ChainSwapStates
Error
LightningPayment
RevSwapStates
States for a reverse swap.
SubSwapStates
States for a submarine swap.
SwapState
Enum representing all possible swap status values from Boltz API updates
SwapType

Functions§

boltz_default_url
broadcast_tx_with_retry
Broadcast a transaction with retry logic
elements_network_to_liquid_chain
Convert an ElementsNetwork to a LiquidChain
liquid_chain_to_elements_network
Convert a LiquidChain to an ElementsNetwork
next_status
Wait for one of the expected swap status updates from a broadcast receiver with timeout
start_ws
to_chain_data
to_invoice_data