Crate breez_sdk_spark

Source

Structs§

Bip21Details
Bip21Extra
BitcoinAddressDetails
Bolt11Invoice
Bolt11InvoiceDetails
Bolt11RouteHint
Bolt11RouteHintHop
Bolt12Invoice
Bolt12InvoiceDetails
Bolt12InvoiceRequestDetails
Bolt12Offer
Bolt12OfferBlindedPath
Bolt12OfferDetails
BreezSdk
BreezSDK is a wrapper around SparkSDK that provides a more structured API with request/response objects and comprehensive error handling.
ClaimDepositRequest
ClaimDepositResponse
Config
ConnectRequest
Credentials
DepositInfo
EventEmitter
Event publisher that manages event listeners
GetInfoRequest
Request to get the balance of the wallet
GetInfoResponse
Response containing the balance of the wallet
GetPaymentRequest
GetPaymentResponse
LightningAddressDetails
ListPaymentsRequest
Request to list payments with pagination
ListPaymentsResponse
Response from listing payments
ListUnclaimedDepositsRequest
ListUnclaimedDepositsResponse
LnurlPayInfo
Represents the payment LNURL info
LnurlPayRequest
LnurlPayResponse
LnurlWithdrawRequestDetails
LogEntry
Payment
Represents a payment (sent or received)
PaymentMetadata
Metadata associated with a payment that cannot be extracted from the Spark operator.
PaymentRequestSource
PrepareLnurlPayRequest
PrepareLnurlPayResponse
PrepareSendPaymentRequest
PrepareSendPaymentResponse
ReceivePaymentRequest
ReceivePaymentResponse
RefundDepositRequest
RefundDepositResponse
RestClientChainService
SdkBuilder
Builder for creating BreezSdk instances with customizable components.
SendOnchainFeeQuote
SendOnchainSpeedFeeQuote
SendPaymentRequest
SendPaymentResponse
SilentPaymentAddressDetails
SqliteStorage
SQLite-based storage implementation
SyncWalletRequest
Request to sync the wallet with the Spark network
SyncWalletResponse
Response from synchronizing the wallet

Enums§

Amount
ChainServiceError
DepositClaimError
Fee
InputType
Network
OnchainConfirmationSpeed
ParseError
PaymentDetails
PaymentMethod
PaymentStatus
The status of a payment
PaymentType
The type of payment
ReceivePaymentMethod
SdkError
Error type for the BreezSdk
SdkEvent
Events emitted by the SDK
SendPaymentMethod
SendPaymentOptions
StorageError
Errors that can occur during storage operations
UpdateDepositPayload

Traits§

BitcoinChainService
EventListener
Trait for event listeners
Logger
Storage
Trait for persistent storage

Functions§

default_config
default_storage
init_logging
parse
parse_input
parse_invoice