Structs§
- Accept
Payment Proposed Fees Request - An argument when calling crate::sdk::LiquidSdk::accept_payment_proposed_fees.
- Asset
Balance - An asset balance to denote the balance for each asset.
- Asset
Info - Represents the Liquid payment asset info. The asset info is derived from the available AssetMetadata that is set in the Config.
- Asset
Metadata - 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.
- Backup
Request - An argument when calling crate::sdk::LiquidSdk::backup.
- Blockchain
Info - BtcScript
Balance - BuyBitcoin
Request - An argument when calling crate::sdk::LiquidSdk::buy_bitcoin.
- Chain
Swap - A chain swap
- Check
Message Request - An argument when calling crate::sdk::LiquidSdk::check_message.
- Check
Message Response - Returned when calling crate::sdk::LiquidSdk::check_message.
- Config
- Configuration for the Liquid SDK
- Connect
Request - An argument when calling crate::sdk::LiquidSdk::connect.
The resquest takes either a
mnemonic
andpassphrase
, or aseed
. - Connect
With Signer Request - Fetch
Payment Proposed Fees Request - An argument when calling crate::sdk::LiquidSdk::fetch_payment_proposed_fees.
- Fetch
Payment Proposed Fees Response - Returned when calling crate::sdk::LiquidSdk::fetch_payment_proposed_fees.
- GetInfo
Response - Returned when calling crate::sdk::LiquidSdk::get_info.
- History
- Lightning
Payment Limits Response - Returned when calling crate::sdk::LiquidSdk::fetch_lightning_limits.
- Limits
- The minimum and maximum in satoshis of a Lightning or onchain payment.
- List
Payments Request - An argument when calling crate::sdk::LiquidSdk::list_payments.
- LnUrl
Info - Represents the payment LNURL info
- LnUrl
PayRequest - An argument when calling crate::sdk::LiquidSdk::lnurl_pay.
- LnUrl
PaySuccess Data - LogEntry
- Internal SDK log entry used in the Uniffi and Dart bindings
- Onchain
Payment Limits Response - Returned when calling crate::sdk::LiquidSdk::fetch_onchain_limits.
- PayOnchain
Request - An argument when calling crate::sdk::LiquidSdk::pay_onchain.
- Payment
- Represents an SDK payment.
- Payment
Swap Data - Payment
TxData - Prepare
BuyBitcoin Request - An argument when calling crate::sdk::LiquidSdk::prepare_buy_bitcoin.
- Prepare
BuyBitcoin Response - Returned when calling crate::sdk::LiquidSdk::prepare_buy_bitcoin.
- Prepare
LnUrl PayRequest - An argument when calling crate::sdk::LiquidSdk::prepare_lnurl_pay.
- Prepare
LnUrl PayResponse - Returned when calling crate::sdk::LiquidSdk::prepare_lnurl_pay.
- Prepare
PayOnchain Request - An argument when calling crate::sdk::LiquidSdk::prepare_pay_onchain.
- Prepare
PayOnchain Response - Returned when calling crate::sdk::LiquidSdk::prepare_pay_onchain.
- Prepare
Receive Request - An argument when calling crate::sdk::LiquidSdk::prepare_receive_payment.
- Prepare
Receive Response - Returned when calling crate::sdk::LiquidSdk::prepare_receive_payment.
- Prepare
Refund Request - An argument when calling crate::sdk::LiquidSdk::prepare_refund.
- Prepare
Refund Response - Returned when calling crate::sdk::LiquidSdk::prepare_refund.
- Prepare
Send Request - An argument when calling crate::sdk::LiquidSdk::prepare_send_payment.
- Prepare
Send Response - Returned when calling crate::sdk::LiquidSdk::prepare_send_payment.
- Receive
Payment Request - An argument when calling crate::sdk::LiquidSdk::receive_payment.
- Receive
Payment Response - Returned when calling crate::sdk::LiquidSdk::receive_payment.
- Receive
Swap - A reverse swap, used for Receive
- Recommended
Fees - Returned when calling crate::sdk::LiquidSdk::recommended_fees.
- Refund
Request - An argument when calling crate::sdk::LiquidSdk::refund.
- Refund
Response - Returned when calling crate::sdk::LiquidSdk::refund.
- Refundable
Swap - Returned when calling crate::sdk::LiquidSdk::list_refundables.
- Restore
Request - An argument when calling crate::sdk::LiquidSdk::restore.
- Send
Payment Request - An argument when calling crate::sdk::LiquidSdk::send_payment.
- Send
Payment Response - Returned when calling crate::sdk::LiquidSdk::send_payment.
- Send
Swap - A submarine swap, used for Send
- Sign
Message Request - An argument when calling crate::sdk::LiquidSdk::sign_message.
- Sign
Message Response - Returned when calling crate::sdk::LiquidSdk::sign_message.
- Wallet
Info
Enums§
- Blockchain
Explorer - BuyBitcoin
Provider - An argument of PrepareBuyBitcoinRequest when calling crate::sdk::LiquidSdk::prepare_buy_bitcoin.
- Direction
- GetPayment
Request - An argument when calling crate::sdk::LiquidSdk::get_payment.
- Liquid
Network - Network chosen for this Liquid SDK instance. Note that it represents both the Liquid and the Bitcoin network used.
- List
Payment Details - An argument of ListPaymentsRequest when calling crate::sdk::LiquidSdk::list_payments.
- LnUrl
PayResult - 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.
- Payment
Details - The specific details of a payment, depending on its type
- Payment
Method - The send/receive methods supported by the SDK
- Payment
State - The payment state of an individual payment.
- Payment
Status - Payment
Swap Type - Payment
Type - Receive
Amount - SdkEvent
- Event emitted by the SDK. Add an EventListener by calling crate::sdk::LiquidSdk::add_event_listener to listen for emitted events.
- Send
Destination - Specifies the supported destinations which can be payed by the SDK
- Signer
Error - Swap
- Transaction
- Utxo
Constants§
- BREEZ_
LIQUID_ ESPLORA_ URL - BREEZ_
SYNC_ SERVICE_ URL - LIQUID_
FEE_ RATE_ MSAT_ PER_ VBYTE - LIQUID_
FEE_ RATE_ SAT_ PER_ VBYTE
Traits§
- Event
Listener - 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.