Structs§
- AcceptPayment Proposed Fees Request 
- An argument when calling crate::sdk::LiquidSdk::accept_payment_proposed_fees.
- AssetBalance 
- An asset balance to denote the balance for each asset.
- AssetInfo 
- Represents the Liquid payment asset info. The asset info is derived from the available AssetMetadata that is set in the Config.
- AssetMetadata 
- Configuration for asset metadata. Each asset metadata item represents an entry in the Liquid Asset Registry. An example Liquid Asset in the registry would be Tether USD.
- BackupRequest 
- An argument when calling crate::sdk::LiquidSdk::backup.
- BlockchainInfo 
- BtcScriptBalance 
- BuyBitcoinRequest 
- An argument when calling crate::sdk::LiquidSdk::buy_bitcoin.
- ChainSwap 
- A chain swap
- CheckMessage Request 
- An argument when calling crate::sdk::LiquidSdk::check_message.
- CheckMessage Response 
- Returned when calling crate::sdk::LiquidSdk::check_message.
- Config
- Configuration for the Liquid SDK
- ConnectRequest 
- An argument when calling crate::sdk::LiquidSdk::connect.
The resquest takes either a mnemonicandpassphrase, or aseed.
- ConnectWith Signer Request 
- CreateBolt12 Invoice Request 
- An argument when calling crate::sdk::LiquidSdk::create_bolt12_invoice.
- CreateBolt12 Invoice Response 
- Returned when calling crate::sdk::LiquidSdk::create_bolt12_invoice.
- FetchPayment Proposed Fees Request 
- An argument when calling crate::sdk::LiquidSdk::fetch_payment_proposed_fees.
- FetchPayment Proposed Fees Response 
- Returned when calling crate::sdk::LiquidSdk::fetch_payment_proposed_fees.
- GetInfoResponse 
- Returned when calling crate::sdk::LiquidSdk::get_info.
- History
- LightningPayment Limits Response 
- Returned when calling crate::sdk::LiquidSdk::fetch_lightning_limits.
- Limits
- The minimum and maximum in satoshis of a Lightning or onchain payment.
- ListPayments Request 
- An argument when calling crate::sdk::LiquidSdk::list_payments.
- LnUrlInfo 
- Represents the payment LNURL info
- LnUrlPayRequest 
- An argument when calling crate::sdk::LiquidSdk::lnurl_pay.
- LnUrlPaySuccess Data 
- LogEntry
- Internal SDK log entry used in the Uniffi and Dart bindings
- OnchainPayment Limits Response 
- Returned when calling crate::sdk::LiquidSdk::fetch_onchain_limits.
- PayOnchainRequest 
- An argument when calling crate::sdk::LiquidSdk::pay_onchain.
- Payment
- Represents an SDK payment.
- PaymentSwap Data 
- PaymentTxData 
- PrepareBuyBitcoin Request 
- An argument when calling crate::sdk::LiquidSdk::prepare_buy_bitcoin.
- PrepareBuyBitcoin Response 
- Returned when calling crate::sdk::LiquidSdk::prepare_buy_bitcoin.
- PrepareLnUrl PayRequest 
- An argument when calling crate::sdk::LiquidSdk::prepare_lnurl_pay.
- PrepareLnUrl PayResponse 
- Returned when calling crate::sdk::LiquidSdk::prepare_lnurl_pay.
- PreparePayOnchain Request 
- An argument when calling crate::sdk::LiquidSdk::prepare_pay_onchain.
- PreparePayOnchain Response 
- Returned when calling crate::sdk::LiquidSdk::prepare_pay_onchain.
- PrepareReceive Request 
- An argument when calling crate::sdk::LiquidSdk::prepare_receive_payment.
- PrepareReceive Response 
- Returned when calling crate::sdk::LiquidSdk::prepare_receive_payment.
- PrepareRefund Request 
- An argument when calling crate::sdk::LiquidSdk::prepare_refund.
- PrepareRefund Response 
- Returned when calling crate::sdk::LiquidSdk::prepare_refund.
- PrepareSend Request 
- An argument when calling crate::sdk::LiquidSdk::prepare_send_payment.
- PrepareSend Response 
- Returned when calling crate::sdk::LiquidSdk::prepare_send_payment.
- ReceivePayment Request 
- An argument when calling crate::sdk::LiquidSdk::receive_payment.
- ReceivePayment Response 
- Returned when calling crate::sdk::LiquidSdk::receive_payment.
- ReceiveSwap 
- A reverse swap, used for Receive
- RecommendedFees 
- Returned when calling crate::sdk::LiquidSdk::recommended_fees.
- RefundRequest 
- An argument when calling crate::sdk::LiquidSdk::refund.
- RefundResponse 
- Returned when calling crate::sdk::LiquidSdk::refund.
- RefundableSwap 
- Returned when calling crate::sdk::LiquidSdk::list_refundables.
- RestoreRequest 
- An argument when calling crate::sdk::LiquidSdk::restore.
- SendPayment Request 
- An argument when calling crate::sdk::LiquidSdk::send_payment.
- SendPayment Response 
- Returned when calling crate::sdk::LiquidSdk::send_payment.
- SendSwap 
- A submarine swap, used for Send
- SignMessage Request 
- An argument when calling crate::sdk::LiquidSdk::sign_message.
- SignMessage Response 
- Returned when calling crate::sdk::LiquidSdk::sign_message.
- WalletInfo 
Enums§
- BlockchainExplorer 
- BuyBitcoinProvider 
- An argument of PrepareBuyBitcoinRequest when calling crate::sdk::LiquidSdk::prepare_buy_bitcoin.
- Direction
- GetPaymentRequest 
- An argument when calling crate::sdk::LiquidSdk::get_payment.
- LiquidNetwork 
- Network chosen for this Liquid SDK instance. Note that it represents both the Liquid and the Bitcoin network used.
- ListPayment Details 
- An argument of ListPaymentsRequest when calling crate::sdk::LiquidSdk::list_payments.
- LnUrlPayResult 
- Contains the result of the entire LNURL-pay interaction, as reported by the LNURL endpoint.
- PayAmount
- Used to specify the amount to sent or to send all funds.
- PaymentDetails 
- The specific details of a payment, depending on its type
- PaymentMethod 
- The send/receive methods supported by the SDK
- PaymentState 
- The payment state of an individual payment.
- PaymentStatus 
- PaymentSwap Type 
- PaymentType 
- ReceiveAmount 
- SdkEvent
- Event emitted by the SDK. Add an EventListener by calling crate::sdk::LiquidSdk::add_event_listener to listen for emitted events.
- SendDestination 
- Specifies the supported destinations which can be payed by the SDK
- SignerError 
- Swap
- Transaction
- Utxo
Constants§
- BREEZ_LIQUID_ ESPLORA_ URL 
- BREEZ_SWAP_ PROXY_ URL 
- BREEZ_SYNC_ SERVICE_ URL 
- DEFAULT_ONCHAIN_ FEE_ RATE_ LEEWAY_ SAT 
- LIQUID_FEE_ RATE_ MSAT_ PER_ VBYTE 
- LIQUID_FEE_ RATE_ SAT_ PER_ VBYTE 
Traits§
- EventListener 
- Trait that can be used to react to various SdkEvents emitted by the SDK.
- Signer
- A trait that can be used to sign messages and verify signatures. The sdk user can implement this trait to use their own signer.