breez_sdk

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSdkErrorCalculateOpenChannelFeesFailed = fmt.Errorf("SdkErrorCalculateOpenChannelFeesFailed")
View Source
var ErrSdkErrorGeneric = fmt.Errorf("SdkErrorGeneric")

Err* are used for checking error type with `errors.Is`

View Source
var ErrSdkErrorInitFailed = fmt.Errorf("SdkErrorInitFailed")
View Source
var ErrSdkErrorLspConnectFailed = fmt.Errorf("SdkErrorLspConnectFailed")
View Source
var ErrSdkErrorLspOpenChannelNotSupported = fmt.Errorf("SdkErrorLspOpenChannelNotSupported")
View Source
var ErrSdkErrorNotReady = fmt.Errorf("SdkErrorNotReady")
View Source
var ErrSdkErrorPersistenceFailure = fmt.Errorf("SdkErrorPersistenceFailure")
View Source
var ErrSdkErrorReceivePaymentFailed = fmt.Errorf("SdkErrorReceivePaymentFailed")
View Source
var ErrSdkErrorSendPaymentFailed = fmt.Errorf("SdkErrorSendPaymentFailed")
View Source
var FfiConverterBlockingBreezServicesINSTANCE = FfiConverterBlockingBreezServices{}
View Source
var FfiConverterOptionalSequenceTypeLocaleOverridesINSTANCE = FfiConverterOptionalSequenceTypeLocaleOverrides{}
View Source
var FfiConverterOptionalSequenceTypeLocalizedNameINSTANCE = FfiConverterOptionalSequenceTypeLocalizedName{}
View Source
var FfiConverterOptionalSequencestringINSTANCE = FfiConverterOptionalSequencestring{}
View Source
var FfiConverterOptionalSequenceuint8INSTANCE = FfiConverterOptionalSequenceuint8{}
View Source
var FfiConverterOptionalTypeGreenlightCredentialsINSTANCE = FfiConverterOptionalTypeGreenlightCredentials{}
View Source
var FfiConverterOptionalTypeLnInvoiceINSTANCE = FfiConverterOptionalTypeLnInvoice{}
View Source
var FfiConverterOptionalTypeLspInformationINSTANCE = FfiConverterOptionalTypeLspInformation{}
View Source
var FfiConverterOptionalTypeOpeningFeeParamsINSTANCE = FfiConverterOptionalTypeOpeningFeeParams{}
View Source
var FfiConverterOptionalTypePaymentINSTANCE = FfiConverterOptionalTypePayment{}
View Source
var FfiConverterOptionalTypeSuccessActionProcessedINSTANCE = FfiConverterOptionalTypeSuccessActionProcessed{}
View Source
var FfiConverterOptionalTypeSwapInfoINSTANCE = FfiConverterOptionalTypeSwapInfo{}
View Source
var FfiConverterOptionalTypeSymbolINSTANCE = FfiConverterOptionalTypeSymbol{}
View Source
var FfiConverterOptionalboolINSTANCE = FfiConverterOptionalbool{}
View Source
var FfiConverterOptionalint64INSTANCE = FfiConverterOptionalint64{}
View Source
var FfiConverterOptionalstringINSTANCE = FfiConverterOptionalstring{}
View Source
var FfiConverterOptionaluint32INSTANCE = FfiConverterOptionaluint32{}
View Source
var FfiConverterOptionaluint64INSTANCE = FfiConverterOptionaluint64{}
View Source
var FfiConverterSequenceTypeFiatCurrencyINSTANCE = FfiConverterSequenceTypeFiatCurrency{}
View Source
var FfiConverterSequenceTypeLocaleOverridesINSTANCE = FfiConverterSequenceTypeLocaleOverrides{}
View Source
var FfiConverterSequenceTypeLocalizedNameINSTANCE = FfiConverterSequenceTypeLocalizedName{}
View Source
var FfiConverterSequenceTypeLspInformationINSTANCE = FfiConverterSequenceTypeLspInformation{}
View Source
var FfiConverterSequenceTypeOpeningFeeParamsINSTANCE = FfiConverterSequenceTypeOpeningFeeParams{}
View Source
var FfiConverterSequenceTypePaymentINSTANCE = FfiConverterSequenceTypePayment{}
View Source
var FfiConverterSequenceTypeRateINSTANCE = FfiConverterSequenceTypeRate{}
View Source
var FfiConverterSequenceTypeReverseSwapInfoINSTANCE = FfiConverterSequenceTypeReverseSwapInfo{}
View Source
var FfiConverterSequenceTypeRouteHintHopINSTANCE = FfiConverterSequenceTypeRouteHintHop{}
View Source
var FfiConverterSequenceTypeRouteHintINSTANCE = FfiConverterSequenceTypeRouteHint{}
View Source
var FfiConverterSequenceTypeSwapInfoINSTANCE = FfiConverterSequenceTypeSwapInfo{}
View Source
var FfiConverterSequenceTypeUnspentTransactionOutputINSTANCE = FfiConverterSequenceTypeUnspentTransactionOutput{}
View Source
var FfiConverterSequencestringINSTANCE = FfiConverterSequencestring{}
View Source
var FfiConverterSequenceuint8INSTANCE = FfiConverterSequenceuint8{}
View Source
var FfiConverterTypeAesSuccessActionDataDecryptedINSTANCE = FfiConverterTypeAesSuccessActionDataDecrypted{}
View Source
var FfiConverterTypeBackupFailedDataINSTANCE = FfiConverterTypeBackupFailedData{}
View Source
var FfiConverterTypeBackupStatusINSTANCE = FfiConverterTypeBackupStatus{}
View Source
var FfiConverterTypeBitcoinAddressDataINSTANCE = FfiConverterTypeBitcoinAddressData{}
View Source
var FfiConverterTypeBreezEventINSTANCE = FfiConverterTypeBreezEvent{}
View Source
var FfiConverterTypeBuyBitcoinProviderINSTANCE = FfiConverterTypeBuyBitcoinProvider{}
View Source
var FfiConverterTypeBuyBitcoinRequestINSTANCE = FfiConverterTypeBuyBitcoinRequest{}
View Source
var FfiConverterTypeBuyBitcoinResponseINSTANCE = FfiConverterTypeBuyBitcoinResponse{}
View Source
var FfiConverterTypeChannelStateINSTANCE = FfiConverterTypeChannelState{}
View Source
var FfiConverterTypeCheckMessageRequestINSTANCE = FfiConverterTypeCheckMessageRequest{}
View Source
var FfiConverterTypeCheckMessageResponseINSTANCE = FfiConverterTypeCheckMessageResponse{}
View Source
var FfiConverterTypeClosedChannelPaymentDetailsINSTANCE = FfiConverterTypeClosedChannelPaymentDetails{}
View Source
var FfiConverterTypeConfigINSTANCE = FfiConverterTypeConfig{}
View Source
var FfiConverterTypeCurrencyInfoINSTANCE = FfiConverterTypeCurrencyInfo{}
View Source
var FfiConverterTypeEnvironmentTypeINSTANCE = FfiConverterTypeEnvironmentType{}
View Source
var FfiConverterTypeEventListenerINSTANCE = &FfiConverterTypeEventListener{
	FfiConverterCallbackInterface: FfiConverterCallbackInterface[EventListener]{
		handleMap: newConcurrentHandleMap[EventListener](),
	},
}
View Source
var FfiConverterTypeFeeratePresetINSTANCE = FfiConverterTypeFeeratePreset{}
View Source
var FfiConverterTypeFiatCurrencyINSTANCE = FfiConverterTypeFiatCurrency{}
View Source
var FfiConverterTypeGreenlightCredentialsINSTANCE = FfiConverterTypeGreenlightCredentials{}
View Source
var FfiConverterTypeGreenlightNodeConfigINSTANCE = FfiConverterTypeGreenlightNodeConfig{}
View Source
var FfiConverterTypeInputTypeINSTANCE = FfiConverterTypeInputType{}
View Source
var FfiConverterTypeInvoicePaidDetailsINSTANCE = FfiConverterTypeInvoicePaidDetails{}
View Source
var FfiConverterTypeListPaymentsRequestINSTANCE = FfiConverterTypeListPaymentsRequest{}
View Source
var FfiConverterTypeLnInvoiceINSTANCE = FfiConverterTypeLnInvoice{}
View Source
var FfiConverterTypeLnPaymentDetailsINSTANCE = FfiConverterTypeLnPaymentDetails{}
View Source
var FfiConverterTypeLnUrlAuthRequestDataINSTANCE = FfiConverterTypeLnUrlAuthRequestData{}
View Source
var FfiConverterTypeLnUrlCallbackStatusINSTANCE = FfiConverterTypeLnUrlCallbackStatus{}
View Source
var FfiConverterTypeLnUrlErrorDataINSTANCE = FfiConverterTypeLnUrlErrorData{}
View Source
var FfiConverterTypeLnUrlPayRequestDataINSTANCE = FfiConverterTypeLnUrlPayRequestData{}
View Source
var FfiConverterTypeLnUrlPayRequestINSTANCE = FfiConverterTypeLnUrlPayRequest{}
View Source
var FfiConverterTypeLnUrlPayResultINSTANCE = FfiConverterTypeLnUrlPayResult{}
View Source
var FfiConverterTypeLnUrlWithdrawRequestDataINSTANCE = FfiConverterTypeLnUrlWithdrawRequestData{}
View Source
var FfiConverterTypeLnUrlWithdrawRequestINSTANCE = FfiConverterTypeLnUrlWithdrawRequest{}
View Source
var FfiConverterTypeLnUrlWithdrawResultINSTANCE = FfiConverterTypeLnUrlWithdrawResult{}
View Source
var FfiConverterTypeLnUrlWithdrawSuccessDataINSTANCE = FfiConverterTypeLnUrlWithdrawSuccessData{}
View Source
var FfiConverterTypeLocaleOverridesINSTANCE = FfiConverterTypeLocaleOverrides{}
View Source
var FfiConverterTypeLocalizedNameINSTANCE = FfiConverterTypeLocalizedName{}
View Source
var FfiConverterTypeLogEntryINSTANCE = FfiConverterTypeLogEntry{}
View Source
var FfiConverterTypeLogStreamINSTANCE = &FfiConverterTypeLogStream{
	FfiConverterCallbackInterface: FfiConverterCallbackInterface[LogStream]{
		handleMap: newConcurrentHandleMap[LogStream](),
	},
}
View Source
var FfiConverterTypeLspInformationINSTANCE = FfiConverterTypeLspInformation{}
View Source
var FfiConverterTypeMessageSuccessActionDataINSTANCE = FfiConverterTypeMessageSuccessActionData{}
View Source
var FfiConverterTypeMetadataItemINSTANCE = FfiConverterTypeMetadataItem{}
View Source
var FfiConverterTypeNetworkINSTANCE = FfiConverterTypeNetwork{}
View Source
var FfiConverterTypeNodeConfigINSTANCE = FfiConverterTypeNodeConfig{}
View Source
var FfiConverterTypeNodeStateINSTANCE = FfiConverterTypeNodeState{}
View Source
var FfiConverterTypeOpenChannelFeeRequestINSTANCE = FfiConverterTypeOpenChannelFeeRequest{}
View Source
var FfiConverterTypeOpenChannelFeeResponseINSTANCE = FfiConverterTypeOpenChannelFeeResponse{}
View Source
var FfiConverterTypeOpeningFeeParamsINSTANCE = FfiConverterTypeOpeningFeeParams{}
View Source
var FfiConverterTypeOpeningFeeParamsMenuINSTANCE = FfiConverterTypeOpeningFeeParamsMenu{}
View Source
var FfiConverterTypePaymentDetailsINSTANCE = FfiConverterTypePaymentDetails{}
View Source
var FfiConverterTypePaymentFailedDataINSTANCE = FfiConverterTypePaymentFailedData{}
View Source
var FfiConverterTypePaymentINSTANCE = FfiConverterTypePayment{}
View Source
var FfiConverterTypePaymentStatusINSTANCE = FfiConverterTypePaymentStatus{}
View Source
var FfiConverterTypePaymentTypeFilterINSTANCE = FfiConverterTypePaymentTypeFilter{}
View Source
var FfiConverterTypePaymentTypeINSTANCE = FfiConverterTypePaymentType{}
View Source
var FfiConverterTypeRateINSTANCE = FfiConverterTypeRate{}
View Source
var FfiConverterTypeReceiveOnchainRequestINSTANCE = FfiConverterTypeReceiveOnchainRequest{}
View Source
var FfiConverterTypeReceivePaymentRequestINSTANCE = FfiConverterTypeReceivePaymentRequest{}
View Source
var FfiConverterTypeReceivePaymentResponseINSTANCE = FfiConverterTypeReceivePaymentResponse{}
View Source
var FfiConverterTypeRecommendedFeesINSTANCE = FfiConverterTypeRecommendedFees{}
View Source
var FfiConverterTypeRefundRequestINSTANCE = FfiConverterTypeRefundRequest{}
View Source
var FfiConverterTypeRefundResponseINSTANCE = FfiConverterTypeRefundResponse{}
View Source
var FfiConverterTypeReverseSwapFeesRequestINSTANCE = FfiConverterTypeReverseSwapFeesRequest{}
View Source
var FfiConverterTypeReverseSwapInfoINSTANCE = FfiConverterTypeReverseSwapInfo{}
View Source
var FfiConverterTypeReverseSwapPairInfoINSTANCE = FfiConverterTypeReverseSwapPairInfo{}
View Source
var FfiConverterTypeReverseSwapStatusINSTANCE = FfiConverterTypeReverseSwapStatus{}
View Source
var FfiConverterTypeRouteHintHopINSTANCE = FfiConverterTypeRouteHintHop{}
View Source
var FfiConverterTypeRouteHintINSTANCE = FfiConverterTypeRouteHint{}
View Source
var FfiConverterTypeSdkErrorINSTANCE = FfiConverterTypeSdkError{}
View Source
var FfiConverterTypeSendOnchainRequestINSTANCE = FfiConverterTypeSendOnchainRequest{}
View Source
var FfiConverterTypeSendOnchainResponseINSTANCE = FfiConverterTypeSendOnchainResponse{}
View Source
var FfiConverterTypeSendPaymentRequestINSTANCE = FfiConverterTypeSendPaymentRequest{}
View Source
var FfiConverterTypeSendPaymentResponseINSTANCE = FfiConverterTypeSendPaymentResponse{}
View Source
var FfiConverterTypeSendSpontaneousPaymentRequestINSTANCE = FfiConverterTypeSendSpontaneousPaymentRequest{}
View Source
var FfiConverterTypeSignMessageRequestINSTANCE = FfiConverterTypeSignMessageRequest{}
View Source
var FfiConverterTypeSignMessageResponseINSTANCE = FfiConverterTypeSignMessageResponse{}
View Source
var FfiConverterTypeStaticBackupRequestINSTANCE = FfiConverterTypeStaticBackupRequest{}
View Source
var FfiConverterTypeStaticBackupResponseINSTANCE = FfiConverterTypeStaticBackupResponse{}
View Source
var FfiConverterTypeSuccessActionProcessedINSTANCE = FfiConverterTypeSuccessActionProcessed{}
View Source
var FfiConverterTypeSwapInfoINSTANCE = FfiConverterTypeSwapInfo{}
View Source
var FfiConverterTypeSwapStatusINSTANCE = FfiConverterTypeSwapStatus{}
View Source
var FfiConverterTypeSweepRequestINSTANCE = FfiConverterTypeSweepRequest{}
View Source
var FfiConverterTypeSweepResponseINSTANCE = FfiConverterTypeSweepResponse{}
View Source
var FfiConverterTypeSymbolINSTANCE = FfiConverterTypeSymbol{}
View Source
var FfiConverterTypeUnspentTransactionOutputINSTANCE = FfiConverterTypeUnspentTransactionOutput{}
View Source
var FfiConverterTypeUrlSuccessActionDataINSTANCE = FfiConverterTypeUrlSuccessActionData{}
View Source
var FfiConverterboolINSTANCE = FfiConverterbool{}
View Source
var FfiConverterfloat64INSTANCE = FfiConverterfloat64{}
View Source
var FfiConverterint32INSTANCE = FfiConverterint32{}
View Source
var FfiConverterint64INSTANCE = FfiConverterint64{}
View Source
var FfiConverterstringINSTANCE = FfiConverterstring{}
View Source
var FfiConverteruint16INSTANCE = FfiConverteruint16{}
View Source
var FfiConverteruint32INSTANCE = FfiConverteruint32{}
View Source
var FfiConverteruint64INSTANCE = FfiConverteruint64{}
View Source
var FfiConverteruint8INSTANCE = FfiConverteruint8{}

Functions

func MnemonicToSeed

func MnemonicToSeed(phrase string) ([]uint8, error)

func SetLogStream

func SetLogStream(logStream LogStream) error

Types

type AesSuccessActionDataDecrypted

type AesSuccessActionDataDecrypted struct {
	Description string
	Plaintext   string
}

func (*AesSuccessActionDataDecrypted) Destroy

func (r *AesSuccessActionDataDecrypted) Destroy()

type BackupFailedData

type BackupFailedData struct {
	Error string
}

func (*BackupFailedData) Destroy

func (r *BackupFailedData) Destroy()

type BackupStatus

type BackupStatus struct {
	BackedUp       bool
	LastBackupTime *uint64
}

func (*BackupStatus) Destroy

func (r *BackupStatus) Destroy()

type BitcoinAddressData

type BitcoinAddressData struct {
	Address   string
	Network   Network
	AmountSat *uint64
	Label     *string
	Message   *string
}

func (*BitcoinAddressData) Destroy

func (r *BitcoinAddressData) Destroy()

type BlockingBreezServices

type BlockingBreezServices struct {
	// contains filtered or unexported fields
}

func Connect

func Connect(config Config, seed []uint8, listener EventListener) (*BlockingBreezServices, error)

func (*BlockingBreezServices) Backup

func (_self *BlockingBreezServices) Backup() error

func (*BlockingBreezServices) BackupStatus

func (_self *BlockingBreezServices) BackupStatus() (BackupStatus, error)

func (*BlockingBreezServices) BuyBitcoin

func (*BlockingBreezServices) CheckMessage added in v0.2.0

func (*BlockingBreezServices) CloseLspChannels

func (_self *BlockingBreezServices) CloseLspChannels() error

func (*BlockingBreezServices) ConnectLsp

func (_self *BlockingBreezServices) ConnectLsp(lspId string) error

func (*BlockingBreezServices) Destroy

func (object *BlockingBreezServices) Destroy()

func (*BlockingBreezServices) Disconnect

func (_self *BlockingBreezServices) Disconnect() error

func (*BlockingBreezServices) ExecuteDevCommand

func (_self *BlockingBreezServices) ExecuteDevCommand(command string) (string, error)

func (*BlockingBreezServices) FetchFiatRates

func (_self *BlockingBreezServices) FetchFiatRates() ([]Rate, error)

func (*BlockingBreezServices) FetchLspInfo

func (_self *BlockingBreezServices) FetchLspInfo(lspId string) (*LspInformation, error)

func (*BlockingBreezServices) FetchReverseSwapFees

func (_self *BlockingBreezServices) FetchReverseSwapFees(req ReverseSwapFeesRequest) (ReverseSwapPairInfo, error)

func (*BlockingBreezServices) InProgressReverseSwaps

func (_self *BlockingBreezServices) InProgressReverseSwaps() ([]ReverseSwapInfo, error)

func (*BlockingBreezServices) InProgressSwap

func (_self *BlockingBreezServices) InProgressSwap() (*SwapInfo, error)

func (*BlockingBreezServices) ListFiatCurrencies

func (_self *BlockingBreezServices) ListFiatCurrencies() ([]FiatCurrency, error)

func (*BlockingBreezServices) ListLsps

func (_self *BlockingBreezServices) ListLsps() ([]LspInformation, error)

func (*BlockingBreezServices) ListPayments

func (_self *BlockingBreezServices) ListPayments(req ListPaymentsRequest) ([]Payment, error)

func (*BlockingBreezServices) ListRefundables

func (_self *BlockingBreezServices) ListRefundables() ([]SwapInfo, error)

func (*BlockingBreezServices) LnurlAuth

func (*BlockingBreezServices) LspId

func (_self *BlockingBreezServices) LspId() (*string, error)

func (*BlockingBreezServices) LspInfo added in v0.2.0

func (_self *BlockingBreezServices) LspInfo() (LspInformation, error)

func (*BlockingBreezServices) NodeInfo

func (_self *BlockingBreezServices) NodeInfo() (NodeState, error)

func (*BlockingBreezServices) OpenChannelFee added in v0.2.3

func (*BlockingBreezServices) PayLnurl

func (*BlockingBreezServices) PaymentByHash

func (_self *BlockingBreezServices) PaymentByHash(hash string) (*Payment, error)

func (*BlockingBreezServices) ReceiveOnchain

func (_self *BlockingBreezServices) ReceiveOnchain(req ReceiveOnchainRequest) (SwapInfo, error)

func (*BlockingBreezServices) ReceivePayment

func (*BlockingBreezServices) RecommendedFees

func (_self *BlockingBreezServices) RecommendedFees() (RecommendedFees, error)

func (*BlockingBreezServices) Refund

func (*BlockingBreezServices) SendOnchain

func (*BlockingBreezServices) SendPayment

func (*BlockingBreezServices) SendSpontaneousPayment

func (_self *BlockingBreezServices) SendSpontaneousPayment(req SendSpontaneousPaymentRequest) (SendPaymentResponse, error)

func (*BlockingBreezServices) SignMessage added in v0.2.0

func (*BlockingBreezServices) Sweep

func (*BlockingBreezServices) Sync

func (_self *BlockingBreezServices) Sync() error

func (*BlockingBreezServices) WithdrawLnurl

func (_self *BlockingBreezServices) WithdrawLnurl(request LnUrlWithdrawRequest) (LnUrlWithdrawResult, error)

type BreezEvent

type BreezEvent interface {
	Destroy()
}

type BreezEventBackupFailed

type BreezEventBackupFailed struct {
	Details BackupFailedData
}

func (BreezEventBackupFailed) Destroy

func (e BreezEventBackupFailed) Destroy()

type BreezEventBackupStarted

type BreezEventBackupStarted struct {
}

func (BreezEventBackupStarted) Destroy

func (e BreezEventBackupStarted) Destroy()

type BreezEventBackupSucceeded

type BreezEventBackupSucceeded struct {
}

func (BreezEventBackupSucceeded) Destroy

func (e BreezEventBackupSucceeded) Destroy()

type BreezEventInvoicePaid

type BreezEventInvoicePaid struct {
	Details InvoicePaidDetails
}

func (BreezEventInvoicePaid) Destroy

func (e BreezEventInvoicePaid) Destroy()

type BreezEventNewBlock

type BreezEventNewBlock struct {
	Block uint32
}

func (BreezEventNewBlock) Destroy

func (e BreezEventNewBlock) Destroy()

type BreezEventPaymentFailed

type BreezEventPaymentFailed struct {
	Details PaymentFailedData
}

func (BreezEventPaymentFailed) Destroy

func (e BreezEventPaymentFailed) Destroy()

type BreezEventPaymentSucceed

type BreezEventPaymentSucceed struct {
	Details Payment
}

func (BreezEventPaymentSucceed) Destroy

func (e BreezEventPaymentSucceed) Destroy()

type BreezEventSynced

type BreezEventSynced struct {
}

func (BreezEventSynced) Destroy

func (e BreezEventSynced) Destroy()

type BuyBitcoinProvider

type BuyBitcoinProvider uint
const (
	BuyBitcoinProviderMoonpay BuyBitcoinProvider = 1
)

type BuyBitcoinRequest added in v0.2.0

type BuyBitcoinRequest struct {
	Provider         BuyBitcoinProvider
	OpeningFeeParams *OpeningFeeParams
}

func (*BuyBitcoinRequest) Destroy added in v0.2.0

func (r *BuyBitcoinRequest) Destroy()

type BuyBitcoinResponse added in v0.2.0

type BuyBitcoinResponse struct {
	Url              string
	OpeningFeeParams *OpeningFeeParams
}

func (*BuyBitcoinResponse) Destroy added in v0.2.0

func (r *BuyBitcoinResponse) Destroy()

type ChannelState

type ChannelState uint
const (
	ChannelStatePendingOpen  ChannelState = 1
	ChannelStateOpened       ChannelState = 2
	ChannelStatePendingClose ChannelState = 3
	ChannelStateClosed       ChannelState = 4
)

type CheckMessageRequest added in v0.2.0

type CheckMessageRequest struct {
	Message   string
	Pubkey    string
	Signature string
}

func (*CheckMessageRequest) Destroy added in v0.2.0

func (r *CheckMessageRequest) Destroy()

type CheckMessageResponse added in v0.2.0

type CheckMessageResponse struct {
	IsValid bool
}

func (*CheckMessageResponse) Destroy added in v0.2.0

func (r *CheckMessageResponse) Destroy()

type ClosedChannelPaymentDetails

type ClosedChannelPaymentDetails struct {
	ShortChannelId string
	State          ChannelState
	FundingTxid    string
	ClosingTxid    *string
}

func (*ClosedChannelPaymentDetails) Destroy

func (r *ClosedChannelPaymentDetails) Destroy()

type Config

type Config struct {
	Breezserver       string
	MempoolspaceUrl   string
	WorkingDir        string
	Network           Network
	PaymentTimeoutSec uint32
	DefaultLspId      *string
	ApiKey            *string
	MaxfeePercent     float64
	ExemptfeeMsat     uint64
	NodeConfig        NodeConfig
}

func DefaultConfig

func DefaultConfig(envType EnvironmentType, apiKey string, nodeConfig NodeConfig) Config

func (*Config) Destroy

func (r *Config) Destroy()

type CurrencyInfo

type CurrencyInfo struct {
	Name            string
	FractionSize    uint32
	Spacing         *uint32
	Symbol          *Symbol
	UniqSymbol      *Symbol
	LocalizedName   *[]LocalizedName
	LocaleOverrides *[]LocaleOverrides
}

func (*CurrencyInfo) Destroy

func (r *CurrencyInfo) Destroy()

type EnvironmentType

type EnvironmentType uint
const (
	EnvironmentTypeProduction EnvironmentType = 1
	EnvironmentTypeStaging    EnvironmentType = 2
)

type EventListener

type EventListener interface {
	OnEvent(e BreezEvent)
}

Declaration and FfiConverters for EventListener Callback Interface

type FeeratePreset

type FeeratePreset uint
const (
	FeeratePresetRegular  FeeratePreset = 1
	FeeratePresetEconomy  FeeratePreset = 2
	FeeratePresetPriority FeeratePreset = 3
)

type FfiConverterBlockingBreezServices

type FfiConverterBlockingBreezServices struct{}

type FfiConverterCallbackInterface

type FfiConverterCallbackInterface[CallbackInterface any] struct {
	// contains filtered or unexported fields
}

type FfiConverterOptionalSequenceTypeLocaleOverrides

type FfiConverterOptionalSequenceTypeLocaleOverrides struct{}

type FfiConverterOptionalSequenceTypeLocalizedName

type FfiConverterOptionalSequenceTypeLocalizedName struct{}

type FfiConverterOptionalSequencestring added in v0.2.5

type FfiConverterOptionalSequencestring struct{}

type FfiConverterOptionalSequenceuint8 added in v0.2.0

type FfiConverterOptionalSequenceuint8 struct{}

type FfiConverterOptionalTypeGreenlightCredentials

type FfiConverterOptionalTypeGreenlightCredentials struct{}

type FfiConverterOptionalTypeLnInvoice

type FfiConverterOptionalTypeLnInvoice struct{}

type FfiConverterOptionalTypeLspInformation

type FfiConverterOptionalTypeLspInformation struct{}

type FfiConverterOptionalTypeOpeningFeeParams added in v0.2.0

type FfiConverterOptionalTypeOpeningFeeParams struct{}

type FfiConverterOptionalTypePayment

type FfiConverterOptionalTypePayment struct{}

type FfiConverterOptionalTypeSuccessActionProcessed

type FfiConverterOptionalTypeSuccessActionProcessed struct{}

type FfiConverterOptionalTypeSwapInfo

type FfiConverterOptionalTypeSwapInfo struct{}

type FfiConverterOptionalTypeSymbol

type FfiConverterOptionalTypeSymbol struct{}

type FfiConverterOptionalbool

type FfiConverterOptionalbool struct{}

type FfiConverterOptionalint64

type FfiConverterOptionalint64 struct{}

type FfiConverterOptionalstring

type FfiConverterOptionalstring struct{}

type FfiConverterOptionaluint32

type FfiConverterOptionaluint32 struct{}

type FfiConverterOptionaluint64

type FfiConverterOptionaluint64 struct{}

type FfiConverterSequenceTypeFiatCurrency

type FfiConverterSequenceTypeFiatCurrency struct{}

type FfiConverterSequenceTypeLocaleOverrides

type FfiConverterSequenceTypeLocaleOverrides struct{}

type FfiConverterSequenceTypeLocalizedName

type FfiConverterSequenceTypeLocalizedName struct{}

type FfiConverterSequenceTypeLspInformation

type FfiConverterSequenceTypeLspInformation struct{}

type FfiConverterSequenceTypeOpeningFeeParams added in v0.2.0

type FfiConverterSequenceTypeOpeningFeeParams struct{}

type FfiConverterSequenceTypePayment

type FfiConverterSequenceTypePayment struct{}

type FfiConverterSequenceTypeRate

type FfiConverterSequenceTypeRate struct{}

type FfiConverterSequenceTypeReverseSwapInfo

type FfiConverterSequenceTypeReverseSwapInfo struct{}

type FfiConverterSequenceTypeRouteHint

type FfiConverterSequenceTypeRouteHint struct{}

type FfiConverterSequenceTypeRouteHintHop

type FfiConverterSequenceTypeRouteHintHop struct{}

type FfiConverterSequenceTypeSwapInfo

type FfiConverterSequenceTypeSwapInfo struct{}

type FfiConverterSequenceTypeUnspentTransactionOutput

type FfiConverterSequenceTypeUnspentTransactionOutput struct{}

type FfiConverterSequencestring

type FfiConverterSequencestring struct{}

type FfiConverterSequenceuint8

type FfiConverterSequenceuint8 struct{}

type FfiConverterTypeAesSuccessActionDataDecrypted

type FfiConverterTypeAesSuccessActionDataDecrypted struct{}

type FfiConverterTypeBackupFailedData

type FfiConverterTypeBackupFailedData struct{}

type FfiConverterTypeBackupStatus

type FfiConverterTypeBackupStatus struct{}

type FfiConverterTypeBitcoinAddressData

type FfiConverterTypeBitcoinAddressData struct{}

type FfiConverterTypeBreezEvent

type FfiConverterTypeBreezEvent struct{}

type FfiConverterTypeBuyBitcoinProvider

type FfiConverterTypeBuyBitcoinProvider struct{}

type FfiConverterTypeBuyBitcoinRequest added in v0.2.0

type FfiConverterTypeBuyBitcoinRequest struct{}

type FfiConverterTypeBuyBitcoinResponse added in v0.2.0

type FfiConverterTypeBuyBitcoinResponse struct{}

type FfiConverterTypeChannelState

type FfiConverterTypeChannelState struct{}

type FfiConverterTypeCheckMessageRequest added in v0.2.0

type FfiConverterTypeCheckMessageRequest struct{}

type FfiConverterTypeCheckMessageResponse added in v0.2.0

type FfiConverterTypeCheckMessageResponse struct{}

type FfiConverterTypeClosedChannelPaymentDetails

type FfiConverterTypeClosedChannelPaymentDetails struct{}

type FfiConverterTypeConfig

type FfiConverterTypeConfig struct{}

type FfiConverterTypeCurrencyInfo

type FfiConverterTypeCurrencyInfo struct{}

type FfiConverterTypeEnvironmentType

type FfiConverterTypeEnvironmentType struct{}

type FfiConverterTypeEventListener

type FfiConverterTypeEventListener struct {
	FfiConverterCallbackInterface[EventListener]
}

type FfiConverterTypeFeeratePreset

type FfiConverterTypeFeeratePreset struct{}

type FfiConverterTypeFiatCurrency

type FfiConverterTypeFiatCurrency struct{}

type FfiConverterTypeGreenlightCredentials

type FfiConverterTypeGreenlightCredentials struct{}

type FfiConverterTypeGreenlightNodeConfig

type FfiConverterTypeGreenlightNodeConfig struct{}

type FfiConverterTypeInputType

type FfiConverterTypeInputType struct{}

type FfiConverterTypeInvoicePaidDetails

type FfiConverterTypeInvoicePaidDetails struct{}

type FfiConverterTypeListPaymentsRequest added in v0.2.5

type FfiConverterTypeListPaymentsRequest struct{}

type FfiConverterTypeLnInvoice

type FfiConverterTypeLnInvoice struct{}

type FfiConverterTypeLnPaymentDetails

type FfiConverterTypeLnPaymentDetails struct{}

type FfiConverterTypeLnUrlAuthRequestData

type FfiConverterTypeLnUrlAuthRequestData struct{}

type FfiConverterTypeLnUrlCallbackStatus

type FfiConverterTypeLnUrlCallbackStatus struct{}

type FfiConverterTypeLnUrlErrorData

type FfiConverterTypeLnUrlErrorData struct{}

type FfiConverterTypeLnUrlPayRequest added in v0.2.7

type FfiConverterTypeLnUrlPayRequest struct{}

type FfiConverterTypeLnUrlPayRequestData

type FfiConverterTypeLnUrlPayRequestData struct{}

type FfiConverterTypeLnUrlPayResult

type FfiConverterTypeLnUrlPayResult struct{}

type FfiConverterTypeLnUrlWithdrawRequest added in v0.2.7

type FfiConverterTypeLnUrlWithdrawRequest struct{}

type FfiConverterTypeLnUrlWithdrawRequestData

type FfiConverterTypeLnUrlWithdrawRequestData struct{}

type FfiConverterTypeLnUrlWithdrawResult added in v0.2.5

type FfiConverterTypeLnUrlWithdrawResult struct{}

type FfiConverterTypeLnUrlWithdrawSuccessData added in v0.2.5

type FfiConverterTypeLnUrlWithdrawSuccessData struct{}

type FfiConverterTypeLocaleOverrides

type FfiConverterTypeLocaleOverrides struct{}

type FfiConverterTypeLocalizedName

type FfiConverterTypeLocalizedName struct{}

type FfiConverterTypeLogEntry

type FfiConverterTypeLogEntry struct{}

type FfiConverterTypeLogStream

type FfiConverterTypeLogStream struct {
	FfiConverterCallbackInterface[LogStream]
}

type FfiConverterTypeLspInformation

type FfiConverterTypeLspInformation struct{}

type FfiConverterTypeMessageSuccessActionData

type FfiConverterTypeMessageSuccessActionData struct{}

type FfiConverterTypeMetadataItem

type FfiConverterTypeMetadataItem struct{}

type FfiConverterTypeNetwork

type FfiConverterTypeNetwork struct{}

type FfiConverterTypeNodeConfig

type FfiConverterTypeNodeConfig struct{}

type FfiConverterTypeNodeState

type FfiConverterTypeNodeState struct{}

type FfiConverterTypeOpenChannelFeeRequest added in v0.2.3

type FfiConverterTypeOpenChannelFeeRequest struct{}

type FfiConverterTypeOpenChannelFeeResponse added in v0.2.3

type FfiConverterTypeOpenChannelFeeResponse struct{}

type FfiConverterTypeOpeningFeeParams added in v0.2.0

type FfiConverterTypeOpeningFeeParams struct{}

type FfiConverterTypeOpeningFeeParamsMenu added in v0.2.0

type FfiConverterTypeOpeningFeeParamsMenu struct{}

type FfiConverterTypePayment

type FfiConverterTypePayment struct{}

type FfiConverterTypePaymentDetails

type FfiConverterTypePaymentDetails struct{}

type FfiConverterTypePaymentFailedData

type FfiConverterTypePaymentFailedData struct{}

type FfiConverterTypePaymentStatus added in v0.2.5

type FfiConverterTypePaymentStatus struct{}

type FfiConverterTypePaymentType

type FfiConverterTypePaymentType struct{}

type FfiConverterTypePaymentTypeFilter

type FfiConverterTypePaymentTypeFilter struct{}

type FfiConverterTypeRate

type FfiConverterTypeRate struct{}

type FfiConverterTypeReceiveOnchainRequest added in v0.2.0

type FfiConverterTypeReceiveOnchainRequest struct{}

type FfiConverterTypeReceivePaymentRequest added in v0.2.0

type FfiConverterTypeReceivePaymentRequest struct{}

type FfiConverterTypeReceivePaymentResponse added in v0.2.0

type FfiConverterTypeReceivePaymentResponse struct{}

type FfiConverterTypeRecommendedFees

type FfiConverterTypeRecommendedFees struct{}

type FfiConverterTypeRefundRequest added in v0.2.7

type FfiConverterTypeRefundRequest struct{}

type FfiConverterTypeRefundResponse added in v0.2.7

type FfiConverterTypeRefundResponse struct{}

type FfiConverterTypeReverseSwapFeesRequest added in v0.2.0

type FfiConverterTypeReverseSwapFeesRequest struct{}

type FfiConverterTypeReverseSwapInfo

type FfiConverterTypeReverseSwapInfo struct{}

type FfiConverterTypeReverseSwapPairInfo

type FfiConverterTypeReverseSwapPairInfo struct{}

type FfiConverterTypeReverseSwapStatus

type FfiConverterTypeReverseSwapStatus struct{}

type FfiConverterTypeRouteHint

type FfiConverterTypeRouteHint struct{}

type FfiConverterTypeRouteHintHop

type FfiConverterTypeRouteHintHop struct{}

type FfiConverterTypeSdkError

type FfiConverterTypeSdkError struct{}

type FfiConverterTypeSendOnchainRequest added in v0.2.7

type FfiConverterTypeSendOnchainRequest struct{}

type FfiConverterTypeSendOnchainResponse added in v0.2.7

type FfiConverterTypeSendOnchainResponse struct{}

type FfiConverterTypeSendPaymentRequest added in v0.2.7

type FfiConverterTypeSendPaymentRequest struct{}

type FfiConverterTypeSendPaymentResponse added in v0.2.7

type FfiConverterTypeSendPaymentResponse struct{}

type FfiConverterTypeSendSpontaneousPaymentRequest added in v0.2.7

type FfiConverterTypeSendSpontaneousPaymentRequest struct{}

type FfiConverterTypeSignMessageRequest added in v0.2.0

type FfiConverterTypeSignMessageRequest struct{}

type FfiConverterTypeSignMessageResponse added in v0.2.0

type FfiConverterTypeSignMessageResponse struct{}

type FfiConverterTypeStaticBackupRequest added in v0.2.5

type FfiConverterTypeStaticBackupRequest struct{}

type FfiConverterTypeStaticBackupResponse added in v0.2.5

type FfiConverterTypeStaticBackupResponse struct{}

type FfiConverterTypeSuccessActionProcessed

type FfiConverterTypeSuccessActionProcessed struct{}

type FfiConverterTypeSwapInfo

type FfiConverterTypeSwapInfo struct{}

type FfiConverterTypeSwapStatus

type FfiConverterTypeSwapStatus struct{}

type FfiConverterTypeSweepRequest added in v0.2.5

type FfiConverterTypeSweepRequest struct{}

type FfiConverterTypeSweepResponse added in v0.2.5

type FfiConverterTypeSweepResponse struct{}

type FfiConverterTypeSymbol

type FfiConverterTypeSymbol struct{}

type FfiConverterTypeUnspentTransactionOutput

type FfiConverterTypeUnspentTransactionOutput struct{}

type FfiConverterTypeUrlSuccessActionData

type FfiConverterTypeUrlSuccessActionData struct{}

type FfiConverterbool

type FfiConverterbool struct{}

type FfiConverterfloat64

type FfiConverterfloat64 struct{}

type FfiConverterint32

type FfiConverterint32 struct{}

type FfiConverterint64

type FfiConverterint64 struct{}

type FfiConverterstring

type FfiConverterstring struct{}

type FfiConverteruint16

type FfiConverteruint16 struct{}

type FfiConverteruint32

type FfiConverteruint32 struct{}

type FfiConverteruint64

type FfiConverteruint64 struct{}

type FfiConverteruint8

type FfiConverteruint8 struct{}

type FfiDestroyerBlockingBreezServices

type FfiDestroyerBlockingBreezServices struct{}

type FfiDestroyerOptionalSequenceTypeLocaleOverrides

type FfiDestroyerOptionalSequenceTypeLocaleOverrides struct{}

type FfiDestroyerOptionalSequenceTypeLocalizedName

type FfiDestroyerOptionalSequenceTypeLocalizedName struct{}

type FfiDestroyerOptionalSequencestring added in v0.2.5

type FfiDestroyerOptionalSequencestring struct{}

type FfiDestroyerOptionalSequenceuint8 added in v0.2.0

type FfiDestroyerOptionalSequenceuint8 struct{}

type FfiDestroyerOptionalTypeGreenlightCredentials

type FfiDestroyerOptionalTypeGreenlightCredentials struct{}

type FfiDestroyerOptionalTypeLnInvoice

type FfiDestroyerOptionalTypeLnInvoice struct{}

type FfiDestroyerOptionalTypeLspInformation

type FfiDestroyerOptionalTypeLspInformation struct{}

type FfiDestroyerOptionalTypeOpeningFeeParams added in v0.2.0

type FfiDestroyerOptionalTypeOpeningFeeParams struct{}

type FfiDestroyerOptionalTypePayment

type FfiDestroyerOptionalTypePayment struct{}

type FfiDestroyerOptionalTypeSuccessActionProcessed

type FfiDestroyerOptionalTypeSuccessActionProcessed struct{}

type FfiDestroyerOptionalTypeSwapInfo

type FfiDestroyerOptionalTypeSwapInfo struct{}

type FfiDestroyerOptionalTypeSymbol

type FfiDestroyerOptionalTypeSymbol struct{}

type FfiDestroyerOptionalbool

type FfiDestroyerOptionalbool struct{}

type FfiDestroyerOptionalint64

type FfiDestroyerOptionalint64 struct{}

type FfiDestroyerOptionalstring

type FfiDestroyerOptionalstring struct{}

type FfiDestroyerOptionaluint32

type FfiDestroyerOptionaluint32 struct{}

type FfiDestroyerOptionaluint64

type FfiDestroyerOptionaluint64 struct{}

type FfiDestroyerSequenceTypeFiatCurrency

type FfiDestroyerSequenceTypeFiatCurrency struct{}

type FfiDestroyerSequenceTypeLocaleOverrides

type FfiDestroyerSequenceTypeLocaleOverrides struct{}

type FfiDestroyerSequenceTypeLocalizedName

type FfiDestroyerSequenceTypeLocalizedName struct{}

type FfiDestroyerSequenceTypeLspInformation

type FfiDestroyerSequenceTypeLspInformation struct{}

type FfiDestroyerSequenceTypeOpeningFeeParams added in v0.2.0

type FfiDestroyerSequenceTypeOpeningFeeParams struct{}

type FfiDestroyerSequenceTypePayment

type FfiDestroyerSequenceTypePayment struct{}

type FfiDestroyerSequenceTypeRate

type FfiDestroyerSequenceTypeRate struct{}

type FfiDestroyerSequenceTypeReverseSwapInfo

type FfiDestroyerSequenceTypeReverseSwapInfo struct{}

type FfiDestroyerSequenceTypeRouteHint

type FfiDestroyerSequenceTypeRouteHint struct{}

type FfiDestroyerSequenceTypeRouteHintHop

type FfiDestroyerSequenceTypeRouteHintHop struct{}

type FfiDestroyerSequenceTypeSwapInfo

type FfiDestroyerSequenceTypeSwapInfo struct{}

type FfiDestroyerSequenceTypeUnspentTransactionOutput

type FfiDestroyerSequenceTypeUnspentTransactionOutput struct{}

type FfiDestroyerSequencestring

type FfiDestroyerSequencestring struct{}

type FfiDestroyerSequenceuint8

type FfiDestroyerSequenceuint8 struct{}

type FfiDestroyerTypeAesSuccessActionDataDecrypted

type FfiDestroyerTypeAesSuccessActionDataDecrypted struct{}

type FfiDestroyerTypeBackupFailedData

type FfiDestroyerTypeBackupFailedData struct{}

type FfiDestroyerTypeBackupStatus

type FfiDestroyerTypeBackupStatus struct{}

type FfiDestroyerTypeBitcoinAddressData

type FfiDestroyerTypeBitcoinAddressData struct{}

type FfiDestroyerTypeBreezEvent

type FfiDestroyerTypeBreezEvent struct{}

type FfiDestroyerTypeBuyBitcoinProvider

type FfiDestroyerTypeBuyBitcoinProvider struct{}

type FfiDestroyerTypeBuyBitcoinRequest added in v0.2.0

type FfiDestroyerTypeBuyBitcoinRequest struct{}

type FfiDestroyerTypeBuyBitcoinResponse added in v0.2.0

type FfiDestroyerTypeBuyBitcoinResponse struct{}

type FfiDestroyerTypeChannelState

type FfiDestroyerTypeChannelState struct{}

type FfiDestroyerTypeCheckMessageRequest added in v0.2.0

type FfiDestroyerTypeCheckMessageRequest struct{}

type FfiDestroyerTypeCheckMessageResponse added in v0.2.0

type FfiDestroyerTypeCheckMessageResponse struct{}

type FfiDestroyerTypeClosedChannelPaymentDetails

type FfiDestroyerTypeClosedChannelPaymentDetails struct{}

type FfiDestroyerTypeConfig

type FfiDestroyerTypeConfig struct{}

type FfiDestroyerTypeCurrencyInfo

type FfiDestroyerTypeCurrencyInfo struct{}

type FfiDestroyerTypeEnvironmentType

type FfiDestroyerTypeEnvironmentType struct{}

type FfiDestroyerTypeEventListener

type FfiDestroyerTypeEventListener struct{}

type FfiDestroyerTypeFeeratePreset

type FfiDestroyerTypeFeeratePreset struct{}

type FfiDestroyerTypeFiatCurrency

type FfiDestroyerTypeFiatCurrency struct{}

type FfiDestroyerTypeGreenlightCredentials

type FfiDestroyerTypeGreenlightCredentials struct{}

type FfiDestroyerTypeGreenlightNodeConfig

type FfiDestroyerTypeGreenlightNodeConfig struct{}

type FfiDestroyerTypeInputType

type FfiDestroyerTypeInputType struct{}

type FfiDestroyerTypeInvoicePaidDetails

type FfiDestroyerTypeInvoicePaidDetails struct{}

type FfiDestroyerTypeListPaymentsRequest added in v0.2.5

type FfiDestroyerTypeListPaymentsRequest struct{}

type FfiDestroyerTypeLnInvoice

type FfiDestroyerTypeLnInvoice struct{}

type FfiDestroyerTypeLnPaymentDetails

type FfiDestroyerTypeLnPaymentDetails struct{}

type FfiDestroyerTypeLnUrlAuthRequestData

type FfiDestroyerTypeLnUrlAuthRequestData struct{}

type FfiDestroyerTypeLnUrlCallbackStatus

type FfiDestroyerTypeLnUrlCallbackStatus struct{}

type FfiDestroyerTypeLnUrlErrorData

type FfiDestroyerTypeLnUrlErrorData struct{}

type FfiDestroyerTypeLnUrlPayRequest added in v0.2.7

type FfiDestroyerTypeLnUrlPayRequest struct{}

type FfiDestroyerTypeLnUrlPayRequestData

type FfiDestroyerTypeLnUrlPayRequestData struct{}

type FfiDestroyerTypeLnUrlPayResult

type FfiDestroyerTypeLnUrlPayResult struct{}

type FfiDestroyerTypeLnUrlWithdrawRequest added in v0.2.7

type FfiDestroyerTypeLnUrlWithdrawRequest struct{}

type FfiDestroyerTypeLnUrlWithdrawRequestData

type FfiDestroyerTypeLnUrlWithdrawRequestData struct{}

type FfiDestroyerTypeLnUrlWithdrawResult added in v0.2.5

type FfiDestroyerTypeLnUrlWithdrawResult struct{}

type FfiDestroyerTypeLnUrlWithdrawSuccessData added in v0.2.5

type FfiDestroyerTypeLnUrlWithdrawSuccessData struct{}

type FfiDestroyerTypeLocaleOverrides

type FfiDestroyerTypeLocaleOverrides struct{}

type FfiDestroyerTypeLocalizedName

type FfiDestroyerTypeLocalizedName struct{}

type FfiDestroyerTypeLogEntry

type FfiDestroyerTypeLogEntry struct{}

type FfiDestroyerTypeLogStream

type FfiDestroyerTypeLogStream struct{}

type FfiDestroyerTypeLspInformation

type FfiDestroyerTypeLspInformation struct{}

type FfiDestroyerTypeMessageSuccessActionData

type FfiDestroyerTypeMessageSuccessActionData struct{}

type FfiDestroyerTypeMetadataItem

type FfiDestroyerTypeMetadataItem struct{}

type FfiDestroyerTypeNetwork

type FfiDestroyerTypeNetwork struct{}

type FfiDestroyerTypeNodeConfig

type FfiDestroyerTypeNodeConfig struct{}

type FfiDestroyerTypeNodeState

type FfiDestroyerTypeNodeState struct{}

type FfiDestroyerTypeOpenChannelFeeRequest added in v0.2.3

type FfiDestroyerTypeOpenChannelFeeRequest struct{}

type FfiDestroyerTypeOpenChannelFeeResponse added in v0.2.3

type FfiDestroyerTypeOpenChannelFeeResponse struct{}

type FfiDestroyerTypeOpeningFeeParams added in v0.2.0

type FfiDestroyerTypeOpeningFeeParams struct{}

type FfiDestroyerTypeOpeningFeeParamsMenu added in v0.2.0

type FfiDestroyerTypeOpeningFeeParamsMenu struct{}

type FfiDestroyerTypePayment

type FfiDestroyerTypePayment struct{}

type FfiDestroyerTypePaymentDetails

type FfiDestroyerTypePaymentDetails struct{}

type FfiDestroyerTypePaymentFailedData

type FfiDestroyerTypePaymentFailedData struct{}

type FfiDestroyerTypePaymentStatus added in v0.2.5

type FfiDestroyerTypePaymentStatus struct{}

type FfiDestroyerTypePaymentType

type FfiDestroyerTypePaymentType struct{}

type FfiDestroyerTypePaymentTypeFilter

type FfiDestroyerTypePaymentTypeFilter struct{}

type FfiDestroyerTypeRate

type FfiDestroyerTypeRate struct{}

type FfiDestroyerTypeReceiveOnchainRequest added in v0.2.0

type FfiDestroyerTypeReceiveOnchainRequest struct{}

type FfiDestroyerTypeReceivePaymentRequest added in v0.2.0

type FfiDestroyerTypeReceivePaymentRequest struct{}

type FfiDestroyerTypeReceivePaymentResponse added in v0.2.0

type FfiDestroyerTypeReceivePaymentResponse struct{}

type FfiDestroyerTypeRecommendedFees

type FfiDestroyerTypeRecommendedFees struct{}

type FfiDestroyerTypeRefundRequest added in v0.2.7

type FfiDestroyerTypeRefundRequest struct{}

type FfiDestroyerTypeRefundResponse added in v0.2.7

type FfiDestroyerTypeRefundResponse struct{}

type FfiDestroyerTypeReverseSwapFeesRequest added in v0.2.0

type FfiDestroyerTypeReverseSwapFeesRequest struct{}

type FfiDestroyerTypeReverseSwapInfo

type FfiDestroyerTypeReverseSwapInfo struct{}

type FfiDestroyerTypeReverseSwapPairInfo

type FfiDestroyerTypeReverseSwapPairInfo struct{}

type FfiDestroyerTypeReverseSwapStatus

type FfiDestroyerTypeReverseSwapStatus struct{}

type FfiDestroyerTypeRouteHint

type FfiDestroyerTypeRouteHint struct{}

type FfiDestroyerTypeRouteHintHop

type FfiDestroyerTypeRouteHintHop struct{}

type FfiDestroyerTypeSendOnchainRequest added in v0.2.7

type FfiDestroyerTypeSendOnchainRequest struct{}

type FfiDestroyerTypeSendOnchainResponse added in v0.2.7

type FfiDestroyerTypeSendOnchainResponse struct{}

type FfiDestroyerTypeSendPaymentRequest added in v0.2.7

type FfiDestroyerTypeSendPaymentRequest struct{}

type FfiDestroyerTypeSendPaymentResponse added in v0.2.7

type FfiDestroyerTypeSendPaymentResponse struct{}

type FfiDestroyerTypeSendSpontaneousPaymentRequest added in v0.2.7

type FfiDestroyerTypeSendSpontaneousPaymentRequest struct{}

type FfiDestroyerTypeSignMessageRequest added in v0.2.0

type FfiDestroyerTypeSignMessageRequest struct{}

type FfiDestroyerTypeSignMessageResponse added in v0.2.0

type FfiDestroyerTypeSignMessageResponse struct{}

type FfiDestroyerTypeStaticBackupRequest added in v0.2.5

type FfiDestroyerTypeStaticBackupRequest struct{}

type FfiDestroyerTypeStaticBackupResponse added in v0.2.5

type FfiDestroyerTypeStaticBackupResponse struct{}

type FfiDestroyerTypeSuccessActionProcessed

type FfiDestroyerTypeSuccessActionProcessed struct{}

type FfiDestroyerTypeSwapInfo

type FfiDestroyerTypeSwapInfo struct{}

type FfiDestroyerTypeSwapStatus

type FfiDestroyerTypeSwapStatus struct{}

type FfiDestroyerTypeSweepRequest added in v0.2.5

type FfiDestroyerTypeSweepRequest struct{}

type FfiDestroyerTypeSweepResponse added in v0.2.5

type FfiDestroyerTypeSweepResponse struct{}

type FfiDestroyerTypeSymbol

type FfiDestroyerTypeSymbol struct{}

type FfiDestroyerTypeUnspentTransactionOutput

type FfiDestroyerTypeUnspentTransactionOutput struct{}

type FfiDestroyerTypeUrlSuccessActionData

type FfiDestroyerTypeUrlSuccessActionData struct{}

type FfiDestroyerbool

type FfiDestroyerbool struct{}

type FfiDestroyerfloat64

type FfiDestroyerfloat64 struct{}

type FfiDestroyerint32

type FfiDestroyerint32 struct{}

type FfiDestroyerint64

type FfiDestroyerint64 struct{}

type FfiDestroyerstring

type FfiDestroyerstring struct{}

type FfiDestroyeruint16

type FfiDestroyeruint16 struct{}

type FfiDestroyeruint32

type FfiDestroyeruint32 struct{}

type FfiDestroyeruint64

type FfiDestroyeruint64 struct{}

type FfiDestroyeruint8

type FfiDestroyeruint8 struct{}

type FfiObject

type FfiObject struct {
	// contains filtered or unexported fields
}

type FiatCurrency

type FiatCurrency struct {
	Id   string
	Info CurrencyInfo
}

func (*FiatCurrency) Destroy

func (r *FiatCurrency) Destroy()

type GreenlightCredentials

type GreenlightCredentials struct {
	DeviceKey  []uint8
	DeviceCert []uint8
}

func (*GreenlightCredentials) Destroy

func (r *GreenlightCredentials) Destroy()

type GreenlightNodeConfig

type GreenlightNodeConfig struct {
	PartnerCredentials *GreenlightCredentials
	InviteCode         *string
}

func (*GreenlightNodeConfig) Destroy

func (r *GreenlightNodeConfig) Destroy()

type InputType

type InputType interface {
	Destroy()
}

func ParseInput

func ParseInput(s string) (InputType, error)

type InputTypeBitcoinAddress

type InputTypeBitcoinAddress struct {
	Address BitcoinAddressData
}

func (InputTypeBitcoinAddress) Destroy

func (e InputTypeBitcoinAddress) Destroy()

type InputTypeBolt11

type InputTypeBolt11 struct {
	Invoice LnInvoice
}

func (InputTypeBolt11) Destroy

func (e InputTypeBolt11) Destroy()

type InputTypeLnUrlAuth

type InputTypeLnUrlAuth struct {
	Data LnUrlAuthRequestData
}

func (InputTypeLnUrlAuth) Destroy

func (e InputTypeLnUrlAuth) Destroy()

type InputTypeLnUrlError

type InputTypeLnUrlError struct {
	Data LnUrlErrorData
}

func (InputTypeLnUrlError) Destroy

func (e InputTypeLnUrlError) Destroy()

type InputTypeLnUrlPay

type InputTypeLnUrlPay struct {
	Data LnUrlPayRequestData
}

func (InputTypeLnUrlPay) Destroy

func (e InputTypeLnUrlPay) Destroy()

type InputTypeLnUrlWithdraw

type InputTypeLnUrlWithdraw struct {
	Data LnUrlWithdrawRequestData
}

func (InputTypeLnUrlWithdraw) Destroy

func (e InputTypeLnUrlWithdraw) Destroy()

type InputTypeNodeId

type InputTypeNodeId struct {
	NodeId string
}

func (InputTypeNodeId) Destroy

func (e InputTypeNodeId) Destroy()

type InputTypeUrl

type InputTypeUrl struct {
	Url string
}

func (InputTypeUrl) Destroy

func (e InputTypeUrl) Destroy()

type InvoicePaidDetails

type InvoicePaidDetails struct {
	PaymentHash string
	Bolt11      string
}

func (*InvoicePaidDetails) Destroy

func (r *InvoicePaidDetails) Destroy()

type ListPaymentsRequest added in v0.2.5

type ListPaymentsRequest struct {
	Filter          PaymentTypeFilter
	FromTimestamp   *int64
	ToTimestamp     *int64
	IncludeFailures *bool
	Offset          *uint32
	Limit           *uint32
}

func (*ListPaymentsRequest) Destroy added in v0.2.5

func (r *ListPaymentsRequest) Destroy()

type LnInvoice

type LnInvoice struct {
	Bolt11          string
	PayeePubkey     string
	PaymentHash     string
	Description     *string
	DescriptionHash *string
	AmountMsat      *uint64
	Timestamp       uint64
	Expiry          uint64
	RoutingHints    []RouteHint
	PaymentSecret   []uint8
}

func ParseInvoice

func ParseInvoice(invoice string) (LnInvoice, error)

func (*LnInvoice) Destroy

func (r *LnInvoice) Destroy()

type LnPaymentDetails

type LnPaymentDetails struct {
	PaymentHash           string
	Label                 string
	DestinationPubkey     string
	PaymentPreimage       string
	Keysend               bool
	Bolt11                string
	LnurlSuccessAction    *SuccessActionProcessed
	LnurlMetadata         *string
	LnAddress             *string
	LnurlWithdrawEndpoint *string
}

func (*LnPaymentDetails) Destroy

func (r *LnPaymentDetails) Destroy()

type LnUrlAuthRequestData

type LnUrlAuthRequestData struct {
	K1     string
	Action *string
	Domain string
	Url    string
}

func (*LnUrlAuthRequestData) Destroy

func (r *LnUrlAuthRequestData) Destroy()

type LnUrlCallbackStatus

type LnUrlCallbackStatus interface {
	Destroy()
}

type LnUrlCallbackStatusErrorStatus

type LnUrlCallbackStatusErrorStatus struct {
	Data LnUrlErrorData
}

func (LnUrlCallbackStatusErrorStatus) Destroy

func (e LnUrlCallbackStatusErrorStatus) Destroy()

type LnUrlCallbackStatusOk

type LnUrlCallbackStatusOk struct {
}

func (LnUrlCallbackStatusOk) Destroy

func (e LnUrlCallbackStatusOk) Destroy()

type LnUrlErrorData

type LnUrlErrorData struct {
	Reason string
}

func (*LnUrlErrorData) Destroy

func (r *LnUrlErrorData) Destroy()

type LnUrlPayRequest added in v0.2.7

type LnUrlPayRequest struct {
	Data       LnUrlPayRequestData
	AmountMsat uint64
	Comment    *string
}

func (*LnUrlPayRequest) Destroy added in v0.2.7

func (r *LnUrlPayRequest) Destroy()

type LnUrlPayRequestData

type LnUrlPayRequestData struct {
	Callback       string
	MinSendable    uint64
	MaxSendable    uint64
	MetadataStr    string
	CommentAllowed uint16
	Domain         string
	LnAddress      *string
}

func (*LnUrlPayRequestData) Destroy

func (r *LnUrlPayRequestData) Destroy()

type LnUrlPayResult

type LnUrlPayResult interface {
	Destroy()
}

type LnUrlPayResultEndpointError

type LnUrlPayResultEndpointError struct {
	Data LnUrlErrorData
}

func (LnUrlPayResultEndpointError) Destroy

func (e LnUrlPayResultEndpointError) Destroy()

type LnUrlPayResultEndpointSuccess

type LnUrlPayResultEndpointSuccess struct {
	Data *SuccessActionProcessed
}

func (LnUrlPayResultEndpointSuccess) Destroy

func (e LnUrlPayResultEndpointSuccess) Destroy()

type LnUrlWithdrawRequest added in v0.2.7

type LnUrlWithdrawRequest struct {
	Data        LnUrlWithdrawRequestData
	AmountMsat  uint64
	Description *string
}

func (*LnUrlWithdrawRequest) Destroy added in v0.2.7

func (r *LnUrlWithdrawRequest) Destroy()

type LnUrlWithdrawRequestData

type LnUrlWithdrawRequestData struct {
	Callback           string
	K1                 string
	DefaultDescription string
	MinWithdrawable    uint64
	MaxWithdrawable    uint64
}

func (*LnUrlWithdrawRequestData) Destroy

func (r *LnUrlWithdrawRequestData) Destroy()

type LnUrlWithdrawResult added in v0.2.5

type LnUrlWithdrawResult interface {
	Destroy()
}

type LnUrlWithdrawResultErrorStatus added in v0.2.5

type LnUrlWithdrawResultErrorStatus struct {
	Data LnUrlErrorData
}

func (LnUrlWithdrawResultErrorStatus) Destroy added in v0.2.5

func (e LnUrlWithdrawResultErrorStatus) Destroy()

type LnUrlWithdrawResultOk added in v0.2.5

type LnUrlWithdrawResultOk struct {
	Data LnUrlWithdrawSuccessData
}

func (LnUrlWithdrawResultOk) Destroy added in v0.2.5

func (e LnUrlWithdrawResultOk) Destroy()

type LnUrlWithdrawSuccessData added in v0.2.5

type LnUrlWithdrawSuccessData struct {
	Invoice LnInvoice
}

func (*LnUrlWithdrawSuccessData) Destroy added in v0.2.5

func (r *LnUrlWithdrawSuccessData) Destroy()

type LocaleOverrides

type LocaleOverrides struct {
	Locale  string
	Spacing *uint32
	Symbol  Symbol
}

func (*LocaleOverrides) Destroy

func (r *LocaleOverrides) Destroy()

type LocalizedName

type LocalizedName struct {
	Locale string
	Name   string
}

func (*LocalizedName) Destroy

func (r *LocalizedName) Destroy()

type LogEntry

type LogEntry struct {
	Line  string
	Level string
}

func (*LogEntry) Destroy

func (r *LogEntry) Destroy()

type LogStream

type LogStream interface {
	Log(l LogEntry)
}

Declaration and FfiConverters for LogStream Callback Interface

type LspInformation

type LspInformation struct {
	Id                   string
	Name                 string
	WidgetUrl            string
	Pubkey               string
	Host                 string
	ChannelCapacity      int64
	TargetConf           int32
	BaseFeeMsat          int64
	FeeRate              float64
	TimeLockDelta        uint32
	MinHtlcMsat          int64
	LspPubkey            []uint8
	OpeningFeeParamsList OpeningFeeParamsMenu
}

func (*LspInformation) Destroy

func (r *LspInformation) Destroy()

type MessageSuccessActionData

type MessageSuccessActionData struct {
	Message string
}

func (*MessageSuccessActionData) Destroy

func (r *MessageSuccessActionData) Destroy()

type MetadataItem

type MetadataItem struct {
	Key   string
	Value string
}

func (*MetadataItem) Destroy

func (r *MetadataItem) Destroy()

type Network

type Network uint
const (
	NetworkBitcoin Network = 1
	NetworkTestnet Network = 2
	NetworkSignet  Network = 3
	NetworkRegtest Network = 4
)

type NodeConfig

type NodeConfig interface {
	Destroy()
}

type NodeConfigGreenlight

type NodeConfigGreenlight struct {
	Config GreenlightNodeConfig
}

func (NodeConfigGreenlight) Destroy

func (e NodeConfigGreenlight) Destroy()

type NodeState

type NodeState struct {
	Id                         string
	BlockHeight                uint32
	ChannelsBalanceMsat        uint64
	OnchainBalanceMsat         uint64
	Utxos                      []UnspentTransactionOutput
	MaxPayableMsat             uint64
	MaxReceivableMsat          uint64
	MaxSinglePaymentAmountMsat uint64
	MaxChanReserveMsats        uint64
	ConnectedPeers             []string
	InboundLiquidityMsats      uint64
}

func (*NodeState) Destroy

func (r *NodeState) Destroy()

type OpenChannelFeeRequest added in v0.2.3

type OpenChannelFeeRequest struct {
	AmountMsat uint64
	Expiry     *uint32
}

func (*OpenChannelFeeRequest) Destroy added in v0.2.3

func (r *OpenChannelFeeRequest) Destroy()

type OpenChannelFeeResponse added in v0.2.3

type OpenChannelFeeResponse struct {
	FeeMsat       uint64
	UsedFeeParams *OpeningFeeParams
}

func (*OpenChannelFeeResponse) Destroy added in v0.2.3

func (r *OpenChannelFeeResponse) Destroy()

type OpeningFeeParams added in v0.2.0

type OpeningFeeParams struct {
	MinMsat              uint64
	Proportional         uint32
	ValidUntil           string
	MaxIdleTime          uint32
	MaxClientToSelfDelay uint32
	Promise              string
}

func (*OpeningFeeParams) Destroy added in v0.2.0

func (r *OpeningFeeParams) Destroy()

type OpeningFeeParamsMenu added in v0.2.0

type OpeningFeeParamsMenu struct {
	Values []OpeningFeeParams
}

func (*OpeningFeeParamsMenu) Destroy added in v0.2.0

func (r *OpeningFeeParamsMenu) Destroy()

type Payment

type Payment struct {
	Id          string
	PaymentType PaymentType
	PaymentTime int64
	AmountMsat  uint64
	FeeMsat     uint64
	Status      PaymentStatus
	Description *string
	Details     PaymentDetails
}

func (*Payment) Destroy

func (r *Payment) Destroy()

type PaymentDetails

type PaymentDetails interface {
	Destroy()
}

type PaymentDetailsClosedChannel

type PaymentDetailsClosedChannel struct {
	Data ClosedChannelPaymentDetails
}

func (PaymentDetailsClosedChannel) Destroy

func (e PaymentDetailsClosedChannel) Destroy()

type PaymentDetailsLn

type PaymentDetailsLn struct {
	Data LnPaymentDetails
}

func (PaymentDetailsLn) Destroy

func (e PaymentDetailsLn) Destroy()

type PaymentFailedData

type PaymentFailedData struct {
	Error   string
	NodeId  string
	Invoice *LnInvoice
}

func (*PaymentFailedData) Destroy

func (r *PaymentFailedData) Destroy()

type PaymentStatus added in v0.2.5

type PaymentStatus uint
const (
	PaymentStatusPending  PaymentStatus = 1
	PaymentStatusComplete PaymentStatus = 2
	PaymentStatusFailed   PaymentStatus = 3
)

type PaymentType

type PaymentType uint
const (
	PaymentTypeSent          PaymentType = 1
	PaymentTypeReceived      PaymentType = 2
	PaymentTypeClosedChannel PaymentType = 3
)

type PaymentTypeFilter

type PaymentTypeFilter uint
const (
	PaymentTypeFilterSent     PaymentTypeFilter = 1
	PaymentTypeFilterReceived PaymentTypeFilter = 2
	PaymentTypeFilterAll      PaymentTypeFilter = 3
)

type Rate

type Rate struct {
	Coin  string
	Value float64
}

func (*Rate) Destroy

func (r *Rate) Destroy()

type ReceiveOnchainRequest added in v0.2.0

type ReceiveOnchainRequest struct {
	OpeningFeeParams *OpeningFeeParams
}

func (*ReceiveOnchainRequest) Destroy added in v0.2.0

func (r *ReceiveOnchainRequest) Destroy()

type ReceivePaymentRequest added in v0.2.0

type ReceivePaymentRequest struct {
	AmountMsat         uint64
	Description        string
	Preimage           *[]uint8
	OpeningFeeParams   *OpeningFeeParams
	UseDescriptionHash *bool
	Expiry             *uint32
	Cltv               *uint32
}

func (*ReceivePaymentRequest) Destroy added in v0.2.0

func (r *ReceivePaymentRequest) Destroy()

type ReceivePaymentResponse added in v0.2.0

type ReceivePaymentResponse struct {
	LnInvoice        LnInvoice
	OpeningFeeParams *OpeningFeeParams
	OpeningFeeMsat   *uint64
}

func (*ReceivePaymentResponse) Destroy added in v0.2.0

func (r *ReceivePaymentResponse) Destroy()

type RecommendedFees

type RecommendedFees struct {
	FastestFee  uint64
	HalfHourFee uint64
	HourFee     uint64
	EconomyFee  uint64
	MinimumFee  uint64
}

func (*RecommendedFees) Destroy

func (r *RecommendedFees) Destroy()

type RefundRequest added in v0.2.7

type RefundRequest struct {
	SwapAddress string
	ToAddress   string
	SatPerVbyte uint32
}

func (*RefundRequest) Destroy added in v0.2.7

func (r *RefundRequest) Destroy()

type RefundResponse added in v0.2.7

type RefundResponse struct {
	RefundTxId string
}

func (*RefundResponse) Destroy added in v0.2.7

func (r *RefundResponse) Destroy()

type ReverseSwapFeesRequest added in v0.2.0

type ReverseSwapFeesRequest struct {
	SendAmountSat *uint64
}

func (*ReverseSwapFeesRequest) Destroy added in v0.2.0

func (r *ReverseSwapFeesRequest) Destroy()

type ReverseSwapInfo

type ReverseSwapInfo struct {
	Id               string
	ClaimPubkey      string
	LockupTxid       *string
	ClaimTxid        *string
	OnchainAmountSat uint64
	Status           ReverseSwapStatus
}

func (*ReverseSwapInfo) Destroy

func (r *ReverseSwapInfo) Destroy()

type ReverseSwapPairInfo

type ReverseSwapPairInfo struct {
	Min                uint64
	Max                uint64
	FeesHash           string
	FeesPercentage     float64
	FeesLockup         uint64
	FeesClaim          uint64
	TotalEstimatedFees *uint64
}

func (*ReverseSwapPairInfo) Destroy

func (r *ReverseSwapPairInfo) Destroy()

type ReverseSwapStatus

type ReverseSwapStatus uint
const (
	ReverseSwapStatusInitial            ReverseSwapStatus = 1
	ReverseSwapStatusInProgress         ReverseSwapStatus = 2
	ReverseSwapStatusCancelled          ReverseSwapStatus = 3
	ReverseSwapStatusCompletedSeen      ReverseSwapStatus = 4
	ReverseSwapStatusCompletedConfirmed ReverseSwapStatus = 5
)

type RouteHint

type RouteHint struct {
	Hops []RouteHintHop
}

func (*RouteHint) Destroy

func (r *RouteHint) Destroy()

type RouteHintHop

type RouteHintHop struct {
	SrcNodeId                  string
	ShortChannelId             uint64
	FeesBaseMsat               uint32
	FeesProportionalMillionths uint32
	CltvExpiryDelta            uint64
	HtlcMinimumMsat            *uint64
	HtlcMaximumMsat            *uint64
}

func (*RouteHintHop) Destroy

func (r *RouteHintHop) Destroy()

type SdkError

type SdkError struct {
	// contains filtered or unexported fields
}

func NewSdkErrorCalculateOpenChannelFeesFailed added in v0.2.3

func NewSdkErrorCalculateOpenChannelFeesFailed() *SdkError

func NewSdkErrorGeneric added in v0.1.4

func NewSdkErrorGeneric() *SdkError

func NewSdkErrorInitFailed added in v0.1.4

func NewSdkErrorInitFailed() *SdkError

func NewSdkErrorLspConnectFailed added in v0.1.4

func NewSdkErrorLspConnectFailed() *SdkError

func NewSdkErrorLspOpenChannelNotSupported added in v0.2.0

func NewSdkErrorLspOpenChannelNotSupported() *SdkError

func NewSdkErrorNotReady added in v0.2.3

func NewSdkErrorNotReady() *SdkError

func NewSdkErrorPersistenceFailure added in v0.1.4

func NewSdkErrorPersistenceFailure() *SdkError

func NewSdkErrorReceivePaymentFailed added in v0.1.4

func NewSdkErrorReceivePaymentFailed() *SdkError

func NewSdkErrorSendPaymentFailed added in v0.2.5

func NewSdkErrorSendPaymentFailed() *SdkError

func (SdkError) Error

func (err SdkError) Error() string

func (SdkError) Unwrap

func (err SdkError) Unwrap() error

type SdkErrorCalculateOpenChannelFeesFailed added in v0.2.3

type SdkErrorCalculateOpenChannelFeesFailed struct {
	// contains filtered or unexported fields
}

func (SdkErrorCalculateOpenChannelFeesFailed) Error added in v0.2.3

func (SdkErrorCalculateOpenChannelFeesFailed) Is added in v0.2.3

type SdkErrorGeneric added in v0.1.4

type SdkErrorGeneric struct {
	// contains filtered or unexported fields
}

Variant structs

func (SdkErrorGeneric) Error added in v0.1.4

func (err SdkErrorGeneric) Error() string

func (SdkErrorGeneric) Is added in v0.1.4

func (self SdkErrorGeneric) Is(target error) bool

type SdkErrorInitFailed added in v0.1.4

type SdkErrorInitFailed struct {
	// contains filtered or unexported fields
}

func (SdkErrorInitFailed) Error added in v0.1.4

func (err SdkErrorInitFailed) Error() string

func (SdkErrorInitFailed) Is added in v0.1.4

func (self SdkErrorInitFailed) Is(target error) bool

type SdkErrorLspConnectFailed added in v0.1.4

type SdkErrorLspConnectFailed struct {
	// contains filtered or unexported fields
}

func (SdkErrorLspConnectFailed) Error added in v0.1.4

func (err SdkErrorLspConnectFailed) Error() string

func (SdkErrorLspConnectFailed) Is added in v0.1.4

func (self SdkErrorLspConnectFailed) Is(target error) bool

type SdkErrorLspOpenChannelNotSupported added in v0.2.0

type SdkErrorLspOpenChannelNotSupported struct {
	// contains filtered or unexported fields
}

func (SdkErrorLspOpenChannelNotSupported) Error added in v0.2.0

func (SdkErrorLspOpenChannelNotSupported) Is added in v0.2.0

type SdkErrorNotReady added in v0.2.3

type SdkErrorNotReady struct {
	// contains filtered or unexported fields
}

func (SdkErrorNotReady) Error added in v0.2.3

func (err SdkErrorNotReady) Error() string

func (SdkErrorNotReady) Is added in v0.2.3

func (self SdkErrorNotReady) Is(target error) bool

type SdkErrorPersistenceFailure added in v0.1.4

type SdkErrorPersistenceFailure struct {
	// contains filtered or unexported fields
}

func (SdkErrorPersistenceFailure) Error added in v0.1.4

func (err SdkErrorPersistenceFailure) Error() string

func (SdkErrorPersistenceFailure) Is added in v0.1.4

func (self SdkErrorPersistenceFailure) Is(target error) bool

type SdkErrorReceivePaymentFailed added in v0.1.4

type SdkErrorReceivePaymentFailed struct {
	// contains filtered or unexported fields
}

func (SdkErrorReceivePaymentFailed) Error added in v0.1.4

func (SdkErrorReceivePaymentFailed) Is added in v0.1.4

func (self SdkErrorReceivePaymentFailed) Is(target error) bool

type SdkErrorSendPaymentFailed added in v0.2.5

type SdkErrorSendPaymentFailed struct {
	// contains filtered or unexported fields
}

func (SdkErrorSendPaymentFailed) Error added in v0.2.5

func (err SdkErrorSendPaymentFailed) Error() string

func (SdkErrorSendPaymentFailed) Is added in v0.2.5

func (self SdkErrorSendPaymentFailed) Is(target error) bool

type SendOnchainRequest added in v0.2.7

type SendOnchainRequest struct {
	AmountSat               uint64
	OnchainRecipientAddress string
	PairHash                string
	SatPerVbyte             uint32
}

func (*SendOnchainRequest) Destroy added in v0.2.7

func (r *SendOnchainRequest) Destroy()

type SendOnchainResponse added in v0.2.7

type SendOnchainResponse struct {
	ReverseSwapInfo ReverseSwapInfo
}

func (*SendOnchainResponse) Destroy added in v0.2.7

func (r *SendOnchainResponse) Destroy()

type SendPaymentRequest added in v0.2.7

type SendPaymentRequest struct {
	Bolt11     string
	AmountMsat *uint64
}

func (*SendPaymentRequest) Destroy added in v0.2.7

func (r *SendPaymentRequest) Destroy()

type SendPaymentResponse added in v0.2.7

type SendPaymentResponse struct {
	Payment Payment
}

func (*SendPaymentResponse) Destroy added in v0.2.7

func (r *SendPaymentResponse) Destroy()

type SendSpontaneousPaymentRequest added in v0.2.7

type SendSpontaneousPaymentRequest struct {
	NodeId     string
	AmountMsat uint64
}

func (*SendSpontaneousPaymentRequest) Destroy added in v0.2.7

func (r *SendSpontaneousPaymentRequest) Destroy()

type SignMessageRequest added in v0.2.0

type SignMessageRequest struct {
	Message string
}

func (*SignMessageRequest) Destroy added in v0.2.0

func (r *SignMessageRequest) Destroy()

type SignMessageResponse added in v0.2.0

type SignMessageResponse struct {
	Signature string
}

func (*SignMessageResponse) Destroy added in v0.2.0

func (r *SignMessageResponse) Destroy()

type StaticBackupRequest added in v0.2.5

type StaticBackupRequest struct {
	WorkingDir string
}

func (*StaticBackupRequest) Destroy added in v0.2.5

func (r *StaticBackupRequest) Destroy()

type StaticBackupResponse added in v0.2.5

type StaticBackupResponse struct {
	Backup *[]string
}

func StaticBackup added in v0.2.5

func StaticBackup(req StaticBackupRequest) (StaticBackupResponse, error)

func (*StaticBackupResponse) Destroy added in v0.2.5

func (r *StaticBackupResponse) Destroy()

type SuccessActionProcessed

type SuccessActionProcessed interface {
	Destroy()
}

type SuccessActionProcessedAes

type SuccessActionProcessedAes struct {
	Data AesSuccessActionDataDecrypted
}

func (SuccessActionProcessedAes) Destroy

func (e SuccessActionProcessedAes) Destroy()

type SuccessActionProcessedMessage

type SuccessActionProcessedMessage struct {
	Data MessageSuccessActionData
}

func (SuccessActionProcessedMessage) Destroy

func (e SuccessActionProcessedMessage) Destroy()

type SuccessActionProcessedUrl

type SuccessActionProcessedUrl struct {
	Data UrlSuccessActionData
}

func (SuccessActionProcessedUrl) Destroy

func (e SuccessActionProcessedUrl) Destroy()

type SwapInfo

type SwapInfo struct {
	BitcoinAddress     string
	CreatedAt          int64
	LockHeight         int64
	PaymentHash        []uint8
	Preimage           []uint8
	PrivateKey         []uint8
	PublicKey          []uint8
	SwapperPublicKey   []uint8
	Script             []uint8
	Bolt11             *string
	PaidSats           uint64
	UnconfirmedSats    uint64
	ConfirmedSats      uint64
	Status             SwapStatus
	RefundTxIds        []string
	UnconfirmedTxIds   []string
	ConfirmedTxIds     []string
	MinAllowedDeposit  int64
	MaxAllowedDeposit  int64
	LastRedeemError    *string
	ChannelOpeningFees *OpeningFeeParams
}

func (*SwapInfo) Destroy

func (r *SwapInfo) Destroy()

type SwapStatus

type SwapStatus uint
const (
	SwapStatusInitial SwapStatus = 1
	SwapStatusExpired SwapStatus = 2
)

type SweepRequest added in v0.2.5

type SweepRequest struct {
	ToAddress           string
	FeeRateSatsPerVbyte uint32
}

func (*SweepRequest) Destroy added in v0.2.5

func (r *SweepRequest) Destroy()

type SweepResponse added in v0.2.5

type SweepResponse struct {
	Txid []uint8
}

func (*SweepResponse) Destroy added in v0.2.5

func (r *SweepResponse) Destroy()

type Symbol

type Symbol struct {
	Grapheme *string
	Template *string
	Rtl      *bool
	Position *uint32
}

func (*Symbol) Destroy

func (r *Symbol) Destroy()

type UnspentTransactionOutput

type UnspentTransactionOutput struct {
	Txid               []uint8
	Outnum             uint32
	AmountMillisatoshi uint64
	Address            string
	Reserved           bool
}

func (*UnspentTransactionOutput) Destroy

func (r *UnspentTransactionOutput) Destroy()

type UrlSuccessActionData

type UrlSuccessActionData struct {
	Description string
	Url         string
}

func (*UrlSuccessActionData) Destroy

func (r *UrlSuccessActionData) Destroy()

Directories

Path Synopsis
lib
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.
android-386
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.
android-aarch
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.
android-aarch64
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.
android-amd64
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.
darwin-aarch64
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.
darwin-amd64
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.
linux-aarch64
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.
linux-amd64
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.
windows-amd64
See https://github.com/golang/go/issues/26366.
See https://github.com/golang/go/issues/26366.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL