Modules§
Structs§
- Bolt11
Invoice - Represents a syntactically and semantically correct lightning BOLT11 invoice.
- Boltz
Session - Boltz
Session Builder - Builder for creating a
BoltzSession - Chain
Swap Data - Chain
Swap Data Serializable - Invoice
Data - Invoice
Data Serializable - Invoice
Response - Lockup
Response - Prepare
PayData - Prepare
PayData Serializable - Prepare
PayResponse - Rescue
File - Swap
Restore Response - Webhook
Enums§
- Chain
Swap States - Error
- Lightning
Payment - RevSwap
States - States for a reverse swap.
- SubSwap
States - States for a submarine swap.
- Swap
State - Enum representing all possible swap status values from Boltz API updates
- Swap
Type
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