bridge_generated library
Classes
- AesSuccessActionDataDecrypted
- AesSuccessActionDataResult
- AesSuccessActionDataResult_Decrypted
- AesSuccessActionDataResult_ErrorStatus
- BackupFailedData
- BackupStatus
- BitcoinAddressData
- BreezEvent
- BreezEvent_BackupFailed
- BreezEvent_BackupStarted
- BreezEvent_BackupSucceeded
- BreezEvent_InvoicePaid
- BreezEvent_NewBlock
- BreezEvent_PaymentFailed
- BreezEvent_PaymentSucceed
- BreezEvent_ReverseSwapUpdated
- BreezEvent_SwapUpdated
- BreezEvent_Synced
- BreezSdkCore
- BreezSdkCoreImpl
- BreezSdkCorePlatform
- BreezSdkCoreWire
- generated by flutter_rust_bridge
- BuyBitcoinRequest
- BuyBitcoinResponse
- CheckMessageRequest
- Request to check a message was signed by a specific node id.
- CheckMessageResponse
- Response to a CheckMessageRequest
- ClosedChannelPaymentDetails
- Represents the funds that were on the user side of the channel at the time it was closed.
- Config
- Configuration for the Breez Services
- ConfigureNodeRequest
- Represents a configure node request.
- ConnectRequest
- Represents a connect request.
- CurrencyInfo
- FiatCurrency
- GreenlightCredentials
- Client-specific credentials to connect to and manage a Greenlight node in the cloud
- GreenlightDeviceCredentials
- Device credentials used to authenticate to Greenlight with the current device.
- GreenlightNodeConfig
- InputType
- InputType_BitcoinAddress
- InputType_Bolt11
- InputType_LnUrlAuth
- InputType_LnUrlError
- InputType_LnUrlPay
- InputType_LnUrlWithdraw
- InputType_NodeId
- InputType_Url
- InvoicePaidDetails
- Details of an invoice that has been paid, included as payload in an emitted BreezEvent
- ListPaymentsRequest
- Represents a list payments request.
- ListSwapsRequest
- LNInvoice
- LnPaymentDetails
- Details of a LN payment, as included in a Payment
- LnUrlAuthRequestData
- LnUrlCallbackStatus
- LnUrlCallbackStatus_ErrorStatus
- LnUrlCallbackStatus_Ok
- LnUrlErrorData
- LnUrlPayErrorData
- LnUrlPayRequest
- LnUrlPayRequestData
- LnUrlPayResult
- LnUrlPayResult_EndpointError
- LnUrlPayResult_EndpointSuccess
- LnUrlPayResult_PayError
- LnUrlPaySuccessData
- LnUrlWithdrawRequest
- LnUrlWithdrawRequestData
- LnUrlWithdrawResult
- LnUrlWithdrawResult_ErrorStatus
- LnUrlWithdrawResult_Ok
- LnUrlWithdrawResult_Timeout
- LnUrlWithdrawSuccessData
- LocaleOverrides
- LocalizedName
- LogEntry
- Internal SDK log entry
- LspInformation
- Details of supported LSP
- MessageSuccessActionData
- MetadataFilter
- A metadata filter which can be applied when retrieving the transaction list
- NodeConfig
- NodeConfig_Greenlight
- NodeConfigKind
- NodeCredentials
- NodeCredentials_Greenlight
- NodeState
- The node state of a Greenlight LN node running in the cloud.
- OnchainPaymentLimitsResponse
- OpenChannelFeeRequest
- OpenChannelFeeResponse
- OpeningFeeParams
- Dynamic fee parameters offered by the LSP for opening a new channel.
- OpeningFeeParamsMenu
-
See
OpeningFeeParamsMenu::try_from
- Payment
- Represents a payment, including its PaymentType and PaymentDetails
- PaymentDetails
- PaymentDetails_ClosedChannel
- PaymentDetails_Ln
- PaymentFailedData
- PayOnchainRequest
- PayOnchainResponse
- PrepareOnchainPaymentRequest
- See ReverseSwapFeesRequest
- PrepareOnchainPaymentResponse
- Contains fields describing the reverse swap parameters (see ReverseSwapPairInfo), as well as the resulting send and receive amounts.
- PrepareRedeemOnchainFundsRequest
- We need to prepare a redeem_onchain_funds transaction to know what fee will be charged in satoshis. This model holds the request data which consists of the address to redeem on-chain funds to and the fee rate in. satoshis per vbyte which will be converted to absolute satoshis.
- PrepareRedeemOnchainFundsResponse
- We need to prepare a redeem_onchain_funds transaction to know what a fee it will be charged in satoshis this model holds the response data, which consists of the weight and the absolute fee in sats
- PrepareRefundRequest
- PrepareRefundResponse
- Rate
- ReceiveOnchainRequest
- ReceivePaymentRequest
- Represents a receive payment request.
- ReceivePaymentResponse
- Represents a receive payment response.
- RecommendedFees
- Wrapper containing the result of the recommended fees query, in sat/vByte, based on mempool.space data
- RedeemOnchainFundsRequest
- RedeemOnchainFundsResponse
- RefundRequest
- RefundResponse
- ReportIssueRequest
- ReportIssueRequest_PaymentFailure
- ReportIssueRequestKind
- ReportPaymentFailureDetails
- ReverseSwapFeesRequest
- ReverseSwapInfo
-
Simplified version of
FullReverseSwapInfo
, containing only the user-relevant fields - ReverseSwapPairInfo
- Details about the reverse swap fees and parameters, at this point in time
- RouteHint
- RouteHintHop
- SendPaymentRequest
- Represents a send payment request.
- SendPaymentResponse
- Represents a send payment response.
- SendSpontaneousPaymentRequest
- Represents a send spontaneous payment request.
- ServiceHealthCheckResponse
- Represents a service health check response.
- SignMessageRequest
- Request to sign a message with the node's private key.
- SignMessageResponse
- Response to a SignMessageRequest.
- StaticBackupRequest
- StaticBackupResponse
- SuccessActionProcessed
- SuccessActionProcessed_Aes
- SuccessActionProcessed_Message
- SuccessActionProcessed_Url
- SwapInfo
- Represents the details of an on-going swap.
- Symbol
- TlvEntry
- Represents a TLV entry for a keysend payment.
- UnspentTransactionOutput
- UTXO known to the LN node
- UrlSuccessActionData
- wire_BuyBitcoinRequest
- wire_CheckMessageRequest
- wire_Config
- wire_ConfigureNodeRequest
- wire_ConnectRequest
- wire_GreenlightCredentials
- wire_GreenlightNodeConfig
- wire_list_metadata_filter
- wire_list_payment_type_filter
- wire_list_swap_status
- wire_list_tlv_entry
- wire_ListPaymentsRequest
- wire_ListSwapsRequest
- wire_LnUrlAuthRequestData
- wire_LnUrlPayRequest
- wire_LnUrlPayRequestData
- wire_LnUrlWithdrawRequest
- wire_LnUrlWithdrawRequestData
- wire_MetadataFilter
- wire_NodeConfig
- wire_NodeConfig_Greenlight
- wire_OpenChannelFeeRequest
- wire_OpeningFeeParams
- wire_PayOnchainRequest
- wire_PrepareOnchainPaymentRequest
- wire_PrepareOnchainPaymentResponse
- wire_PrepareRedeemOnchainFundsRequest
- wire_PrepareRefundRequest
- wire_ReceiveOnchainRequest
- wire_ReceivePaymentRequest
- wire_RedeemOnchainFundsRequest
- wire_RefundRequest
- wire_ReportIssueRequest
- wire_ReportIssueRequest_PaymentFailure
- wire_ReportPaymentFailureDetails
- wire_ReverseSwapFeesRequest
- wire_SendPaymentRequest
- wire_SendSpontaneousPaymentRequest
- wire_SignMessageRequest
- wire_StaticBackupRequest
- wire_TlvEntry
- wire_uint_8_list
Enums
- BuyBitcoinProvider
- Different providers will demand different behaviours when the user is trying to buy bitcoin.
- ChannelState
- State of a Lightning channel
- EnvironmentType
-
Indicates the different kinds of supported environments for
crate::BreezServices
. - HealthCheckStatus
- Indicates the different service health check statuses.
- Network
- PaymentStatus
- The status of a payment
- PaymentType
- Different types of supported payments
- PaymentTypeFilter
- Different types of supported filters which can be applied when retrieving the transaction list
- ReverseSwapStatus
- The possible statuses of a reverse swap, from the Breez SDK perspective.
- SwapAmountType
- SwapStatus
- The status of a swap
Constants
- ESTIMATED_CLAIM_TX_VSIZE → const int
- ESTIMATED_LOCKUP_TX_VSIZE → const int
- INVOICE_PAYMENT_FEE_EXPIRY_SECONDS → const int
- MOCK_REVERSE_SWAP_MAX → const int
- MOCK_REVERSE_SWAP_MIN → const int
- SWAP_PAYMENT_FEE_EXPIRY_SECONDS → const int
Functions
-
api2wire_bool(
bool raw) → bool -
api2wire_buy_bitcoin_provider(
BuyBitcoinProvider raw) → int -
api2wire_environment_type(
EnvironmentType raw) → int -
api2wire_f64(
double raw) → double -
api2wire_i32(
int raw) → int -
api2wire_network(
Network raw) → int -
api2wire_payment_type_filter(
PaymentTypeFilter raw) → int -
api2wire_swap_amount_type(
SwapAmountType raw) → int -
api2wire_swap_status(
SwapStatus raw) → int -
api2wire_u16(
int raw) → int -
api2wire_u32(
int raw) → int -
api2wire_u8(
int raw) → int
Typedefs
- DartPort = Int64
-
DartPostCObjectFnType
= Pointer<
NativeFunction< Bool Function(DartPort port_id, Pointer< >Void> message)>