Documentation ¶
Overview ¶
Package boltzrpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterBoltzHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBoltzHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BoltzClient) error
- func RegisterBoltzHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBoltzHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BoltzServer) error
- func RegisterBoltzServer(s grpc.ServiceRegistrar, srv BoltzServer)
- type AnySwapInfo
- func (*AnySwapInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AnySwapInfo) GetCreatedAt() int64
- func (x *AnySwapInfo) GetError() string
- func (x *AnySwapInfo) GetFromAmount() uint64
- func (x *AnySwapInfo) GetId() string
- func (x *AnySwapInfo) GetIsAuto() bool
- func (x *AnySwapInfo) GetOnchainFee() uint64
- func (x *AnySwapInfo) GetPair() *Pair
- func (x *AnySwapInfo) GetServiceFee() uint64
- func (x *AnySwapInfo) GetState() SwapState
- func (x *AnySwapInfo) GetStatus() string
- func (x *AnySwapInfo) GetTenantId() uint64
- func (x *AnySwapInfo) GetToAmount() uint64
- func (x *AnySwapInfo) GetType() SwapType
- func (*AnySwapInfo) ProtoMessage()
- func (x *AnySwapInfo) ProtoReflect() protoreflect.Message
- func (x *AnySwapInfo) Reset()
- func (x *AnySwapInfo) String() string
- type BakeMacaroonRequest
- func (*BakeMacaroonRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BakeMacaroonRequest) GetPermissions() []*MacaroonPermissions
- func (x *BakeMacaroonRequest) GetTenantId() uint64
- func (*BakeMacaroonRequest) ProtoMessage()
- func (x *BakeMacaroonRequest) ProtoReflect() protoreflect.Message
- func (x *BakeMacaroonRequest) Reset()
- func (x *BakeMacaroonRequest) String() string
- type BakeMacaroonResponse
- func (*BakeMacaroonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BakeMacaroonResponse) GetMacaroon() string
- func (*BakeMacaroonResponse) ProtoMessage()
- func (x *BakeMacaroonResponse) ProtoReflect() protoreflect.Message
- func (x *BakeMacaroonResponse) Reset()
- func (x *BakeMacaroonResponse) String() string
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)deprecated
- func (x *Balance) GetConfirmed() uint64
- func (x *Balance) GetTotal() uint64
- func (x *Balance) GetUnconfirmed() uint64
- func (*Balance) ProtoMessage()
- func (x *Balance) ProtoReflect() protoreflect.Message
- func (x *Balance) Reset()
- func (x *Balance) String() string
- type BlockHeights
- func (*BlockHeights) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeights) GetBtc() uint32
- func (x *BlockHeights) GetLiquid() uint32
- func (*BlockHeights) ProtoMessage()
- func (x *BlockHeights) ProtoReflect() protoreflect.Message
- func (x *BlockHeights) Reset()
- func (x *BlockHeights) String() string
- type BoltzClient
- type BoltzServer
- type Boltz_GetSwapInfoStreamClient
- type Boltz_GetSwapInfoStreamServer
- type Budget
- func (*Budget) Descriptor() ([]byte, []int)deprecated
- func (x *Budget) GetEndDate() int64
- func (x *Budget) GetRemaining() int64
- func (x *Budget) GetStartDate() int64
- func (x *Budget) GetTotal() uint64
- func (*Budget) ProtoMessage()
- func (x *Budget) ProtoReflect() protoreflect.Message
- func (x *Budget) Reset()
- func (x *Budget) String() string
- type ChainSwapData
- func (*ChainSwapData) Descriptor() ([]byte, []int)deprecated
- func (x *ChainSwapData) GetAddress() string
- func (x *ChainSwapData) GetAmount() uint64
- func (x *ChainSwapData) GetBlindingKey() string
- func (x *ChainSwapData) GetCurrency() Currency
- func (x *ChainSwapData) GetId() string
- func (x *ChainSwapData) GetLockupAddress() string
- func (x *ChainSwapData) GetLockupTransactionId() string
- func (x *ChainSwapData) GetPrivateKey() string
- func (x *ChainSwapData) GetTheirPublicKey() string
- func (x *ChainSwapData) GetTimeoutBlockHeight() uint32
- func (x *ChainSwapData) GetTransactionId() string
- func (x *ChainSwapData) GetWalletId() uint64
- func (*ChainSwapData) ProtoMessage()
- func (x *ChainSwapData) ProtoReflect() protoreflect.Message
- func (x *ChainSwapData) Reset()
- func (x *ChainSwapData) String() string
- type ChainSwapInfo
- func (*ChainSwapInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChainSwapInfo) GetCreatedAt() int64
- func (x *ChainSwapInfo) GetError() string
- func (x *ChainSwapInfo) GetFromData() *ChainSwapData
- func (x *ChainSwapInfo) GetId() string
- func (x *ChainSwapInfo) GetIsAuto() bool
- func (x *ChainSwapInfo) GetOnchainFee() uint64
- func (x *ChainSwapInfo) GetPair() *Pair
- func (x *ChainSwapInfo) GetPreimage() string
- func (x *ChainSwapInfo) GetServiceFee() uint64
- func (x *ChainSwapInfo) GetServiceFeePercent() float64
- func (x *ChainSwapInfo) GetState() SwapState
- func (x *ChainSwapInfo) GetStatus() string
- func (x *ChainSwapInfo) GetTenantId() uint64
- func (x *ChainSwapInfo) GetToData() *ChainSwapData
- func (*ChainSwapInfo) ProtoMessage()
- func (x *ChainSwapInfo) ProtoReflect() protoreflect.Message
- func (x *ChainSwapInfo) Reset()
- func (x *ChainSwapInfo) String() string
- type ChangeWalletPasswordRequest
- func (*ChangeWalletPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeWalletPasswordRequest) GetNew() string
- func (x *ChangeWalletPasswordRequest) GetOld() string
- func (*ChangeWalletPasswordRequest) ProtoMessage()
- func (x *ChangeWalletPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeWalletPasswordRequest) Reset()
- func (x *ChangeWalletPasswordRequest) String() string
- type ChannelCreationInfodeprecated
- func (*ChannelCreationInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelCreationInfo) GetFundingTransactionId() string
- func (x *ChannelCreationInfo) GetFundingTransactionVout() uint32
- func (x *ChannelCreationInfo) GetInboundLiquidity() uint32
- func (x *ChannelCreationInfo) GetPrivate() bool
- func (x *ChannelCreationInfo) GetStatus() string
- func (x *ChannelCreationInfo) GetSwapId() string
- func (*ChannelCreationInfo) ProtoMessage()
- func (x *ChannelCreationInfo) ProtoReflect() protoreflect.Message
- func (x *ChannelCreationInfo) Reset()
- func (x *ChannelCreationInfo) String() string
- type ChannelId
- type ClaimSwapsRequest
- func (*ClaimSwapsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimSwapsRequest) GetAddress() string
- func (m *ClaimSwapsRequest) GetDestination() isClaimSwapsRequest_Destination
- func (x *ClaimSwapsRequest) GetSwapIds() []string
- func (x *ClaimSwapsRequest) GetWalletId() uint64
- func (*ClaimSwapsRequest) ProtoMessage()
- func (x *ClaimSwapsRequest) ProtoReflect() protoreflect.Message
- func (x *ClaimSwapsRequest) Reset()
- func (x *ClaimSwapsRequest) String() string
- type ClaimSwapsRequest_Address
- type ClaimSwapsRequest_WalletId
- type ClaimSwapsResponse
- func (*ClaimSwapsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimSwapsResponse) GetTransactionId() string
- func (*ClaimSwapsResponse) ProtoMessage()
- func (x *ClaimSwapsResponse) ProtoReflect() protoreflect.Message
- func (x *ClaimSwapsResponse) Reset()
- func (x *ClaimSwapsResponse) String() string
- type CombinedChannelSwapInfodeprecated
- func (*CombinedChannelSwapInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CombinedChannelSwapInfo) GetChannelCreation() *ChannelCreationInfo
- func (x *CombinedChannelSwapInfo) GetSwap() *SwapInfo
- func (*CombinedChannelSwapInfo) ProtoMessage()
- func (x *CombinedChannelSwapInfo) ProtoReflect() protoreflect.Message
- func (x *CombinedChannelSwapInfo) Reset()
- func (x *CombinedChannelSwapInfo) String() string
- type CreateChainSwapRequest
- func (*CreateChainSwapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChainSwapRequest) GetAcceptZeroConf() bool
- func (x *CreateChainSwapRequest) GetAcceptedPair() *PairInfo
- func (x *CreateChainSwapRequest) GetAmount() uint64
- func (x *CreateChainSwapRequest) GetExternalPay() bool
- func (x *CreateChainSwapRequest) GetFromWalletId() uint64
- func (x *CreateChainSwapRequest) GetLockupZeroConf() bool
- func (x *CreateChainSwapRequest) GetPair() *Pair
- func (x *CreateChainSwapRequest) GetRefundAddress() string
- func (x *CreateChainSwapRequest) GetSatPerVbyte() float64
- func (x *CreateChainSwapRequest) GetToAddress() string
- func (x *CreateChainSwapRequest) GetToWalletId() uint64
- func (*CreateChainSwapRequest) ProtoMessage()
- func (x *CreateChainSwapRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChainSwapRequest) Reset()
- func (x *CreateChainSwapRequest) String() string
- type CreateChannelRequest
- func (*CreateChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelRequest) GetAmount() int64
- func (x *CreateChannelRequest) GetInboundLiquidity() uint32
- func (x *CreateChannelRequest) GetPrivate() bool
- func (*CreateChannelRequest) ProtoMessage()
- func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChannelRequest) Reset()
- func (x *CreateChannelRequest) String() string
- type CreateReverseSwapRequest
- func (*CreateReverseSwapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReverseSwapRequest) GetAcceptZeroConf() bool
- func (x *CreateReverseSwapRequest) GetAcceptedPair() *PairInfo
- func (x *CreateReverseSwapRequest) GetAddress() string
- func (x *CreateReverseSwapRequest) GetAmount() uint64
- func (x *CreateReverseSwapRequest) GetChanIds() []string
- func (x *CreateReverseSwapRequest) GetDescription() string
- func (x *CreateReverseSwapRequest) GetDescriptionHash() []byte
- func (x *CreateReverseSwapRequest) GetExternalPay() bool
- func (x *CreateReverseSwapRequest) GetInvoiceExpiry() uint64
- func (x *CreateReverseSwapRequest) GetPair() *Pair
- func (x *CreateReverseSwapRequest) GetReturnImmediately() bool
- func (x *CreateReverseSwapRequest) GetWalletId() uint64
- func (*CreateReverseSwapRequest) ProtoMessage()
- func (x *CreateReverseSwapRequest) ProtoReflect() protoreflect.Message
- func (x *CreateReverseSwapRequest) Reset()
- func (x *CreateReverseSwapRequest) String() string
- type CreateReverseSwapResponse
- func (*CreateReverseSwapResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReverseSwapResponse) GetClaimTransactionId() string
- func (x *CreateReverseSwapResponse) GetId() string
- func (x *CreateReverseSwapResponse) GetInvoice() string
- func (x *CreateReverseSwapResponse) GetLockupAddress() string
- func (x *CreateReverseSwapResponse) GetRoutingFeeMilliSat() uint64
- func (*CreateReverseSwapResponse) ProtoMessage()
- func (x *CreateReverseSwapResponse) ProtoReflect() protoreflect.Message
- func (x *CreateReverseSwapResponse) Reset()
- func (x *CreateReverseSwapResponse) String() string
- type CreateSwapRequest
- func (*CreateSwapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSwapRequest) GetAcceptedPair() *PairInfo
- func (x *CreateSwapRequest) GetAmount() uint64
- func (x *CreateSwapRequest) GetInvoice() string
- func (x *CreateSwapRequest) GetPair() *Pair
- func (x *CreateSwapRequest) GetRefundAddress() string
- func (x *CreateSwapRequest) GetSatPerVbyte() float64
- func (x *CreateSwapRequest) GetSendFromInternal() bool
- func (x *CreateSwapRequest) GetWalletId() uint64
- func (x *CreateSwapRequest) GetZeroConf() bool
- func (*CreateSwapRequest) ProtoMessage()
- func (x *CreateSwapRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSwapRequest) Reset()
- func (x *CreateSwapRequest) String() string
- type CreateSwapResponse
- func (*CreateSwapResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSwapResponse) GetAddress() string
- func (x *CreateSwapResponse) GetBip21() string
- func (x *CreateSwapResponse) GetExpectedAmount() uint64
- func (x *CreateSwapResponse) GetId() string
- func (x *CreateSwapResponse) GetTimeoutBlockHeight() uint32
- func (x *CreateSwapResponse) GetTimeoutHours() float32
- func (x *CreateSwapResponse) GetTxId() string
- func (*CreateSwapResponse) ProtoMessage()
- func (x *CreateSwapResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSwapResponse) Reset()
- func (x *CreateSwapResponse) String() string
- type CreateTenantRequest
- func (*CreateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantRequest) GetName() string
- func (*CreateTenantRequest) ProtoMessage()
- func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTenantRequest) Reset()
- func (x *CreateTenantRequest) String() string
- type CreateWalletRequest
- func (*CreateWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWalletRequest) GetParams() *WalletParams
- func (*CreateWalletRequest) ProtoMessage()
- func (x *CreateWalletRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWalletRequest) Reset()
- func (x *CreateWalletRequest) String() string
- type CreateWalletResponse
- func (*CreateWalletResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWalletResponse) GetMnemonic() string
- func (x *CreateWalletResponse) GetWallet() *Wallet
- func (*CreateWalletResponse) ProtoMessage()
- func (x *CreateWalletResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWalletResponse) Reset()
- func (x *CreateWalletResponse) String() string
- type Currency
- type DepositRequest
- type DepositResponse
- func (*DepositResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DepositResponse) GetAddress() string
- func (x *DepositResponse) GetId() string
- func (x *DepositResponse) GetTimeoutBlockHeight() uint32
- func (*DepositResponse) ProtoMessage()
- func (x *DepositResponse) ProtoReflect() protoreflect.Message
- func (x *DepositResponse) Reset()
- func (x *DepositResponse) String() string
- type Fees
- type GetInfoRequest
- type GetInfoResponse
- func (*GetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoResponse) GetAutoSwapStatus() string
- func (x *GetInfoResponse) GetBlockHeight() uint32deprecated
- func (x *GetInfoResponse) GetBlockHeights() *BlockHeights
- func (x *GetInfoResponse) GetClaimableSwaps() []string
- func (x *GetInfoResponse) GetLndPubkey() stringdeprecated
- func (x *GetInfoResponse) GetNetwork() string
- func (x *GetInfoResponse) GetNode() string
- func (x *GetInfoResponse) GetNodePubkey() string
- func (x *GetInfoResponse) GetPendingReverseSwaps() []stringdeprecated
- func (x *GetInfoResponse) GetPendingSwaps() []stringdeprecated
- func (x *GetInfoResponse) GetRefundableSwaps() []string
- func (x *GetInfoResponse) GetSymbol() stringdeprecated
- func (x *GetInfoResponse) GetTenant() *Tenant
- func (x *GetInfoResponse) GetVersion() string
- func (*GetInfoResponse) ProtoMessage()
- func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetInfoResponse) Reset()
- func (x *GetInfoResponse) String() string
- type GetPairInfoRequest
- func (*GetPairInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPairInfoRequest) GetPair() *Pair
- func (x *GetPairInfoRequest) GetType() SwapType
- func (*GetPairInfoRequest) ProtoMessage()
- func (x *GetPairInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetPairInfoRequest) Reset()
- func (x *GetPairInfoRequest) String() string
- type GetPairsResponse
- func (*GetPairsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPairsResponse) GetChain() []*PairInfo
- func (x *GetPairsResponse) GetReverse() []*PairInfo
- func (x *GetPairsResponse) GetSubmarine() []*PairInfo
- func (*GetPairsResponse) ProtoMessage()
- func (x *GetPairsResponse) ProtoReflect() protoreflect.Message
- func (x *GetPairsResponse) Reset()
- func (x *GetPairsResponse) String() string
- type GetServiceInfoRequest
- type GetServiceInfoResponse
- func (*GetServiceInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceInfoResponse) GetFees() *Fees
- func (x *GetServiceInfoResponse) GetLimits() *Limits
- func (*GetServiceInfoResponse) ProtoMessage()
- func (x *GetServiceInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetServiceInfoResponse) Reset()
- func (x *GetServiceInfoResponse) String() string
- type GetStatsRequest
- type GetStatsResponse
- type GetSubaccountsRequest
- func (*GetSubaccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubaccountsRequest) GetWalletId() uint64
- func (*GetSubaccountsRequest) ProtoMessage()
- func (x *GetSubaccountsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubaccountsRequest) Reset()
- func (x *GetSubaccountsRequest) String() string
- type GetSubaccountsResponse
- func (*GetSubaccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubaccountsResponse) GetCurrent() uint64
- func (x *GetSubaccountsResponse) GetSubaccounts() []*Subaccount
- func (*GetSubaccountsResponse) ProtoMessage()
- func (x *GetSubaccountsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubaccountsResponse) Reset()
- func (x *GetSubaccountsResponse) String() string
- type GetSwapInfoRequest
- type GetSwapInfoResponse
- func (*GetSwapInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSwapInfoResponse) GetChainSwap() *ChainSwapInfo
- func (x *GetSwapInfoResponse) GetChannelCreation() *ChannelCreationInfo
- func (x *GetSwapInfoResponse) GetReverseSwap() *ReverseSwapInfo
- func (x *GetSwapInfoResponse) GetSwap() *SwapInfo
- func (*GetSwapInfoResponse) ProtoMessage()
- func (x *GetSwapInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetSwapInfoResponse) Reset()
- func (x *GetSwapInfoResponse) String() string
- type GetTenantRequest
- type GetWalletCredentialsRequest
- func (*GetWalletCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWalletCredentialsRequest) GetId() uint64
- func (x *GetWalletCredentialsRequest) GetPassword() string
- func (*GetWalletCredentialsRequest) ProtoMessage()
- func (x *GetWalletCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *GetWalletCredentialsRequest) Reset()
- func (x *GetWalletCredentialsRequest) String() string
- type GetWalletRequest
- func (*GetWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWalletRequest) GetId() uint64
- func (x *GetWalletRequest) GetName() string
- func (*GetWalletRequest) ProtoMessage()
- func (x *GetWalletRequest) ProtoReflect() protoreflect.Message
- func (x *GetWalletRequest) Reset()
- func (x *GetWalletRequest) String() string
- type GetWalletsRequest
- func (*GetWalletsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWalletsRequest) GetCurrency() Currency
- func (x *GetWalletsRequest) GetIncludeReadonly() bool
- func (*GetWalletsRequest) ProtoMessage()
- func (x *GetWalletsRequest) ProtoReflect() protoreflect.Message
- func (x *GetWalletsRequest) Reset()
- func (x *GetWalletsRequest) String() string
- type ImportWalletRequest
- func (*ImportWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportWalletRequest) GetCredentials() *WalletCredentials
- func (x *ImportWalletRequest) GetParams() *WalletParams
- func (*ImportWalletRequest) ProtoMessage()
- func (x *ImportWalletRequest) ProtoReflect() protoreflect.Message
- func (x *ImportWalletRequest) Reset()
- func (x *ImportWalletRequest) String() string
- type ImportWalletResponse
- type IncludeSwaps
- func (IncludeSwaps) Descriptor() protoreflect.EnumDescriptor
- func (x IncludeSwaps) Enum() *IncludeSwaps
- func (IncludeSwaps) EnumDescriptor() ([]byte, []int)deprecated
- func (x IncludeSwaps) Number() protoreflect.EnumNumber
- func (x IncludeSwaps) String() string
- func (IncludeSwaps) Type() protoreflect.EnumType
- type LightningChannel
- func (*LightningChannel) Descriptor() ([]byte, []int)deprecated
- func (x *LightningChannel) GetCapacity() uint64
- func (x *LightningChannel) GetId() *ChannelId
- func (x *LightningChannel) GetInboundSat() uint64
- func (x *LightningChannel) GetOutboundSat() uint64
- func (x *LightningChannel) GetPeerId() string
- func (*LightningChannel) ProtoMessage()
- func (x *LightningChannel) ProtoReflect() protoreflect.Message
- func (x *LightningChannel) Reset()
- func (x *LightningChannel) String() string
- type Limits
- func (*Limits) Descriptor() ([]byte, []int)deprecated
- func (x *Limits) GetMaximal() uint64
- func (x *Limits) GetMaximalZeroConfAmount() uint64
- func (x *Limits) GetMinimal() uint64
- func (*Limits) ProtoMessage()
- func (x *Limits) ProtoReflect() protoreflect.Message
- func (x *Limits) Reset()
- func (x *Limits) String() string
- type ListSwapsRequest
- func (*ListSwapsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSwapsRequest) GetFrom() Currency
- func (x *ListSwapsRequest) GetInclude() IncludeSwaps
- func (x *ListSwapsRequest) GetLimit() uint64
- func (x *ListSwapsRequest) GetOffset() uint64
- func (x *ListSwapsRequest) GetState() SwapState
- func (x *ListSwapsRequest) GetTo() Currency
- func (x *ListSwapsRequest) GetUnify() bool
- func (*ListSwapsRequest) ProtoMessage()
- func (x *ListSwapsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSwapsRequest) Reset()
- func (x *ListSwapsRequest) String() string
- type ListSwapsResponse
- func (*ListSwapsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSwapsResponse) GetAllSwaps() []*AnySwapInfo
- func (x *ListSwapsResponse) GetChainSwaps() []*ChainSwapInfo
- func (x *ListSwapsResponse) GetChannelCreations() []*CombinedChannelSwapInfodeprecated
- func (x *ListSwapsResponse) GetReverseSwaps() []*ReverseSwapInfo
- func (x *ListSwapsResponse) GetSwaps() []*SwapInfo
- func (*ListSwapsResponse) ProtoMessage()
- func (x *ListSwapsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSwapsResponse) Reset()
- func (x *ListSwapsResponse) String() string
- type ListTenantsRequest
- type ListTenantsResponse
- func (*ListTenantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantsResponse) GetTenants() []*Tenant
- func (*ListTenantsResponse) ProtoMessage()
- func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTenantsResponse) Reset()
- func (x *ListTenantsResponse) String() string
- type ListWalletTransactionsRequest
- func (*ListWalletTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWalletTransactionsRequest) GetExcludeSwapRelated() bool
- func (x *ListWalletTransactionsRequest) GetId() uint64
- func (x *ListWalletTransactionsRequest) GetLimit() uint64
- func (x *ListWalletTransactionsRequest) GetOffset() uint64
- func (*ListWalletTransactionsRequest) ProtoMessage()
- func (x *ListWalletTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListWalletTransactionsRequest) Reset()
- func (x *ListWalletTransactionsRequest) String() string
- type ListWalletTransactionsResponse
- func (*ListWalletTransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWalletTransactionsResponse) GetTransactions() []*WalletTransaction
- func (*ListWalletTransactionsResponse) ProtoMessage()
- func (x *ListWalletTransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListWalletTransactionsResponse) Reset()
- func (x *ListWalletTransactionsResponse) String() string
- type MacaroonAction
- func (MacaroonAction) Descriptor() protoreflect.EnumDescriptor
- func (x MacaroonAction) Enum() *MacaroonAction
- func (MacaroonAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x MacaroonAction) Number() protoreflect.EnumNumber
- func (x MacaroonAction) String() string
- func (MacaroonAction) Type() protoreflect.EnumType
- type MacaroonPermissions
- func (*MacaroonPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *MacaroonPermissions) GetAction() MacaroonAction
- func (*MacaroonPermissions) ProtoMessage()
- func (x *MacaroonPermissions) ProtoReflect() protoreflect.Message
- func (x *MacaroonPermissions) Reset()
- func (x *MacaroonPermissions) String() string
- type MinerFees
- type Pair
- type PairInfo
- func (*PairInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PairInfo) GetFees() *SwapFees
- func (x *PairInfo) GetHash() string
- func (x *PairInfo) GetLimits() *Limits
- func (x *PairInfo) GetPair() *Pair
- func (*PairInfo) ProtoMessage()
- func (x *PairInfo) ProtoReflect() protoreflect.Message
- func (x *PairInfo) Reset()
- func (x *PairInfo) String() string
- type RefundSwapRequest
- func (*RefundSwapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefundSwapRequest) GetAddress() string
- func (m *RefundSwapRequest) GetDestination() isRefundSwapRequest_Destination
- func (x *RefundSwapRequest) GetId() string
- func (x *RefundSwapRequest) GetWalletId() uint64
- func (*RefundSwapRequest) ProtoMessage()
- func (x *RefundSwapRequest) ProtoReflect() protoreflect.Message
- func (x *RefundSwapRequest) Reset()
- func (x *RefundSwapRequest) String() string
- type RefundSwapRequest_Address
- type RefundSwapRequest_WalletId
- type RemoveWalletRequest
- func (*RemoveWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveWalletRequest) GetId() uint64
- func (*RemoveWalletRequest) ProtoMessage()
- func (x *RemoveWalletRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveWalletRequest) Reset()
- func (x *RemoveWalletRequest) String() string
- type RemoveWalletResponse
- type ReverseSwapInfo
- func (*ReverseSwapInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReverseSwapInfo) GetBlindingKey() string
- func (x *ReverseSwapInfo) GetChanIds() []*ChannelId
- func (x *ReverseSwapInfo) GetClaimAddress() string
- func (x *ReverseSwapInfo) GetClaimTransactionId() string
- func (x *ReverseSwapInfo) GetCreatedAt() int64
- func (x *ReverseSwapInfo) GetError() string
- func (x *ReverseSwapInfo) GetExternalPay() bool
- func (x *ReverseSwapInfo) GetId() string
- func (x *ReverseSwapInfo) GetInvoice() string
- func (x *ReverseSwapInfo) GetInvoiceAmount() uint64
- func (x *ReverseSwapInfo) GetIsAuto() bool
- func (x *ReverseSwapInfo) GetLockupTransactionId() string
- func (x *ReverseSwapInfo) GetOnchainAmount() uint64
- func (x *ReverseSwapInfo) GetOnchainFee() uint64
- func (x *ReverseSwapInfo) GetPaidAt() int64
- func (x *ReverseSwapInfo) GetPair() *Pair
- func (x *ReverseSwapInfo) GetPreimage() string
- func (x *ReverseSwapInfo) GetPrivateKey() string
- func (x *ReverseSwapInfo) GetRedeemScript() string
- func (x *ReverseSwapInfo) GetRoutingFeeMsat() uint64
- func (x *ReverseSwapInfo) GetServiceFee() uint64
- func (x *ReverseSwapInfo) GetState() SwapState
- func (x *ReverseSwapInfo) GetStatus() string
- func (x *ReverseSwapInfo) GetTenantId() uint64
- func (x *ReverseSwapInfo) GetTimeoutBlockHeight() uint32
- func (*ReverseSwapInfo) ProtoMessage()
- func (x *ReverseSwapInfo) ProtoReflect() protoreflect.Message
- func (x *ReverseSwapInfo) Reset()
- func (x *ReverseSwapInfo) String() string
- type SetSubaccountRequest
- func (*SetSubaccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSubaccountRequest) GetSubaccount() uint64
- func (x *SetSubaccountRequest) GetWalletId() uint64
- func (*SetSubaccountRequest) ProtoMessage()
- func (x *SetSubaccountRequest) ProtoReflect() protoreflect.Message
- func (x *SetSubaccountRequest) Reset()
- func (x *SetSubaccountRequest) String() string
- type Subaccount
- func (*Subaccount) Descriptor() ([]byte, []int)deprecated
- func (x *Subaccount) GetBalance() *Balance
- func (x *Subaccount) GetDescriptors() []string
- func (x *Subaccount) GetPointer() uint64
- func (x *Subaccount) GetType() string
- func (*Subaccount) ProtoMessage()
- func (x *Subaccount) ProtoReflect() protoreflect.Message
- func (x *Subaccount) Reset()
- func (x *Subaccount) String() string
- type SwapFees
- type SwapInfo
- func (*SwapInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SwapInfo) GetBlindingKey() string
- func (x *SwapInfo) GetChanIds() []*ChannelId
- func (x *SwapInfo) GetCreatedAt() int64
- func (x *SwapInfo) GetError() string
- func (x *SwapInfo) GetExpectedAmount() uint64
- func (x *SwapInfo) GetId() string
- func (x *SwapInfo) GetInvoice() string
- func (x *SwapInfo) GetIsAuto() bool
- func (x *SwapInfo) GetLockupAddress() string
- func (x *SwapInfo) GetLockupTransactionId() string
- func (x *SwapInfo) GetOnchainFee() uint64
- func (x *SwapInfo) GetPair() *Pair
- func (x *SwapInfo) GetPreimage() string
- func (x *SwapInfo) GetPrivateKey() string
- func (x *SwapInfo) GetRedeemScript() string
- func (x *SwapInfo) GetRefundAddress() string
- func (x *SwapInfo) GetRefundTransactionId() string
- func (x *SwapInfo) GetServiceFee() uint64
- func (x *SwapInfo) GetState() SwapState
- func (x *SwapInfo) GetStatus() string
- func (x *SwapInfo) GetTenantId() uint64
- func (x *SwapInfo) GetTimeoutBlockHeight() uint32
- func (x *SwapInfo) GetWalletId() uint64
- func (*SwapInfo) ProtoMessage()
- func (x *SwapInfo) ProtoReflect() protoreflect.Message
- func (x *SwapInfo) Reset()
- func (x *SwapInfo) String() string
- type SwapState
- type SwapStats
- func (*SwapStats) Descriptor() ([]byte, []int)deprecated
- func (x *SwapStats) GetAvgAmount() uint64
- func (x *SwapStats) GetAvgFees() uint64
- func (x *SwapStats) GetCount() uint64
- func (x *SwapStats) GetSuccessCount() uint64
- func (x *SwapStats) GetTotalAmount() uint64
- func (x *SwapStats) GetTotalFees() uint64
- func (*SwapStats) ProtoMessage()
- func (x *SwapStats) ProtoReflect() protoreflect.Message
- func (x *SwapStats) Reset()
- func (x *SwapStats) String() string
- type SwapType
- type Tenant
- type TransactionInfo
- func (*TransactionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionInfo) GetSwapId() string
- func (x *TransactionInfo) GetType() TransactionType
- func (*TransactionInfo) ProtoMessage()
- func (x *TransactionInfo) ProtoReflect() protoreflect.Message
- func (x *TransactionInfo) Reset()
- func (x *TransactionInfo) String() string
- type TransactionOutput
- func (*TransactionOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionOutput) GetAddress() string
- func (x *TransactionOutput) GetAmount() uint64
- func (x *TransactionOutput) GetIsOurAddress() bool
- func (*TransactionOutput) ProtoMessage()
- func (x *TransactionOutput) ProtoReflect() protoreflect.Message
- func (x *TransactionOutput) Reset()
- func (x *TransactionOutput) String() string
- type TransactionType
- func (TransactionType) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionType) Enum() *TransactionType
- func (TransactionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionType) Number() protoreflect.EnumNumber
- func (x TransactionType) String() string
- func (TransactionType) Type() protoreflect.EnumType
- type UnimplementedBoltzServer
- func (UnimplementedBoltzServer) BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error)
- func (UnimplementedBoltzServer) ChangeWalletPassword(context.Context, *ChangeWalletPasswordRequest) (*empty.Empty, error)
- func (UnimplementedBoltzServer) ClaimSwaps(context.Context, *ClaimSwapsRequest) (*ClaimSwapsResponse, error)
- func (UnimplementedBoltzServer) CreateChainSwap(context.Context, *CreateChainSwapRequest) (*ChainSwapInfo, error)
- func (UnimplementedBoltzServer) CreateChannel(context.Context, *CreateChannelRequest) (*CreateSwapResponse, error)
- func (UnimplementedBoltzServer) CreateReverseSwap(context.Context, *CreateReverseSwapRequest) (*CreateReverseSwapResponse, error)
- func (UnimplementedBoltzServer) CreateSwap(context.Context, *CreateSwapRequest) (*CreateSwapResponse, error)
- func (UnimplementedBoltzServer) CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error)
- func (UnimplementedBoltzServer) CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
- func (UnimplementedBoltzServer) Deposit(context.Context, *DepositRequest) (*DepositResponse, error)
- func (UnimplementedBoltzServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
- func (UnimplementedBoltzServer) GetPairInfo(context.Context, *GetPairInfoRequest) (*PairInfo, error)
- func (UnimplementedBoltzServer) GetPairs(context.Context, *empty.Empty) (*GetPairsResponse, error)
- func (UnimplementedBoltzServer) GetServiceInfo(context.Context, *GetServiceInfoRequest) (*GetServiceInfoResponse, error)
- func (UnimplementedBoltzServer) GetStats(context.Context, *GetStatsRequest) (*GetStatsResponse, error)
- func (UnimplementedBoltzServer) GetSubaccounts(context.Context, *GetSubaccountsRequest) (*GetSubaccountsResponse, error)
- func (UnimplementedBoltzServer) GetSwapInfo(context.Context, *GetSwapInfoRequest) (*GetSwapInfoResponse, error)
- func (UnimplementedBoltzServer) GetSwapInfoStream(*GetSwapInfoRequest, Boltz_GetSwapInfoStreamServer) error
- func (UnimplementedBoltzServer) GetTenant(context.Context, *GetTenantRequest) (*Tenant, error)
- func (UnimplementedBoltzServer) GetWallet(context.Context, *GetWalletRequest) (*Wallet, error)
- func (UnimplementedBoltzServer) GetWalletCredentials(context.Context, *GetWalletCredentialsRequest) (*WalletCredentials, error)
- func (UnimplementedBoltzServer) GetWalletSendFee(context.Context, *WalletSendRequest) (*WalletSendFee, error)
- func (UnimplementedBoltzServer) GetWallets(context.Context, *GetWalletsRequest) (*Wallets, error)
- func (UnimplementedBoltzServer) ImportWallet(context.Context, *ImportWalletRequest) (*Wallet, error)
- func (UnimplementedBoltzServer) ListSwaps(context.Context, *ListSwapsRequest) (*ListSwapsResponse, error)
- func (UnimplementedBoltzServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
- func (UnimplementedBoltzServer) ListWalletTransactions(context.Context, *ListWalletTransactionsRequest) (*ListWalletTransactionsResponse, error)
- func (UnimplementedBoltzServer) RefundSwap(context.Context, *RefundSwapRequest) (*GetSwapInfoResponse, error)
- func (UnimplementedBoltzServer) RemoveWallet(context.Context, *RemoveWalletRequest) (*RemoveWalletResponse, error)
- func (UnimplementedBoltzServer) SetSubaccount(context.Context, *SetSubaccountRequest) (*Subaccount, error)
- func (UnimplementedBoltzServer) Stop(context.Context, *empty.Empty) (*empty.Empty, error)
- func (UnimplementedBoltzServer) Unlock(context.Context, *UnlockRequest) (*empty.Empty, error)
- func (UnimplementedBoltzServer) VerifyWalletPassword(context.Context, *VerifyWalletPasswordRequest) (*VerifyWalletPasswordResponse, error)
- func (UnimplementedBoltzServer) WalletReceive(context.Context, *WalletReceiveRequest) (*WalletReceiveResponse, error)
- func (UnimplementedBoltzServer) WalletSend(context.Context, *WalletSendRequest) (*WalletSendResponse, error)
- type UnlockRequest
- type UnsafeBoltzServer
- type VerifyWalletPasswordRequest
- func (*VerifyWalletPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyWalletPasswordRequest) GetPassword() string
- func (*VerifyWalletPasswordRequest) ProtoMessage()
- func (x *VerifyWalletPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyWalletPasswordRequest) Reset()
- func (x *VerifyWalletPasswordRequest) String() string
- type VerifyWalletPasswordResponse
- func (*VerifyWalletPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyWalletPasswordResponse) GetCorrect() bool
- func (*VerifyWalletPasswordResponse) ProtoMessage()
- func (x *VerifyWalletPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyWalletPasswordResponse) Reset()
- func (x *VerifyWalletPasswordResponse) String() string
- type Wallet
- func (*Wallet) Descriptor() ([]byte, []int)deprecated
- func (x *Wallet) GetBalance() *Balance
- func (x *Wallet) GetCurrency() Currency
- func (x *Wallet) GetId() uint64
- func (x *Wallet) GetName() string
- func (x *Wallet) GetReadonly() bool
- func (x *Wallet) GetTenantId() uint64
- func (*Wallet) ProtoMessage()
- func (x *Wallet) ProtoReflect() protoreflect.Message
- func (x *Wallet) Reset()
- func (x *Wallet) String() string
- type WalletCredentials
- func (*WalletCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *WalletCredentials) GetCoreDescriptor() string
- func (x *WalletCredentials) GetMnemonic() string
- func (x *WalletCredentials) GetSubaccount() uint64
- func (x *WalletCredentials) GetXpub() string
- func (*WalletCredentials) ProtoMessage()
- func (x *WalletCredentials) ProtoReflect() protoreflect.Message
- func (x *WalletCredentials) Reset()
- func (x *WalletCredentials) String() string
- type WalletParams
- func (*WalletParams) Descriptor() ([]byte, []int)deprecated
- func (x *WalletParams) GetCurrency() Currency
- func (x *WalletParams) GetName() string
- func (x *WalletParams) GetPassword() string
- func (*WalletParams) ProtoMessage()
- func (x *WalletParams) ProtoReflect() protoreflect.Message
- func (x *WalletParams) Reset()
- func (x *WalletParams) String() string
- type WalletReceiveRequest
- func (*WalletReceiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WalletReceiveRequest) GetId() uint64
- func (*WalletReceiveRequest) ProtoMessage()
- func (x *WalletReceiveRequest) ProtoReflect() protoreflect.Message
- func (x *WalletReceiveRequest) Reset()
- func (x *WalletReceiveRequest) String() string
- type WalletReceiveResponse
- func (*WalletReceiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WalletReceiveResponse) GetAddress() string
- func (*WalletReceiveResponse) ProtoMessage()
- func (x *WalletReceiveResponse) ProtoReflect() protoreflect.Message
- func (x *WalletReceiveResponse) Reset()
- func (x *WalletReceiveResponse) String() string
- type WalletSendFee
- func (*WalletSendFee) Descriptor() ([]byte, []int)deprecated
- func (x *WalletSendFee) GetAmount() uint64
- func (x *WalletSendFee) GetFee() uint64
- func (x *WalletSendFee) GetFeeRate() float64
- func (*WalletSendFee) ProtoMessage()
- func (x *WalletSendFee) ProtoReflect() protoreflect.Message
- func (x *WalletSendFee) Reset()
- func (x *WalletSendFee) String() string
- type WalletSendRequest
- func (*WalletSendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WalletSendRequest) GetAddress() string
- func (x *WalletSendRequest) GetAmount() uint64
- func (x *WalletSendRequest) GetId() uint64
- func (x *WalletSendRequest) GetIsSwapAddress() bool
- func (x *WalletSendRequest) GetSatPerVbyte() float64
- func (x *WalletSendRequest) GetSendAll() bool
- func (*WalletSendRequest) ProtoMessage()
- func (x *WalletSendRequest) ProtoReflect() protoreflect.Message
- func (x *WalletSendRequest) Reset()
- func (x *WalletSendRequest) String() string
- type WalletSendResponse
- func (*WalletSendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WalletSendResponse) GetTxId() string
- func (*WalletSendResponse) ProtoMessage()
- func (x *WalletSendResponse) ProtoReflect() protoreflect.Message
- func (x *WalletSendResponse) Reset()
- func (x *WalletSendResponse) String() string
- type WalletTransaction
- func (*WalletTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *WalletTransaction) GetBalanceChange() int64
- func (x *WalletTransaction) GetBlockHeight() uint32
- func (x *WalletTransaction) GetId() string
- func (x *WalletTransaction) GetInfos() []*TransactionInfo
- func (x *WalletTransaction) GetOutputs() []*TransactionOutput
- func (x *WalletTransaction) GetTimestamp() int64
- func (*WalletTransaction) ProtoMessage()
- func (x *WalletTransaction) ProtoReflect() protoreflect.Message
- func (x *WalletTransaction) Reset()
- func (x *WalletTransaction) String() string
- type Wallets
Constants ¶
const ( Boltz_GetInfo_FullMethodName = "/boltzrpc.Boltz/GetInfo" Boltz_GetServiceInfo_FullMethodName = "/boltzrpc.Boltz/GetServiceInfo" Boltz_GetPairInfo_FullMethodName = "/boltzrpc.Boltz/GetPairInfo" Boltz_GetPairs_FullMethodName = "/boltzrpc.Boltz/GetPairs" Boltz_ListSwaps_FullMethodName = "/boltzrpc.Boltz/ListSwaps" Boltz_GetStats_FullMethodName = "/boltzrpc.Boltz/GetStats" Boltz_RefundSwap_FullMethodName = "/boltzrpc.Boltz/RefundSwap" Boltz_ClaimSwaps_FullMethodName = "/boltzrpc.Boltz/ClaimSwaps" Boltz_GetSwapInfo_FullMethodName = "/boltzrpc.Boltz/GetSwapInfo" Boltz_GetSwapInfoStream_FullMethodName = "/boltzrpc.Boltz/GetSwapInfoStream" Boltz_Deposit_FullMethodName = "/boltzrpc.Boltz/Deposit" Boltz_CreateSwap_FullMethodName = "/boltzrpc.Boltz/CreateSwap" Boltz_CreateChannel_FullMethodName = "/boltzrpc.Boltz/CreateChannel" Boltz_CreateReverseSwap_FullMethodName = "/boltzrpc.Boltz/CreateReverseSwap" Boltz_CreateChainSwap_FullMethodName = "/boltzrpc.Boltz/CreateChainSwap" Boltz_CreateWallet_FullMethodName = "/boltzrpc.Boltz/CreateWallet" Boltz_ImportWallet_FullMethodName = "/boltzrpc.Boltz/ImportWallet" Boltz_SetSubaccount_FullMethodName = "/boltzrpc.Boltz/SetSubaccount" Boltz_GetSubaccounts_FullMethodName = "/boltzrpc.Boltz/GetSubaccounts" Boltz_GetWallets_FullMethodName = "/boltzrpc.Boltz/GetWallets" Boltz_GetWallet_FullMethodName = "/boltzrpc.Boltz/GetWallet" Boltz_GetWalletSendFee_FullMethodName = "/boltzrpc.Boltz/GetWalletSendFee" Boltz_ListWalletTransactions_FullMethodName = "/boltzrpc.Boltz/ListWalletTransactions" Boltz_GetWalletCredentials_FullMethodName = "/boltzrpc.Boltz/GetWalletCredentials" Boltz_RemoveWallet_FullMethodName = "/boltzrpc.Boltz/RemoveWallet" Boltz_WalletSend_FullMethodName = "/boltzrpc.Boltz/WalletSend" Boltz_WalletReceive_FullMethodName = "/boltzrpc.Boltz/WalletReceive" Boltz_Stop_FullMethodName = "/boltzrpc.Boltz/Stop" Boltz_Unlock_FullMethodName = "/boltzrpc.Boltz/Unlock" Boltz_VerifyWalletPassword_FullMethodName = "/boltzrpc.Boltz/VerifyWalletPassword" Boltz_ChangeWalletPassword_FullMethodName = "/boltzrpc.Boltz/ChangeWalletPassword" Boltz_CreateTenant_FullMethodName = "/boltzrpc.Boltz/CreateTenant" Boltz_ListTenants_FullMethodName = "/boltzrpc.Boltz/ListTenants" Boltz_GetTenant_FullMethodName = "/boltzrpc.Boltz/GetTenant" Boltz_BakeMacaroon_FullMethodName = "/boltzrpc.Boltz/BakeMacaroon" )
Variables ¶
var ( MacaroonAction_name = map[int32]string{ 0: "READ", 1: "WRITE", } MacaroonAction_value = map[string]int32{ "READ": 0, "WRITE": 1, } )
Enum value maps for MacaroonAction.
var ( SwapState_name = map[int32]string{ 0: "PENDING", 1: "SUCCESSFUL", 2: "ERROR", 3: "SERVER_ERROR", 4: "REFUNDED", 5: "ABANDONED", } SwapState_value = map[string]int32{ "PENDING": 0, "SUCCESSFUL": 1, "ERROR": 2, "SERVER_ERROR": 3, "REFUNDED": 4, "ABANDONED": 5, } )
Enum value maps for SwapState.
var ( Currency_name = map[int32]string{ 0: "BTC", 1: "LBTC", } Currency_value = map[string]int32{ "BTC": 0, "LBTC": 1, } )
Enum value maps for Currency.
var ( SwapType_name = map[int32]string{ 0: "SUBMARINE", 1: "REVERSE", 2: "CHAIN", } SwapType_value = map[string]int32{ "SUBMARINE": 0, "REVERSE": 1, "CHAIN": 2, } )
Enum value maps for SwapType.
var ( IncludeSwaps_name = map[int32]string{ 0: "ALL", 1: "MANUAL", 2: "AUTO", } IncludeSwaps_value = map[string]int32{ "ALL": 0, "MANUAL": 1, "AUTO": 2, } )
Enum value maps for IncludeSwaps.
var ( TransactionType_name = map[int32]string{ 0: "UNKNOWN", 1: "LOCKUP", 2: "REFUND", 3: "CLAIM", 4: "CONSOLIDATION", } TransactionType_value = map[string]int32{ "UNKNOWN": 0, "LOCKUP": 1, "REFUND": 2, "CLAIM": 3, "CONSOLIDATION": 4, } )
Enum value maps for TransactionType.
var Boltz_ServiceDesc = grpc.ServiceDesc{ ServiceName: "boltzrpc.Boltz", HandlerType: (*BoltzServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetInfo", Handler: _Boltz_GetInfo_Handler, }, { MethodName: "GetServiceInfo", Handler: _Boltz_GetServiceInfo_Handler, }, { MethodName: "GetPairInfo", Handler: _Boltz_GetPairInfo_Handler, }, { MethodName: "GetPairs", Handler: _Boltz_GetPairs_Handler, }, { MethodName: "ListSwaps", Handler: _Boltz_ListSwaps_Handler, }, { MethodName: "GetStats", Handler: _Boltz_GetStats_Handler, }, { MethodName: "RefundSwap", Handler: _Boltz_RefundSwap_Handler, }, { MethodName: "ClaimSwaps", Handler: _Boltz_ClaimSwaps_Handler, }, { MethodName: "GetSwapInfo", Handler: _Boltz_GetSwapInfo_Handler, }, { MethodName: "Deposit", Handler: _Boltz_Deposit_Handler, }, { MethodName: "CreateSwap", Handler: _Boltz_CreateSwap_Handler, }, { MethodName: "CreateChannel", Handler: _Boltz_CreateChannel_Handler, }, { MethodName: "CreateReverseSwap", Handler: _Boltz_CreateReverseSwap_Handler, }, { MethodName: "CreateChainSwap", Handler: _Boltz_CreateChainSwap_Handler, }, { MethodName: "CreateWallet", Handler: _Boltz_CreateWallet_Handler, }, { MethodName: "ImportWallet", Handler: _Boltz_ImportWallet_Handler, }, { MethodName: "SetSubaccount", Handler: _Boltz_SetSubaccount_Handler, }, { MethodName: "GetSubaccounts", Handler: _Boltz_GetSubaccounts_Handler, }, { MethodName: "GetWallets", Handler: _Boltz_GetWallets_Handler, }, { MethodName: "GetWallet", Handler: _Boltz_GetWallet_Handler, }, { MethodName: "GetWalletSendFee", Handler: _Boltz_GetWalletSendFee_Handler, }, { MethodName: "ListWalletTransactions", Handler: _Boltz_ListWalletTransactions_Handler, }, { MethodName: "GetWalletCredentials", Handler: _Boltz_GetWalletCredentials_Handler, }, { MethodName: "RemoveWallet", Handler: _Boltz_RemoveWallet_Handler, }, { MethodName: "WalletSend", Handler: _Boltz_WalletSend_Handler, }, { MethodName: "WalletReceive", Handler: _Boltz_WalletReceive_Handler, }, { MethodName: "Stop", Handler: _Boltz_Stop_Handler, }, { MethodName: "Unlock", Handler: _Boltz_Unlock_Handler, }, { MethodName: "VerifyWalletPassword", Handler: _Boltz_VerifyWalletPassword_Handler, }, { MethodName: "ChangeWalletPassword", Handler: _Boltz_ChangeWalletPassword_Handler, }, { MethodName: "CreateTenant", Handler: _Boltz_CreateTenant_Handler, }, { MethodName: "ListTenants", Handler: _Boltz_ListTenants_Handler, }, { MethodName: "GetTenant", Handler: _Boltz_GetTenant_Handler, }, { MethodName: "BakeMacaroon", Handler: _Boltz_BakeMacaroon_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetSwapInfoStream", Handler: _Boltz_GetSwapInfoStream_Handler, ServerStreams: true, }, }, Metadata: "boltzrpc.proto", }
Boltz_ServiceDesc is the grpc.ServiceDesc for Boltz service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_boltzrpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBoltzHandler ¶
RegisterBoltzHandler registers the http handlers for service Boltz to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterBoltzHandlerClient ¶
func RegisterBoltzHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BoltzClient) error
RegisterBoltzHandlerClient registers the http handlers for service Boltz to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BoltzClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BoltzClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BoltzClient" to call the correct interceptors.
func RegisterBoltzHandlerFromEndpoint ¶
func RegisterBoltzHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterBoltzHandlerFromEndpoint is same as RegisterBoltzHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterBoltzHandlerServer ¶
func RegisterBoltzHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BoltzServer) error
RegisterBoltzHandlerServer registers the http handlers for service Boltz to "mux". UnaryRPC :call BoltzServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBoltzHandlerFromEndpoint instead.
func RegisterBoltzServer ¶
func RegisterBoltzServer(s grpc.ServiceRegistrar, srv BoltzServer)
Types ¶
type AnySwapInfo ¶
type AnySwapInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type SwapType `protobuf:"varint,2,opt,name=type,proto3,enum=boltzrpc.SwapType" json:"type,omitempty"` Pair *Pair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"` State SwapState `protobuf:"varint,4,opt,name=state,proto3,enum=boltzrpc.SwapState" json:"state,omitempty"` Error *string `protobuf:"bytes,5,opt,name=error,proto3,oneof" json:"error,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` // The expected amount to be sent to the lockup address for submarine and chain swaps and // the invoice amount for reverse swaps. FromAmount uint64 `protobuf:"varint,7,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` // `from_amount` minus the service and network fee. ToAmount uint64 `protobuf:"varint,13,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ServiceFee *uint64 `protobuf:"varint,9,opt,name=service_fee,json=serviceFee,proto3,oneof" json:"service_fee,omitempty"` // inclues the routing fee for reverse swaps OnchainFee *uint64 `protobuf:"varint,10,opt,name=onchain_fee,json=onchainFee,proto3,oneof" json:"onchain_fee,omitempty"` IsAuto bool `protobuf:"varint,11,opt,name=is_auto,json=isAuto,proto3" json:"is_auto,omitempty"` TenantId uint64 `protobuf:"varint,12,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*AnySwapInfo) Descriptor
deprecated
func (*AnySwapInfo) Descriptor() ([]byte, []int)
Deprecated: Use AnySwapInfo.ProtoReflect.Descriptor instead.
func (*AnySwapInfo) GetCreatedAt ¶
func (x *AnySwapInfo) GetCreatedAt() int64
func (*AnySwapInfo) GetError ¶
func (x *AnySwapInfo) GetError() string
func (*AnySwapInfo) GetFromAmount ¶
func (x *AnySwapInfo) GetFromAmount() uint64
func (*AnySwapInfo) GetId ¶
func (x *AnySwapInfo) GetId() string
func (*AnySwapInfo) GetIsAuto ¶
func (x *AnySwapInfo) GetIsAuto() bool
func (*AnySwapInfo) GetOnchainFee ¶
func (x *AnySwapInfo) GetOnchainFee() uint64
func (*AnySwapInfo) GetPair ¶
func (x *AnySwapInfo) GetPair() *Pair
func (*AnySwapInfo) GetServiceFee ¶
func (x *AnySwapInfo) GetServiceFee() uint64
func (*AnySwapInfo) GetState ¶
func (x *AnySwapInfo) GetState() SwapState
func (*AnySwapInfo) GetStatus ¶
func (x *AnySwapInfo) GetStatus() string
func (*AnySwapInfo) GetTenantId ¶
func (x *AnySwapInfo) GetTenantId() uint64
func (*AnySwapInfo) GetToAmount ¶
func (x *AnySwapInfo) GetToAmount() uint64
func (*AnySwapInfo) GetType ¶
func (x *AnySwapInfo) GetType() SwapType
func (*AnySwapInfo) ProtoMessage ¶
func (*AnySwapInfo) ProtoMessage()
func (*AnySwapInfo) ProtoReflect ¶
func (x *AnySwapInfo) ProtoReflect() protoreflect.Message
func (*AnySwapInfo) Reset ¶
func (x *AnySwapInfo) Reset()
func (*AnySwapInfo) String ¶
func (x *AnySwapInfo) String() string
type BakeMacaroonRequest ¶
type BakeMacaroonRequest struct { TenantId *uint64 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3,oneof" json:"tenant_id,omitempty"` Permissions []*MacaroonPermissions `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*BakeMacaroonRequest) Descriptor
deprecated
func (*BakeMacaroonRequest) Descriptor() ([]byte, []int)
Deprecated: Use BakeMacaroonRequest.ProtoReflect.Descriptor instead.
func (*BakeMacaroonRequest) GetPermissions ¶
func (x *BakeMacaroonRequest) GetPermissions() []*MacaroonPermissions
func (*BakeMacaroonRequest) GetTenantId ¶
func (x *BakeMacaroonRequest) GetTenantId() uint64
func (*BakeMacaroonRequest) ProtoMessage ¶
func (*BakeMacaroonRequest) ProtoMessage()
func (*BakeMacaroonRequest) ProtoReflect ¶
func (x *BakeMacaroonRequest) ProtoReflect() protoreflect.Message
func (*BakeMacaroonRequest) Reset ¶
func (x *BakeMacaroonRequest) Reset()
func (*BakeMacaroonRequest) String ¶
func (x *BakeMacaroonRequest) String() string
type BakeMacaroonResponse ¶
type BakeMacaroonResponse struct { Macaroon string `protobuf:"bytes,1,opt,name=macaroon,proto3" json:"macaroon,omitempty"` // contains filtered or unexported fields }
func (*BakeMacaroonResponse) Descriptor
deprecated
func (*BakeMacaroonResponse) Descriptor() ([]byte, []int)
Deprecated: Use BakeMacaroonResponse.ProtoReflect.Descriptor instead.
func (*BakeMacaroonResponse) GetMacaroon ¶
func (x *BakeMacaroonResponse) GetMacaroon() string
func (*BakeMacaroonResponse) ProtoMessage ¶
func (*BakeMacaroonResponse) ProtoMessage()
func (*BakeMacaroonResponse) ProtoReflect ¶
func (x *BakeMacaroonResponse) ProtoReflect() protoreflect.Message
func (*BakeMacaroonResponse) Reset ¶
func (x *BakeMacaroonResponse) Reset()
func (*BakeMacaroonResponse) String ¶
func (x *BakeMacaroonResponse) String() string
type Balance ¶
type Balance struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Confirmed uint64 `protobuf:"varint,2,opt,name=confirmed,proto3" json:"confirmed,omitempty"` Unconfirmed uint64 `protobuf:"varint,3,opt,name=unconfirmed,proto3" json:"unconfirmed,omitempty"` // contains filtered or unexported fields }
func (*Balance) Descriptor
deprecated
func (*Balance) GetConfirmed ¶
func (*Balance) GetUnconfirmed ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) ProtoReflect ¶
func (x *Balance) ProtoReflect() protoreflect.Message
type BlockHeights ¶
type BlockHeights struct { Btc uint32 `protobuf:"varint,1,opt,name=btc,proto3" json:"btc,omitempty"` Liquid *uint32 `protobuf:"varint,2,opt,name=liquid,proto3,oneof" json:"liquid,omitempty"` // contains filtered or unexported fields }
func (*BlockHeights) Descriptor
deprecated
func (*BlockHeights) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeights.ProtoReflect.Descriptor instead.
func (*BlockHeights) GetBtc ¶
func (x *BlockHeights) GetBtc() uint32
func (*BlockHeights) GetLiquid ¶
func (x *BlockHeights) GetLiquid() uint32
func (*BlockHeights) ProtoMessage ¶
func (*BlockHeights) ProtoMessage()
func (*BlockHeights) ProtoReflect ¶
func (x *BlockHeights) ProtoReflect() protoreflect.Message
func (*BlockHeights) Reset ¶
func (x *BlockHeights) Reset()
func (*BlockHeights) String ¶
func (x *BlockHeights) String() string
type BoltzClient ¶
type BoltzClient interface { // Gets general information about the daemon like the chain of the lightning node it is connected to // and the IDs of pending swaps. GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) // Deprecated: Do not use. // // Fetches the latest limits and fees from the Boltz backend API it is connected to. GetServiceInfo(ctx context.Context, in *GetServiceInfoRequest, opts ...grpc.CallOption) (*GetServiceInfoResponse, error) // Fetches information about a specific pair for a chain swap. GetPairInfo(ctx context.Context, in *GetPairInfoRequest, opts ...grpc.CallOption) (*PairInfo, error) // Fetches all available pairs for submarine and reverse swaps. GetPairs(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetPairsResponse, error) // Returns a list of all swaps, reverse swaps, and chain swaps in the database. ListSwaps(ctx context.Context, in *ListSwapsRequest, opts ...grpc.CallOption) (*ListSwapsResponse, error) // Returns stats of all swaps, reverse swaps, and chain swaps in the database. GetStats(ctx context.Context, in *GetStatsRequest, opts ...grpc.CallOption) (*GetStatsResponse, error) // Refund a failed swap manually. // This is only required when no refund address has been set and the swap does not have an associated wallet. RefundSwap(ctx context.Context, in *RefundSwapRequest, opts ...grpc.CallOption) (*GetSwapInfoResponse, error) // Claim swaps manually. // This is only required when no claim address has been set and the swap does not have an associated wallet. ClaimSwaps(ctx context.Context, in *ClaimSwapsRequest, opts ...grpc.CallOption) (*ClaimSwapsResponse, error) // Gets all available information about a swap from the database. GetSwapInfo(ctx context.Context, in *GetSwapInfoRequest, opts ...grpc.CallOption) (*GetSwapInfoResponse, error) // Returns the entire history of the swap if is still pending and streams updates in real time. // If the swap id is empty or "*" updates for all swaps will be streamed. GetSwapInfoStream(ctx context.Context, in *GetSwapInfoRequest, opts ...grpc.CallOption) (Boltz_GetSwapInfoStreamClient, error) // Deprecated: Do not use. // // This is a wrapper for channel creation swaps. The daemon only returns the ID, timeout block height and lockup address. // The Boltz backend takes care of the rest. When an amount of onchain coins that is in the limits is sent to the address // before the timeout block height, the daemon creates a new lightning invoice, sends it to the Boltz backend which // will try to pay it and if that is not possible, create a new channel to make the swap succeed. Deposit(ctx context.Context, in *DepositRequest, opts ...grpc.CallOption) (*DepositResponse, error) // Creates a new swap from onchain to lightning. CreateSwap(ctx context.Context, in *CreateSwapRequest, opts ...grpc.CallOption) (*CreateSwapResponse, error) // Deprecated: Do not use. // // Create a new swap from onchain to a new lightning channel. The daemon will only accept the invoice payment if the HTLCs // is coming trough a new channel channel opened by Boltz. CreateChannel(ctx context.Context, in *CreateChannelRequest, opts ...grpc.CallOption) (*CreateSwapResponse, error) // Creates a new reverse swap from lightning to onchain. If `accept_zero_conf` is set to true in the request, the daemon // will not wait until the lockup transaction from Boltz is confirmed in a block, but will claim it instantly. CreateReverseSwap(ctx context.Context, in *CreateReverseSwapRequest, opts ...grpc.CallOption) (*CreateReverseSwapResponse, error) // Creates a new chain swap from one chain to another. If `accept_zero_conf` is set to true in the request, the daemon // will not wait until the lockup transaction from Boltz is confirmed in a block, but will claim it instantly. CreateChainSwap(ctx context.Context, in *CreateChainSwapRequest, opts ...grpc.CallOption) (*ChainSwapInfo, error) // Creates a new liquid wallet and returns the mnemonic. CreateWallet(ctx context.Context, in *CreateWalletRequest, opts ...grpc.CallOption) (*CreateWalletResponse, error) // Imports an existing wallet. ImportWallet(ctx context.Context, in *ImportWalletRequest, opts ...grpc.CallOption) (*Wallet, error) // Sets the subaccount of a wallet. Not supported for readonly wallets. SetSubaccount(ctx context.Context, in *SetSubaccountRequest, opts ...grpc.CallOption) (*Subaccount, error) // Returns all subaccounts for a given wallet. Not supported for readonly wallets. GetSubaccounts(ctx context.Context, in *GetSubaccountsRequest, opts ...grpc.CallOption) (*GetSubaccountsResponse, error) // Returns all available wallets. GetWallets(ctx context.Context, in *GetWalletsRequest, opts ...grpc.CallOption) (*Wallets, error) // Returns the current balance and subaccount of a wallet. GetWallet(ctx context.Context, in *GetWalletRequest, opts ...grpc.CallOption) (*Wallet, error) // Calculates the fee for an equivalent `WalletSend` request. // If `address` is left empty, a dummy swap address will be used, allowing for a fee estimation of a swap lockup transaction. GetWalletSendFee(ctx context.Context, in *WalletSendRequest, opts ...grpc.CallOption) (*WalletSendFee, error) // Returns recent transactions from a wallet. ListWalletTransactions(ctx context.Context, in *ListWalletTransactionsRequest, opts ...grpc.CallOption) (*ListWalletTransactionsResponse, error) // Returns the credentials of a wallet. The password will be required if the wallet is encrypted. GetWalletCredentials(ctx context.Context, in *GetWalletCredentialsRequest, opts ...grpc.CallOption) (*WalletCredentials, error) // Removes a wallet. RemoveWallet(ctx context.Context, in *RemoveWalletRequest, opts ...grpc.CallOption) (*RemoveWalletResponse, error) // Send coins from a wallet. Only the confirmed balance can be spent. WalletSend(ctx context.Context, in *WalletSendRequest, opts ...grpc.CallOption) (*WalletSendResponse, error) // Get a new address of the wallet. WalletReceive(ctx context.Context, in *WalletReceiveRequest, opts ...grpc.CallOption) (*WalletReceiveResponse, error) // Gracefully stops the daemon. Stop(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // Unlocks the server. This will be required on startup if there are any encrypted wallets. Unlock(ctx context.Context, in *UnlockRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Check if the password is correct. VerifyWalletPassword(ctx context.Context, in *VerifyWalletPasswordRequest, opts ...grpc.CallOption) (*VerifyWalletPasswordResponse, error) // Changes the password for wallet encryption. ChangeWalletPassword(ctx context.Context, in *ChangeWalletPasswordRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a new tenant which can be used to bake restricted macaroons. CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*Tenant, error) // Returns all tenants. ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error) // Get a specifiy tenant. GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*Tenant, error) // Bakes a new macaroon with the specified permissions. // The macaroon can also be restricted to a specific tenant. In this case, // - any swap or wallet created with the returned macaroon will belong to this tenant and can not be accessed by other tenants. // - the lightning node connected to the daemon can not be used to pay or create invoices for swaps. BakeMacaroon(ctx context.Context, in *BakeMacaroonRequest, opts ...grpc.CallOption) (*BakeMacaroonResponse, error) }
BoltzClient is the client API for Boltz service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBoltzClient ¶
func NewBoltzClient(cc grpc.ClientConnInterface) BoltzClient
type BoltzServer ¶
type BoltzServer interface { // Gets general information about the daemon like the chain of the lightning node it is connected to // and the IDs of pending swaps. GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) // Deprecated: Do not use. // // Fetches the latest limits and fees from the Boltz backend API it is connected to. GetServiceInfo(context.Context, *GetServiceInfoRequest) (*GetServiceInfoResponse, error) // Fetches information about a specific pair for a chain swap. GetPairInfo(context.Context, *GetPairInfoRequest) (*PairInfo, error) // Fetches all available pairs for submarine and reverse swaps. GetPairs(context.Context, *empty.Empty) (*GetPairsResponse, error) // Returns a list of all swaps, reverse swaps, and chain swaps in the database. ListSwaps(context.Context, *ListSwapsRequest) (*ListSwapsResponse, error) // Returns stats of all swaps, reverse swaps, and chain swaps in the database. GetStats(context.Context, *GetStatsRequest) (*GetStatsResponse, error) // Refund a failed swap manually. // This is only required when no refund address has been set and the swap does not have an associated wallet. RefundSwap(context.Context, *RefundSwapRequest) (*GetSwapInfoResponse, error) // Claim swaps manually. // This is only required when no claim address has been set and the swap does not have an associated wallet. ClaimSwaps(context.Context, *ClaimSwapsRequest) (*ClaimSwapsResponse, error) // Gets all available information about a swap from the database. GetSwapInfo(context.Context, *GetSwapInfoRequest) (*GetSwapInfoResponse, error) // Returns the entire history of the swap if is still pending and streams updates in real time. // If the swap id is empty or "*" updates for all swaps will be streamed. GetSwapInfoStream(*GetSwapInfoRequest, Boltz_GetSwapInfoStreamServer) error // Deprecated: Do not use. // // This is a wrapper for channel creation swaps. The daemon only returns the ID, timeout block height and lockup address. // The Boltz backend takes care of the rest. When an amount of onchain coins that is in the limits is sent to the address // before the timeout block height, the daemon creates a new lightning invoice, sends it to the Boltz backend which // will try to pay it and if that is not possible, create a new channel to make the swap succeed. Deposit(context.Context, *DepositRequest) (*DepositResponse, error) // Creates a new swap from onchain to lightning. CreateSwap(context.Context, *CreateSwapRequest) (*CreateSwapResponse, error) // Deprecated: Do not use. // // Create a new swap from onchain to a new lightning channel. The daemon will only accept the invoice payment if the HTLCs // is coming trough a new channel channel opened by Boltz. CreateChannel(context.Context, *CreateChannelRequest) (*CreateSwapResponse, error) // Creates a new reverse swap from lightning to onchain. If `accept_zero_conf` is set to true in the request, the daemon // will not wait until the lockup transaction from Boltz is confirmed in a block, but will claim it instantly. CreateReverseSwap(context.Context, *CreateReverseSwapRequest) (*CreateReverseSwapResponse, error) // Creates a new chain swap from one chain to another. If `accept_zero_conf` is set to true in the request, the daemon // will not wait until the lockup transaction from Boltz is confirmed in a block, but will claim it instantly. CreateChainSwap(context.Context, *CreateChainSwapRequest) (*ChainSwapInfo, error) // Creates a new liquid wallet and returns the mnemonic. CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error) // Imports an existing wallet. ImportWallet(context.Context, *ImportWalletRequest) (*Wallet, error) // Sets the subaccount of a wallet. Not supported for readonly wallets. SetSubaccount(context.Context, *SetSubaccountRequest) (*Subaccount, error) // Returns all subaccounts for a given wallet. Not supported for readonly wallets. GetSubaccounts(context.Context, *GetSubaccountsRequest) (*GetSubaccountsResponse, error) // Returns all available wallets. GetWallets(context.Context, *GetWalletsRequest) (*Wallets, error) // Returns the current balance and subaccount of a wallet. GetWallet(context.Context, *GetWalletRequest) (*Wallet, error) // Calculates the fee for an equivalent `WalletSend` request. // If `address` is left empty, a dummy swap address will be used, allowing for a fee estimation of a swap lockup transaction. GetWalletSendFee(context.Context, *WalletSendRequest) (*WalletSendFee, error) // Returns recent transactions from a wallet. ListWalletTransactions(context.Context, *ListWalletTransactionsRequest) (*ListWalletTransactionsResponse, error) // Returns the credentials of a wallet. The password will be required if the wallet is encrypted. GetWalletCredentials(context.Context, *GetWalletCredentialsRequest) (*WalletCredentials, error) // Removes a wallet. RemoveWallet(context.Context, *RemoveWalletRequest) (*RemoveWalletResponse, error) // Send coins from a wallet. Only the confirmed balance can be spent. WalletSend(context.Context, *WalletSendRequest) (*WalletSendResponse, error) // Get a new address of the wallet. WalletReceive(context.Context, *WalletReceiveRequest) (*WalletReceiveResponse, error) // Gracefully stops the daemon. Stop(context.Context, *empty.Empty) (*empty.Empty, error) // Unlocks the server. This will be required on startup if there are any encrypted wallets. Unlock(context.Context, *UnlockRequest) (*empty.Empty, error) // Check if the password is correct. VerifyWalletPassword(context.Context, *VerifyWalletPasswordRequest) (*VerifyWalletPasswordResponse, error) // Changes the password for wallet encryption. ChangeWalletPassword(context.Context, *ChangeWalletPasswordRequest) (*empty.Empty, error) // Creates a new tenant which can be used to bake restricted macaroons. CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error) // Returns all tenants. ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error) // Get a specifiy tenant. GetTenant(context.Context, *GetTenantRequest) (*Tenant, error) // Bakes a new macaroon with the specified permissions. // The macaroon can also be restricted to a specific tenant. In this case, // - any swap or wallet created with the returned macaroon will belong to this tenant and can not be accessed by other tenants. // - the lightning node connected to the daemon can not be used to pay or create invoices for swaps. BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error) // contains filtered or unexported methods }
BoltzServer is the server API for Boltz service. All implementations must embed UnimplementedBoltzServer for forward compatibility
type Boltz_GetSwapInfoStreamClient ¶
type Boltz_GetSwapInfoStreamClient interface { Recv() (*GetSwapInfoResponse, error) grpc.ClientStream }
type Boltz_GetSwapInfoStreamServer ¶
type Boltz_GetSwapInfoStreamServer interface { Send(*GetSwapInfoResponse) error grpc.ServerStream }
type Budget ¶
type Budget struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Remaining int64 `protobuf:"varint,2,opt,name=remaining,proto3" json:"remaining,omitempty"` StartDate int64 `protobuf:"varint,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate int64 `protobuf:"varint,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // contains filtered or unexported fields }
func (*Budget) Descriptor
deprecated
func (*Budget) GetEndDate ¶
func (*Budget) GetRemaining ¶
func (*Budget) GetStartDate ¶
func (*Budget) ProtoMessage ¶
func (*Budget) ProtoMessage()
func (*Budget) ProtoReflect ¶
func (x *Budget) ProtoReflect() protoreflect.Message
type ChainSwapData ¶
type ChainSwapData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Currency Currency `protobuf:"varint,2,opt,name=currency,proto3,enum=boltzrpc.Currency" json:"currency,omitempty"` PrivateKey string `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` TheirPublicKey string `protobuf:"bytes,4,opt,name=their_public_key,json=theirPublicKey,proto3" json:"their_public_key,omitempty"` Amount uint64 `protobuf:"varint,6,opt,name=amount,proto3" json:"amount,omitempty"` TimeoutBlockHeight uint32 `protobuf:"varint,7,opt,name=timeout_block_height,json=timeoutBlockHeight,proto3" json:"timeout_block_height,omitempty"` LockupTransactionId *string `` /* 126-byte string literal not displayed */ TransactionId *string `protobuf:"bytes,9,opt,name=transaction_id,json=transactionId,proto3,oneof" json:"transaction_id,omitempty"` WalletId *uint64 `protobuf:"varint,20,opt,name=wallet_id,json=walletId,proto3,oneof" json:"wallet_id,omitempty"` Address *string `protobuf:"bytes,12,opt,name=address,proto3,oneof" json:"address,omitempty"` BlindingKey *string `protobuf:"bytes,13,opt,name=blinding_key,json=blindingKey,proto3,oneof" json:"blinding_key,omitempty"` LockupAddress string `protobuf:"bytes,14,opt,name=lockup_address,json=lockupAddress,proto3" json:"lockup_address,omitempty"` // contains filtered or unexported fields }
func (*ChainSwapData) Descriptor
deprecated
func (*ChainSwapData) Descriptor() ([]byte, []int)
Deprecated: Use ChainSwapData.ProtoReflect.Descriptor instead.
func (*ChainSwapData) GetAddress ¶
func (x *ChainSwapData) GetAddress() string
func (*ChainSwapData) GetAmount ¶
func (x *ChainSwapData) GetAmount() uint64
func (*ChainSwapData) GetBlindingKey ¶
func (x *ChainSwapData) GetBlindingKey() string
func (*ChainSwapData) GetCurrency ¶
func (x *ChainSwapData) GetCurrency() Currency
func (*ChainSwapData) GetId ¶
func (x *ChainSwapData) GetId() string
func (*ChainSwapData) GetLockupAddress ¶
func (x *ChainSwapData) GetLockupAddress() string
func (*ChainSwapData) GetLockupTransactionId ¶
func (x *ChainSwapData) GetLockupTransactionId() string
func (*ChainSwapData) GetPrivateKey ¶
func (x *ChainSwapData) GetPrivateKey() string
func (*ChainSwapData) GetTheirPublicKey ¶
func (x *ChainSwapData) GetTheirPublicKey() string
func (*ChainSwapData) GetTimeoutBlockHeight ¶
func (x *ChainSwapData) GetTimeoutBlockHeight() uint32
func (*ChainSwapData) GetTransactionId ¶
func (x *ChainSwapData) GetTransactionId() string
func (*ChainSwapData) GetWalletId ¶
func (x *ChainSwapData) GetWalletId() uint64
func (*ChainSwapData) ProtoMessage ¶
func (*ChainSwapData) ProtoMessage()
func (*ChainSwapData) ProtoReflect ¶
func (x *ChainSwapData) ProtoReflect() protoreflect.Message
func (*ChainSwapData) Reset ¶
func (x *ChainSwapData) Reset()
func (*ChainSwapData) String ¶
func (x *ChainSwapData) String() string
type ChainSwapInfo ¶
type ChainSwapInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Pair *Pair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"` State SwapState `protobuf:"varint,3,opt,name=state,proto3,enum=boltzrpc.SwapState" json:"state,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` Preimage string `protobuf:"bytes,6,opt,name=preimage,proto3" json:"preimage,omitempty"` IsAuto bool `protobuf:"varint,8,opt,name=is_auto,json=isAuto,proto3" json:"is_auto,omitempty"` ServiceFee *uint64 `protobuf:"varint,9,opt,name=service_fee,json=serviceFee,proto3,oneof" json:"service_fee,omitempty"` ServiceFeePercent float64 `protobuf:"fixed64,10,opt,name=service_fee_percent,json=serviceFeePercent,proto3" json:"service_fee_percent,omitempty"` OnchainFee *uint64 `protobuf:"varint,11,opt,name=onchain_fee,json=onchainFee,proto3,oneof" json:"onchain_fee,omitempty"` CreatedAt int64 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` TenantId uint64 `protobuf:"varint,13,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` FromData *ChainSwapData `protobuf:"bytes,14,opt,name=from_data,json=fromData,proto3" json:"from_data,omitempty"` ToData *ChainSwapData `protobuf:"bytes,15,opt,name=to_data,json=toData,proto3" json:"to_data,omitempty"` // contains filtered or unexported fields }
func (*ChainSwapInfo) Descriptor
deprecated
func (*ChainSwapInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChainSwapInfo.ProtoReflect.Descriptor instead.
func (*ChainSwapInfo) GetCreatedAt ¶
func (x *ChainSwapInfo) GetCreatedAt() int64
func (*ChainSwapInfo) GetError ¶
func (x *ChainSwapInfo) GetError() string
func (*ChainSwapInfo) GetFromData ¶
func (x *ChainSwapInfo) GetFromData() *ChainSwapData
func (*ChainSwapInfo) GetId ¶
func (x *ChainSwapInfo) GetId() string
func (*ChainSwapInfo) GetIsAuto ¶
func (x *ChainSwapInfo) GetIsAuto() bool
func (*ChainSwapInfo) GetOnchainFee ¶
func (x *ChainSwapInfo) GetOnchainFee() uint64
func (*ChainSwapInfo) GetPair ¶
func (x *ChainSwapInfo) GetPair() *Pair
func (*ChainSwapInfo) GetPreimage ¶
func (x *ChainSwapInfo) GetPreimage() string
func (*ChainSwapInfo) GetServiceFee ¶
func (x *ChainSwapInfo) GetServiceFee() uint64
func (*ChainSwapInfo) GetServiceFeePercent ¶
func (x *ChainSwapInfo) GetServiceFeePercent() float64
func (*ChainSwapInfo) GetState ¶
func (x *ChainSwapInfo) GetState() SwapState
func (*ChainSwapInfo) GetStatus ¶
func (x *ChainSwapInfo) GetStatus() string
func (*ChainSwapInfo) GetTenantId ¶
func (x *ChainSwapInfo) GetTenantId() uint64
func (*ChainSwapInfo) GetToData ¶
func (x *ChainSwapInfo) GetToData() *ChainSwapData
func (*ChainSwapInfo) ProtoMessage ¶
func (*ChainSwapInfo) ProtoMessage()
func (*ChainSwapInfo) ProtoReflect ¶
func (x *ChainSwapInfo) ProtoReflect() protoreflect.Message
func (*ChainSwapInfo) Reset ¶
func (x *ChainSwapInfo) Reset()
func (*ChainSwapInfo) String ¶
func (x *ChainSwapInfo) String() string
type ChangeWalletPasswordRequest ¶
type ChangeWalletPasswordRequest struct { Old string `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` // contains filtered or unexported fields }
func (*ChangeWalletPasswordRequest) Descriptor
deprecated
func (*ChangeWalletPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeWalletPasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangeWalletPasswordRequest) GetNew ¶
func (x *ChangeWalletPasswordRequest) GetNew() string
func (*ChangeWalletPasswordRequest) GetOld ¶
func (x *ChangeWalletPasswordRequest) GetOld() string
func (*ChangeWalletPasswordRequest) ProtoMessage ¶
func (*ChangeWalletPasswordRequest) ProtoMessage()
func (*ChangeWalletPasswordRequest) ProtoReflect ¶
func (x *ChangeWalletPasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangeWalletPasswordRequest) Reset ¶
func (x *ChangeWalletPasswordRequest) Reset()
func (*ChangeWalletPasswordRequest) String ¶
func (x *ChangeWalletPasswordRequest) String() string
type ChannelCreationInfo
deprecated
type ChannelCreationInfo struct { // ID of the swap to which this channel channel belongs SwapId string `protobuf:"bytes,1,opt,name=swap_id,json=swapId,proto3" json:"swap_id,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` InboundLiquidity uint32 `protobuf:"varint,3,opt,name=inbound_liquidity,json=inboundLiquidity,proto3" json:"inbound_liquidity,omitempty"` Private bool `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"` FundingTransactionId string `protobuf:"bytes,5,opt,name=funding_transaction_id,json=fundingTransactionId,proto3" json:"funding_transaction_id,omitempty"` FundingTransactionVout uint32 `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Channel creations are an optional extension to a submarine swap in the data types of boltz-client.
Deprecated: Marked as deprecated in boltzrpc.proto.
func (*ChannelCreationInfo) Descriptor
deprecated
func (*ChannelCreationInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChannelCreationInfo.ProtoReflect.Descriptor instead.
func (*ChannelCreationInfo) GetFundingTransactionId ¶
func (x *ChannelCreationInfo) GetFundingTransactionId() string
func (*ChannelCreationInfo) GetFundingTransactionVout ¶
func (x *ChannelCreationInfo) GetFundingTransactionVout() uint32
func (*ChannelCreationInfo) GetInboundLiquidity ¶
func (x *ChannelCreationInfo) GetInboundLiquidity() uint32
func (*ChannelCreationInfo) GetPrivate ¶
func (x *ChannelCreationInfo) GetPrivate() bool
func (*ChannelCreationInfo) GetStatus ¶
func (x *ChannelCreationInfo) GetStatus() string
func (*ChannelCreationInfo) GetSwapId ¶
func (x *ChannelCreationInfo) GetSwapId() string
func (*ChannelCreationInfo) ProtoMessage ¶
func (*ChannelCreationInfo) ProtoMessage()
func (*ChannelCreationInfo) ProtoReflect ¶
func (x *ChannelCreationInfo) ProtoReflect() protoreflect.Message
func (*ChannelCreationInfo) Reset ¶
func (x *ChannelCreationInfo) Reset()
func (*ChannelCreationInfo) String ¶
func (x *ChannelCreationInfo) String() string
type ChannelId ¶
type ChannelId struct { // cln style: 832347x2473x1 Cln string `protobuf:"bytes,1,opt,name=cln,proto3" json:"cln,omitempty"` // lnd style: 915175205006540801 Lnd uint64 `protobuf:"varint,2,opt,name=lnd,proto3" json:"lnd,omitempty"` // contains filtered or unexported fields }
func (*ChannelId) Descriptor
deprecated
func (*ChannelId) ProtoMessage ¶
func (*ChannelId) ProtoMessage()
func (*ChannelId) ProtoReflect ¶
func (x *ChannelId) ProtoReflect() protoreflect.Message
type ClaimSwapsRequest ¶
type ClaimSwapsRequest struct { SwapIds []string `protobuf:"bytes,1,rep,name=swap_ids,json=swapIds,proto3" json:"swap_ids,omitempty"` // Types that are assignable to Destination: // // *ClaimSwapsRequest_Address // *ClaimSwapsRequest_WalletId Destination isClaimSwapsRequest_Destination `protobuf_oneof:"destination"` // contains filtered or unexported fields }
func (*ClaimSwapsRequest) Descriptor
deprecated
func (*ClaimSwapsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClaimSwapsRequest.ProtoReflect.Descriptor instead.
func (*ClaimSwapsRequest) GetAddress ¶
func (x *ClaimSwapsRequest) GetAddress() string
func (*ClaimSwapsRequest) GetDestination ¶
func (m *ClaimSwapsRequest) GetDestination() isClaimSwapsRequest_Destination
func (*ClaimSwapsRequest) GetSwapIds ¶
func (x *ClaimSwapsRequest) GetSwapIds() []string
func (*ClaimSwapsRequest) GetWalletId ¶
func (x *ClaimSwapsRequest) GetWalletId() uint64
func (*ClaimSwapsRequest) ProtoMessage ¶
func (*ClaimSwapsRequest) ProtoMessage()
func (*ClaimSwapsRequest) ProtoReflect ¶
func (x *ClaimSwapsRequest) ProtoReflect() protoreflect.Message
func (*ClaimSwapsRequest) Reset ¶
func (x *ClaimSwapsRequest) Reset()
func (*ClaimSwapsRequest) String ¶
func (x *ClaimSwapsRequest) String() string
type ClaimSwapsRequest_Address ¶
type ClaimSwapsRequest_Address struct {
Address string `protobuf:"bytes,2,opt,name=address,proto3,oneof"`
}
type ClaimSwapsRequest_WalletId ¶
type ClaimSwapsRequest_WalletId struct {
WalletId uint64 `protobuf:"varint,3,opt,name=wallet_id,json=walletId,proto3,oneof"`
}
type ClaimSwapsResponse ¶
type ClaimSwapsResponse struct { TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // contains filtered or unexported fields }
func (*ClaimSwapsResponse) Descriptor
deprecated
func (*ClaimSwapsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClaimSwapsResponse.ProtoReflect.Descriptor instead.
func (*ClaimSwapsResponse) GetTransactionId ¶
func (x *ClaimSwapsResponse) GetTransactionId() string
func (*ClaimSwapsResponse) ProtoMessage ¶
func (*ClaimSwapsResponse) ProtoMessage()
func (*ClaimSwapsResponse) ProtoReflect ¶
func (x *ClaimSwapsResponse) ProtoReflect() protoreflect.Message
func (*ClaimSwapsResponse) Reset ¶
func (x *ClaimSwapsResponse) Reset()
func (*ClaimSwapsResponse) String ¶
func (x *ClaimSwapsResponse) String() string
type CombinedChannelSwapInfo
deprecated
type CombinedChannelSwapInfo struct { Swap *SwapInfo `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap,omitempty"` ChannelCreation *ChannelCreationInfo `protobuf:"bytes,2,opt,name=channel_creation,json=channelCreation,proto3" json:"channel_creation,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in boltzrpc.proto.
func (*CombinedChannelSwapInfo) Descriptor
deprecated
func (*CombinedChannelSwapInfo) Descriptor() ([]byte, []int)
Deprecated: Use CombinedChannelSwapInfo.ProtoReflect.Descriptor instead.
func (*CombinedChannelSwapInfo) GetChannelCreation ¶
func (x *CombinedChannelSwapInfo) GetChannelCreation() *ChannelCreationInfo
func (*CombinedChannelSwapInfo) GetSwap ¶
func (x *CombinedChannelSwapInfo) GetSwap() *SwapInfo
func (*CombinedChannelSwapInfo) ProtoMessage ¶
func (*CombinedChannelSwapInfo) ProtoMessage()
func (*CombinedChannelSwapInfo) ProtoReflect ¶
func (x *CombinedChannelSwapInfo) ProtoReflect() protoreflect.Message
func (*CombinedChannelSwapInfo) Reset ¶
func (x *CombinedChannelSwapInfo) Reset()
func (*CombinedChannelSwapInfo) String ¶
func (x *CombinedChannelSwapInfo) String() string
type CreateChainSwapRequest ¶
type CreateChainSwapRequest struct { // Amount of satoshis to swap. It is the amount expected to be sent to the lockup address. // If left empty, any amount within the limits will be accepted. Amount *uint64 `protobuf:"varint,1,opt,name=amount,proto3,oneof" json:"amount,omitempty"` Pair *Pair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"` // Address where funds will be swept to if the swap succeeds ToAddress *string `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3,oneof" json:"to_address,omitempty"` // Address where the coins should be refunded to if the swap fails. RefundAddress *string `protobuf:"bytes,4,opt,name=refund_address,json=refundAddress,proto3,oneof" json:"refund_address,omitempty"` // Wallet from which the swap should be paid from. Ignored if `external_pay` is set to true. // If the swap fails, funds will be refunded to this wallet as well. FromWalletId *uint64 `protobuf:"varint,5,opt,name=from_wallet_id,json=fromWalletId,proto3,oneof" json:"from_wallet_id,omitempty"` // Wallet where the the funds will go if the swap succeeds. ToWalletId *uint64 `protobuf:"varint,6,opt,name=to_wallet_id,json=toWalletId,proto3,oneof" json:"to_wallet_id,omitempty"` // Whether the daemon should broadcast the claim transaction immediately after the lockup transaction is in the mempool. // Should only be used for smaller amounts as it involves trust in Boltz. AcceptZeroConf *bool `protobuf:"varint,7,opt,name=accept_zero_conf,json=acceptZeroConf,proto3,oneof" json:"accept_zero_conf,omitempty"` // If set, the daemon will not pay the swap from an internal wallet. ExternalPay *bool `protobuf:"varint,8,opt,name=external_pay,json=externalPay,proto3,oneof" json:"external_pay,omitempty"` // Boltz does not accept 0-conf for Liquid transactions with a fee of 0.01 sat/vByte; // when `lockup_zero_conf` is enabled, a fee of 0.1 sat/vByte will be used for Liquid lockup transactions LockupZeroConf *bool `protobuf:"varint,9,opt,name=lockup_zero_conf,json=lockupZeroConf,proto3,oneof" json:"lockup_zero_conf,omitempty"` // Fee rate to use when sending from internal wallet SatPerVbyte *float64 `protobuf:"fixed64,10,opt,name=sat_per_vbyte,json=satPerVbyte,proto3,oneof" json:"sat_per_vbyte,omitempty"` // Rates to accept for the swap. Queries latest from boltz otherwise // The recommended way to use this is to pass a user approved value from a previous `GetPairInfo` call AcceptedPair *PairInfo `protobuf:"bytes,11,opt,name=accepted_pair,json=acceptedPair,proto3,oneof" json:"accepted_pair,omitempty"` // contains filtered or unexported fields }
func (*CreateChainSwapRequest) Descriptor
deprecated
func (*CreateChainSwapRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChainSwapRequest.ProtoReflect.Descriptor instead.
func (*CreateChainSwapRequest) GetAcceptZeroConf ¶
func (x *CreateChainSwapRequest) GetAcceptZeroConf() bool
func (*CreateChainSwapRequest) GetAcceptedPair ¶
func (x *CreateChainSwapRequest) GetAcceptedPair() *PairInfo
func (*CreateChainSwapRequest) GetAmount ¶
func (x *CreateChainSwapRequest) GetAmount() uint64
func (*CreateChainSwapRequest) GetExternalPay ¶
func (x *CreateChainSwapRequest) GetExternalPay() bool
func (*CreateChainSwapRequest) GetFromWalletId ¶
func (x *CreateChainSwapRequest) GetFromWalletId() uint64
func (*CreateChainSwapRequest) GetLockupZeroConf ¶
func (x *CreateChainSwapRequest) GetLockupZeroConf() bool
func (*CreateChainSwapRequest) GetPair ¶
func (x *CreateChainSwapRequest) GetPair() *Pair
func (*CreateChainSwapRequest) GetRefundAddress ¶
func (x *CreateChainSwapRequest) GetRefundAddress() string
func (*CreateChainSwapRequest) GetSatPerVbyte ¶
func (x *CreateChainSwapRequest) GetSatPerVbyte() float64
func (*CreateChainSwapRequest) GetToAddress ¶
func (x *CreateChainSwapRequest) GetToAddress() string
func (*CreateChainSwapRequest) GetToWalletId ¶
func (x *CreateChainSwapRequest) GetToWalletId() uint64
func (*CreateChainSwapRequest) ProtoMessage ¶
func (*CreateChainSwapRequest) ProtoMessage()
func (*CreateChainSwapRequest) ProtoReflect ¶
func (x *CreateChainSwapRequest) ProtoReflect() protoreflect.Message
func (*CreateChainSwapRequest) Reset ¶
func (x *CreateChainSwapRequest) Reset()
func (*CreateChainSwapRequest) String ¶
func (x *CreateChainSwapRequest) String() string
type CreateChannelRequest ¶
type CreateChannelRequest struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // Percentage of inbound liquidity the channel that is opened should have. // 25 by default. InboundLiquidity uint32 `protobuf:"varint,2,opt,name=inbound_liquidity,json=inboundLiquidity,proto3" json:"inbound_liquidity,omitempty"` Private bool `protobuf:"varint,3,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
func (*CreateChannelRequest) Descriptor
deprecated
func (*CreateChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelRequest.ProtoReflect.Descriptor instead.
func (*CreateChannelRequest) GetAmount ¶
func (x *CreateChannelRequest) GetAmount() int64
func (*CreateChannelRequest) GetInboundLiquidity ¶
func (x *CreateChannelRequest) GetInboundLiquidity() uint32
func (*CreateChannelRequest) GetPrivate ¶
func (x *CreateChannelRequest) GetPrivate() bool
func (*CreateChannelRequest) ProtoMessage ¶
func (*CreateChannelRequest) ProtoMessage()
func (*CreateChannelRequest) ProtoReflect ¶
func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
func (*CreateChannelRequest) Reset ¶
func (x *CreateChannelRequest) Reset()
func (*CreateChannelRequest) String ¶
func (x *CreateChannelRequest) String() string
type CreateReverseSwapRequest ¶
type CreateReverseSwapRequest struct { // amount of satoshis to swap Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // If no value is set, the daemon will query a new address from the lightning node Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Whether the daemon should broadcast the claim transaction immediately after the lockup transaction is in the mempool. // Should only be used for smaller amounts as it involves trust in boltz. AcceptZeroConf bool `protobuf:"varint,3,opt,name=accept_zero_conf,json=acceptZeroConf,proto3" json:"accept_zero_conf,omitempty"` Pair *Pair `protobuf:"bytes,4,opt,name=pair,proto3" json:"pair,omitempty"` // a list of channel ids which are allowed for paying the invoice. can be in either cln or lnd style. ChanIds []string `protobuf:"bytes,5,rep,name=chan_ids,json=chanIds,proto3" json:"chan_ids,omitempty"` // wallet from which the onchain address should be generated - only considered if `address` is not set WalletId *uint64 `protobuf:"varint,6,opt,name=wallet_id,json=walletId,proto3,oneof" json:"wallet_id,omitempty"` // Whether the daemon should return immediately after creating the swap or wait until the swap is successful or failed. // It will always return immediately if `accept_zero_conf` is not set. ReturnImmediately *bool `protobuf:"varint,7,opt,name=return_immediately,json=returnImmediately,proto3,oneof" json:"return_immediately,omitempty"` // If set, the daemon will not pay the invoice of the swap and return the invoice to be paid. This implicitly sets `return_immediately` to true. ExternalPay *bool `protobuf:"varint,8,opt,name=external_pay,json=externalPay,proto3,oneof" json:"external_pay,omitempty"` // Description of the invoice which will be created for the swap Description *string `protobuf:"bytes,9,opt,name=description,proto3,oneof" json:"description,omitempty"` // Description hash of the invoice which will be created for the swap. Takes precedence over `description` DescriptionHash []byte `protobuf:"bytes,10,opt,name=description_hash,json=descriptionHash,proto3,oneof" json:"description_hash,omitempty"` // Expiry of the reverse swap invoice in seconds InvoiceExpiry *uint64 `protobuf:"varint,11,opt,name=invoice_expiry,json=invoiceExpiry,proto3,oneof" json:"invoice_expiry,omitempty"` // Rates to accept for the swap. Queries latest from boltz otherwise // The recommended way to use this is to pass a user approved value from a previous `GetPairInfo` call AcceptedPair *PairInfo `protobuf:"bytes,12,opt,name=accepted_pair,json=acceptedPair,proto3,oneof" json:"accepted_pair,omitempty"` // contains filtered or unexported fields }
func (*CreateReverseSwapRequest) Descriptor
deprecated
func (*CreateReverseSwapRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateReverseSwapRequest.ProtoReflect.Descriptor instead.
func (*CreateReverseSwapRequest) GetAcceptZeroConf ¶
func (x *CreateReverseSwapRequest) GetAcceptZeroConf() bool
func (*CreateReverseSwapRequest) GetAcceptedPair ¶
func (x *CreateReverseSwapRequest) GetAcceptedPair() *PairInfo
func (*CreateReverseSwapRequest) GetAddress ¶
func (x *CreateReverseSwapRequest) GetAddress() string
func (*CreateReverseSwapRequest) GetAmount ¶
func (x *CreateReverseSwapRequest) GetAmount() uint64
func (*CreateReverseSwapRequest) GetChanIds ¶
func (x *CreateReverseSwapRequest) GetChanIds() []string
func (*CreateReverseSwapRequest) GetDescription ¶
func (x *CreateReverseSwapRequest) GetDescription() string
func (*CreateReverseSwapRequest) GetDescriptionHash ¶
func (x *CreateReverseSwapRequest) GetDescriptionHash() []byte
func (*CreateReverseSwapRequest) GetExternalPay ¶
func (x *CreateReverseSwapRequest) GetExternalPay() bool
func (*CreateReverseSwapRequest) GetInvoiceExpiry ¶
func (x *CreateReverseSwapRequest) GetInvoiceExpiry() uint64
func (*CreateReverseSwapRequest) GetPair ¶
func (x *CreateReverseSwapRequest) GetPair() *Pair
func (*CreateReverseSwapRequest) GetReturnImmediately ¶
func (x *CreateReverseSwapRequest) GetReturnImmediately() bool
func (*CreateReverseSwapRequest) GetWalletId ¶
func (x *CreateReverseSwapRequest) GetWalletId() uint64
func (*CreateReverseSwapRequest) ProtoMessage ¶
func (*CreateReverseSwapRequest) ProtoMessage()
func (*CreateReverseSwapRequest) ProtoReflect ¶
func (x *CreateReverseSwapRequest) ProtoReflect() protoreflect.Message
func (*CreateReverseSwapRequest) Reset ¶
func (x *CreateReverseSwapRequest) Reset()
func (*CreateReverseSwapRequest) String ¶
func (x *CreateReverseSwapRequest) String() string
type CreateReverseSwapResponse ¶
type CreateReverseSwapResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` LockupAddress string `protobuf:"bytes,2,opt,name=lockup_address,json=lockupAddress,proto3" json:"lockup_address,omitempty"` // Only populated when zero-conf is accepted and return_immediately is set to false RoutingFeeMilliSat *uint64 `` /* 126-byte string literal not displayed */ // Only populated when zero-conf is accepted and return_immediately is set to false ClaimTransactionId *string `protobuf:"bytes,4,opt,name=claim_transaction_id,json=claimTransactionId,proto3,oneof" json:"claim_transaction_id,omitempty"` // Invoice to be paid. Only populated when `external_pay` is set to true Invoice *string `protobuf:"bytes,5,opt,name=invoice,proto3,oneof" json:"invoice,omitempty"` // contains filtered or unexported fields }
func (*CreateReverseSwapResponse) Descriptor
deprecated
func (*CreateReverseSwapResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateReverseSwapResponse.ProtoReflect.Descriptor instead.
func (*CreateReverseSwapResponse) GetClaimTransactionId ¶
func (x *CreateReverseSwapResponse) GetClaimTransactionId() string
func (*CreateReverseSwapResponse) GetId ¶
func (x *CreateReverseSwapResponse) GetId() string
func (*CreateReverseSwapResponse) GetInvoice ¶
func (x *CreateReverseSwapResponse) GetInvoice() string
func (*CreateReverseSwapResponse) GetLockupAddress ¶
func (x *CreateReverseSwapResponse) GetLockupAddress() string
func (*CreateReverseSwapResponse) GetRoutingFeeMilliSat ¶
func (x *CreateReverseSwapResponse) GetRoutingFeeMilliSat() uint64
func (*CreateReverseSwapResponse) ProtoMessage ¶
func (*CreateReverseSwapResponse) ProtoMessage()
func (*CreateReverseSwapResponse) ProtoReflect ¶
func (x *CreateReverseSwapResponse) ProtoReflect() protoreflect.Message
func (*CreateReverseSwapResponse) Reset ¶
func (x *CreateReverseSwapResponse) Reset()
func (*CreateReverseSwapResponse) String ¶
func (x *CreateReverseSwapResponse) String() string
type CreateSwapRequest ¶
type CreateSwapRequest struct { Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` Pair *Pair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"` // the daemon will pay the swap using the onchain wallet specified in the `wallet` field or any wallet otherwise. SendFromInternal bool `protobuf:"varint,4,opt,name=send_from_internal,json=sendFromInternal,proto3" json:"send_from_internal,omitempty"` // address where the coins should go if the swap fails. Refunds will go to any of the daemons wallets otherwise. RefundAddress *string `protobuf:"bytes,5,opt,name=refund_address,json=refundAddress,proto3,oneof" json:"refund_address,omitempty"` // wallet to pay swap from. only used if `send_from_internal` is set to true WalletId *uint64 `protobuf:"varint,6,opt,name=wallet_id,json=walletId,proto3,oneof" json:"wallet_id,omitempty"` // bolt11 invoice, lnurl, or lnaddress to use for the swap. // required in standalone mode. // when connected to a lightning node, a new invoice for `amount` sats will be fetched // the `amount` field has to be populated in case of a lnurl and lnaddress Invoice *string `protobuf:"bytes,7,opt,name=invoice,proto3,oneof" json:"invoice,omitempty"` // Boltz does not accept 0-conf for Liquid transactions with a fee of 0.01 sat/vByte; // when `zero_conf` is enabled, a fee of 0.1 sat/vByte will be used for Liquid lockup transactions ZeroConf *bool `protobuf:"varint,8,opt,name=zero_conf,json=zeroConf,proto3,oneof" json:"zero_conf,omitempty"` // Fee rate to use when sending from internal wallet SatPerVbyte *float64 `protobuf:"fixed64,9,opt,name=sat_per_vbyte,json=satPerVbyte,proto3,oneof" json:"sat_per_vbyte,omitempty"` // Rates to accept for the swap. Queries latest from boltz otherwise // The recommended way to use this is to pass a user approved value from a previous `GetPairInfo` call AcceptedPair *PairInfo `protobuf:"bytes,10,opt,name=accepted_pair,json=acceptedPair,proto3,oneof" json:"accepted_pair,omitempty"` // contains filtered or unexported fields }
func (*CreateSwapRequest) Descriptor
deprecated
func (*CreateSwapRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSwapRequest.ProtoReflect.Descriptor instead.
func (*CreateSwapRequest) GetAcceptedPair ¶
func (x *CreateSwapRequest) GetAcceptedPair() *PairInfo
func (*CreateSwapRequest) GetAmount ¶
func (x *CreateSwapRequest) GetAmount() uint64
func (*CreateSwapRequest) GetInvoice ¶
func (x *CreateSwapRequest) GetInvoice() string
func (*CreateSwapRequest) GetPair ¶
func (x *CreateSwapRequest) GetPair() *Pair
func (*CreateSwapRequest) GetRefundAddress ¶
func (x *CreateSwapRequest) GetRefundAddress() string
func (*CreateSwapRequest) GetSatPerVbyte ¶
func (x *CreateSwapRequest) GetSatPerVbyte() float64
func (*CreateSwapRequest) GetSendFromInternal ¶
func (x *CreateSwapRequest) GetSendFromInternal() bool
func (*CreateSwapRequest) GetWalletId ¶
func (x *CreateSwapRequest) GetWalletId() uint64
func (*CreateSwapRequest) GetZeroConf ¶
func (x *CreateSwapRequest) GetZeroConf() bool
func (*CreateSwapRequest) ProtoMessage ¶
func (*CreateSwapRequest) ProtoMessage()
func (*CreateSwapRequest) ProtoReflect ¶
func (x *CreateSwapRequest) ProtoReflect() protoreflect.Message
func (*CreateSwapRequest) Reset ¶
func (x *CreateSwapRequest) Reset()
func (*CreateSwapRequest) String ¶
func (x *CreateSwapRequest) String() string
type CreateSwapResponse ¶
type CreateSwapResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` ExpectedAmount uint64 `protobuf:"varint,3,opt,name=expected_amount,json=expectedAmount,proto3" json:"expected_amount,omitempty"` Bip21 string `protobuf:"bytes,4,opt,name=bip21,proto3" json:"bip21,omitempty"` // lockup transaction id. Only populated when `send_from_internal` was specified in the request TxId string `protobuf:"bytes,5,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` TimeoutBlockHeight uint32 `protobuf:"varint,6,opt,name=timeout_block_height,json=timeoutBlockHeight,proto3" json:"timeout_block_height,omitempty"` TimeoutHours float32 `protobuf:"fixed32,7,opt,name=timeout_hours,json=timeoutHours,proto3" json:"timeout_hours,omitempty"` // contains filtered or unexported fields }
func (*CreateSwapResponse) Descriptor
deprecated
func (*CreateSwapResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSwapResponse.ProtoReflect.Descriptor instead.
func (*CreateSwapResponse) GetAddress ¶
func (x *CreateSwapResponse) GetAddress() string
func (*CreateSwapResponse) GetBip21 ¶
func (x *CreateSwapResponse) GetBip21() string
func (*CreateSwapResponse) GetExpectedAmount ¶
func (x *CreateSwapResponse) GetExpectedAmount() uint64
func (*CreateSwapResponse) GetId ¶
func (x *CreateSwapResponse) GetId() string
func (*CreateSwapResponse) GetTimeoutBlockHeight ¶
func (x *CreateSwapResponse) GetTimeoutBlockHeight() uint32
func (*CreateSwapResponse) GetTimeoutHours ¶
func (x *CreateSwapResponse) GetTimeoutHours() float32
func (*CreateSwapResponse) GetTxId ¶
func (x *CreateSwapResponse) GetTxId() string
func (*CreateSwapResponse) ProtoMessage ¶
func (*CreateSwapResponse) ProtoMessage()
func (*CreateSwapResponse) ProtoReflect ¶
func (x *CreateSwapResponse) ProtoReflect() protoreflect.Message
func (*CreateSwapResponse) Reset ¶
func (x *CreateSwapResponse) Reset()
func (*CreateSwapResponse) String ¶
func (x *CreateSwapResponse) String() string
type CreateTenantRequest ¶
type CreateTenantRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateTenantRequest) Descriptor
deprecated
func (*CreateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.
func (*CreateTenantRequest) GetName ¶
func (x *CreateTenantRequest) GetName() string
func (*CreateTenantRequest) ProtoMessage ¶
func (*CreateTenantRequest) ProtoMessage()
func (*CreateTenantRequest) ProtoReflect ¶
func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
func (*CreateTenantRequest) Reset ¶
func (x *CreateTenantRequest) Reset()
func (*CreateTenantRequest) String ¶
func (x *CreateTenantRequest) String() string
type CreateWalletRequest ¶
type CreateWalletRequest struct { Params *WalletParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*CreateWalletRequest) Descriptor
deprecated
func (*CreateWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWalletRequest.ProtoReflect.Descriptor instead.
func (*CreateWalletRequest) GetParams ¶
func (x *CreateWalletRequest) GetParams() *WalletParams
func (*CreateWalletRequest) ProtoMessage ¶
func (*CreateWalletRequest) ProtoMessage()
func (*CreateWalletRequest) ProtoReflect ¶
func (x *CreateWalletRequest) ProtoReflect() protoreflect.Message
func (*CreateWalletRequest) Reset ¶
func (x *CreateWalletRequest) Reset()
func (*CreateWalletRequest) String ¶
func (x *CreateWalletRequest) String() string
type CreateWalletResponse ¶
type CreateWalletResponse struct { Mnemonic string `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` Wallet *Wallet `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"` // contains filtered or unexported fields }
func (*CreateWalletResponse) Descriptor
deprecated
func (*CreateWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWalletResponse.ProtoReflect.Descriptor instead.
func (*CreateWalletResponse) GetMnemonic ¶
func (x *CreateWalletResponse) GetMnemonic() string
func (*CreateWalletResponse) GetWallet ¶
func (x *CreateWalletResponse) GetWallet() *Wallet
func (*CreateWalletResponse) ProtoMessage ¶
func (*CreateWalletResponse) ProtoMessage()
func (*CreateWalletResponse) ProtoReflect ¶
func (x *CreateWalletResponse) ProtoReflect() protoreflect.Message
func (*CreateWalletResponse) Reset ¶
func (x *CreateWalletResponse) Reset()
func (*CreateWalletResponse) String ¶
func (x *CreateWalletResponse) String() string
type Currency ¶
type Currency int32
func (Currency) Descriptor ¶
func (Currency) Descriptor() protoreflect.EnumDescriptor
func (Currency) EnumDescriptor
deprecated
func (Currency) Number ¶
func (x Currency) Number() protoreflect.EnumNumber
func (Currency) Type ¶
func (Currency) Type() protoreflect.EnumType
type DepositRequest ¶
type DepositRequest struct { // Percentage of inbound liquidity the channel that is opened in case the invoice cannot be paid should have. // 25 by default. InboundLiquidity uint32 `protobuf:"varint,1,opt,name=inbound_liquidity,json=inboundLiquidity,proto3" json:"inbound_liquidity,omitempty"` // contains filtered or unexported fields }
func (*DepositRequest) Descriptor
deprecated
func (*DepositRequest) Descriptor() ([]byte, []int)
Deprecated: Use DepositRequest.ProtoReflect.Descriptor instead.
func (*DepositRequest) GetInboundLiquidity ¶
func (x *DepositRequest) GetInboundLiquidity() uint32
func (*DepositRequest) ProtoMessage ¶
func (*DepositRequest) ProtoMessage()
func (*DepositRequest) ProtoReflect ¶
func (x *DepositRequest) ProtoReflect() protoreflect.Message
func (*DepositRequest) Reset ¶
func (x *DepositRequest) Reset()
func (*DepositRequest) String ¶
func (x *DepositRequest) String() string
type DepositResponse ¶
type DepositResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` TimeoutBlockHeight uint32 `protobuf:"varint,3,opt,name=timeout_block_height,json=timeoutBlockHeight,proto3" json:"timeout_block_height,omitempty"` // contains filtered or unexported fields }
func (*DepositResponse) Descriptor
deprecated
func (*DepositResponse) Descriptor() ([]byte, []int)
Deprecated: Use DepositResponse.ProtoReflect.Descriptor instead.
func (*DepositResponse) GetAddress ¶
func (x *DepositResponse) GetAddress() string
func (*DepositResponse) GetId ¶
func (x *DepositResponse) GetId() string
func (*DepositResponse) GetTimeoutBlockHeight ¶
func (x *DepositResponse) GetTimeoutBlockHeight() uint32
func (*DepositResponse) ProtoMessage ¶
func (*DepositResponse) ProtoMessage()
func (*DepositResponse) ProtoReflect ¶
func (x *DepositResponse) ProtoReflect() protoreflect.Message
func (*DepositResponse) Reset ¶
func (x *DepositResponse) Reset()
func (*DepositResponse) String ¶
func (x *DepositResponse) String() string
type Fees ¶
type Fees struct { Percentage float32 `protobuf:"fixed32,1,opt,name=percentage,proto3" json:"percentage,omitempty"` Miner *MinerFees `protobuf:"bytes,2,opt,name=miner,proto3" json:"miner,omitempty"` // contains filtered or unexported fields }
func (*Fees) Descriptor
deprecated
func (*Fees) GetPercentage ¶
func (*Fees) ProtoMessage ¶
func (*Fees) ProtoMessage()
func (*Fees) ProtoReflect ¶
func (x *Fees) ProtoReflect() protoreflect.Message
type GetInfoRequest ¶
type GetInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetInfoRequest) Descriptor
deprecated
func (*GetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
func (*GetInfoRequest) ProtoMessage ¶
func (*GetInfoRequest) ProtoMessage()
func (*GetInfoRequest) ProtoReflect ¶
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message
func (*GetInfoRequest) Reset ¶
func (x *GetInfoRequest) Reset()
func (*GetInfoRequest) String ¶
func (x *GetInfoRequest) String() string
type GetInfoResponse ¶
type GetInfoResponse struct { Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"` Node string `protobuf:"bytes,10,opt,name=node,proto3" json:"node,omitempty"` Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` NodePubkey string `protobuf:"bytes,7,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"` // one of: running, disabled, error AutoSwapStatus string `protobuf:"bytes,11,opt,name=auto_swap_status,json=autoSwapStatus,proto3" json:"auto_swap_status,omitempty"` // mapping of the currency to the latest block height. BlockHeights *BlockHeights `protobuf:"bytes,8,opt,name=block_heights,json=blockHeights,proto3" json:"block_heights,omitempty"` // swaps that need a manual interaction to refund RefundableSwaps []string `protobuf:"bytes,12,rep,name=refundable_swaps,json=refundableSwaps,proto3" json:"refundable_swaps,omitempty"` // the currently authenticated tenant Tenant *Tenant `protobuf:"bytes,13,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"` // swaps that need a manual interaction to claim ClaimableSwaps []string `protobuf:"bytes,14,rep,name=claimable_swaps,json=claimableSwaps,proto3" json:"claimable_swaps,omitempty"` // Deprecated: Marked as deprecated in boltzrpc.proto. Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` // Deprecated: Marked as deprecated in boltzrpc.proto. LndPubkey string `protobuf:"bytes,3,opt,name=lnd_pubkey,json=lndPubkey,proto3" json:"lnd_pubkey,omitempty"` // Deprecated: Marked as deprecated in boltzrpc.proto. BlockHeight uint32 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // Deprecated: Marked as deprecated in boltzrpc.proto. PendingSwaps []string `protobuf:"bytes,5,rep,name=pending_swaps,json=pendingSwaps,proto3" json:"pending_swaps,omitempty"` // Deprecated: Marked as deprecated in boltzrpc.proto. PendingReverseSwaps []string `protobuf:"bytes,6,rep,name=pending_reverse_swaps,json=pendingReverseSwaps,proto3" json:"pending_reverse_swaps,omitempty"` // contains filtered or unexported fields }
func (*GetInfoResponse) Descriptor
deprecated
func (*GetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetInfoResponse) GetAutoSwapStatus ¶
func (x *GetInfoResponse) GetAutoSwapStatus() string
func (*GetInfoResponse) GetBlockHeight
deprecated
func (x *GetInfoResponse) GetBlockHeight() uint32
Deprecated: Marked as deprecated in boltzrpc.proto.
func (*GetInfoResponse) GetBlockHeights ¶
func (x *GetInfoResponse) GetBlockHeights() *BlockHeights
func (*GetInfoResponse) GetClaimableSwaps ¶
func (x *GetInfoResponse) GetClaimableSwaps() []string
func (*GetInfoResponse) GetLndPubkey
deprecated
func (x *GetInfoResponse) GetLndPubkey() string
Deprecated: Marked as deprecated in boltzrpc.proto.
func (*GetInfoResponse) GetNetwork ¶
func (x *GetInfoResponse) GetNetwork() string
func (*GetInfoResponse) GetNode ¶
func (x *GetInfoResponse) GetNode() string
func (*GetInfoResponse) GetNodePubkey ¶
func (x *GetInfoResponse) GetNodePubkey() string
func (*GetInfoResponse) GetPendingReverseSwaps
deprecated
func (x *GetInfoResponse) GetPendingReverseSwaps() []string
Deprecated: Marked as deprecated in boltzrpc.proto.
func (*GetInfoResponse) GetPendingSwaps
deprecated
func (x *GetInfoResponse) GetPendingSwaps() []string
Deprecated: Marked as deprecated in boltzrpc.proto.
func (*GetInfoResponse) GetRefundableSwaps ¶
func (x *GetInfoResponse) GetRefundableSwaps() []string
func (*GetInfoResponse) GetSymbol
deprecated
func (x *GetInfoResponse) GetSymbol() string
Deprecated: Marked as deprecated in boltzrpc.proto.
func (*GetInfoResponse) GetTenant ¶
func (x *GetInfoResponse) GetTenant() *Tenant
func (*GetInfoResponse) GetVersion ¶
func (x *GetInfoResponse) GetVersion() string
func (*GetInfoResponse) ProtoMessage ¶
func (*GetInfoResponse) ProtoMessage()
func (*GetInfoResponse) ProtoReflect ¶
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
func (*GetInfoResponse) Reset ¶
func (x *GetInfoResponse) Reset()
func (*GetInfoResponse) String ¶
func (x *GetInfoResponse) String() string
type GetPairInfoRequest ¶
type GetPairInfoRequest struct { Type SwapType `protobuf:"varint,1,opt,name=type,proto3,enum=boltzrpc.SwapType" json:"type,omitempty"` Pair *Pair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"` // contains filtered or unexported fields }
func (*GetPairInfoRequest) Descriptor
deprecated
func (*GetPairInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPairInfoRequest.ProtoReflect.Descriptor instead.
func (*GetPairInfoRequest) GetPair ¶
func (x *GetPairInfoRequest) GetPair() *Pair
func (*GetPairInfoRequest) GetType ¶
func (x *GetPairInfoRequest) GetType() SwapType
func (*GetPairInfoRequest) ProtoMessage ¶
func (*GetPairInfoRequest) ProtoMessage()
func (*GetPairInfoRequest) ProtoReflect ¶
func (x *GetPairInfoRequest) ProtoReflect() protoreflect.Message
func (*GetPairInfoRequest) Reset ¶
func (x *GetPairInfoRequest) Reset()
func (*GetPairInfoRequest) String ¶
func (x *GetPairInfoRequest) String() string
type GetPairsResponse ¶
type GetPairsResponse struct { Submarine []*PairInfo `protobuf:"bytes,1,rep,name=submarine,proto3" json:"submarine,omitempty"` Reverse []*PairInfo `protobuf:"bytes,2,rep,name=reverse,proto3" json:"reverse,omitempty"` Chain []*PairInfo `protobuf:"bytes,3,rep,name=chain,proto3" json:"chain,omitempty"` // contains filtered or unexported fields }
func (*GetPairsResponse) Descriptor
deprecated
func (*GetPairsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPairsResponse.ProtoReflect.Descriptor instead.
func (*GetPairsResponse) GetChain ¶
func (x *GetPairsResponse) GetChain() []*PairInfo
func (*GetPairsResponse) GetReverse ¶
func (x *GetPairsResponse) GetReverse() []*PairInfo
func (*GetPairsResponse) GetSubmarine ¶
func (x *GetPairsResponse) GetSubmarine() []*PairInfo
func (*GetPairsResponse) ProtoMessage ¶
func (*GetPairsResponse) ProtoMessage()
func (*GetPairsResponse) ProtoReflect ¶
func (x *GetPairsResponse) ProtoReflect() protoreflect.Message
func (*GetPairsResponse) Reset ¶
func (x *GetPairsResponse) Reset()
func (*GetPairsResponse) String ¶
func (x *GetPairsResponse) String() string
type GetServiceInfoRequest ¶
type GetServiceInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetServiceInfoRequest) Descriptor
deprecated
func (*GetServiceInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceInfoRequest.ProtoReflect.Descriptor instead.
func (*GetServiceInfoRequest) ProtoMessage ¶
func (*GetServiceInfoRequest) ProtoMessage()
func (*GetServiceInfoRequest) ProtoReflect ¶
func (x *GetServiceInfoRequest) ProtoReflect() protoreflect.Message
func (*GetServiceInfoRequest) Reset ¶
func (x *GetServiceInfoRequest) Reset()
func (*GetServiceInfoRequest) String ¶
func (x *GetServiceInfoRequest) String() string
type GetServiceInfoResponse ¶
type GetServiceInfoResponse struct { Fees *Fees `protobuf:"bytes,1,opt,name=fees,proto3" json:"fees,omitempty"` Limits *Limits `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"` // contains filtered or unexported fields }
func (*GetServiceInfoResponse) Descriptor
deprecated
func (*GetServiceInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceInfoResponse.ProtoReflect.Descriptor instead.
func (*GetServiceInfoResponse) GetFees ¶
func (x *GetServiceInfoResponse) GetFees() *Fees
func (*GetServiceInfoResponse) GetLimits ¶
func (x *GetServiceInfoResponse) GetLimits() *Limits
func (*GetServiceInfoResponse) ProtoMessage ¶
func (*GetServiceInfoResponse) ProtoMessage()
func (*GetServiceInfoResponse) ProtoReflect ¶
func (x *GetServiceInfoResponse) ProtoReflect() protoreflect.Message
func (*GetServiceInfoResponse) Reset ¶
func (x *GetServiceInfoResponse) Reset()
func (*GetServiceInfoResponse) String ¶
func (x *GetServiceInfoResponse) String() string
type GetStatsRequest ¶
type GetStatsRequest struct { Include IncludeSwaps `protobuf:"varint,1,opt,name=include,proto3,enum=boltzrpc.IncludeSwaps" json:"include,omitempty"` // contains filtered or unexported fields }
func (*GetStatsRequest) Descriptor
deprecated
func (*GetStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStatsRequest.ProtoReflect.Descriptor instead.
func (*GetStatsRequest) GetInclude ¶
func (x *GetStatsRequest) GetInclude() IncludeSwaps
func (*GetStatsRequest) ProtoMessage ¶
func (*GetStatsRequest) ProtoMessage()
func (*GetStatsRequest) ProtoReflect ¶
func (x *GetStatsRequest) ProtoReflect() protoreflect.Message
func (*GetStatsRequest) Reset ¶
func (x *GetStatsRequest) Reset()
func (*GetStatsRequest) String ¶
func (x *GetStatsRequest) String() string
type GetStatsResponse ¶
type GetStatsResponse struct { Stats *SwapStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*GetStatsResponse) Descriptor
deprecated
func (*GetStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStatsResponse.ProtoReflect.Descriptor instead.
func (*GetStatsResponse) GetStats ¶
func (x *GetStatsResponse) GetStats() *SwapStats
func (*GetStatsResponse) ProtoMessage ¶
func (*GetStatsResponse) ProtoMessage()
func (*GetStatsResponse) ProtoReflect ¶
func (x *GetStatsResponse) ProtoReflect() protoreflect.Message
func (*GetStatsResponse) Reset ¶
func (x *GetStatsResponse) Reset()
func (*GetStatsResponse) String ¶
func (x *GetStatsResponse) String() string
type GetSubaccountsRequest ¶
type GetSubaccountsRequest struct { WalletId uint64 `protobuf:"varint,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` // contains filtered or unexported fields }
func (*GetSubaccountsRequest) Descriptor
deprecated
func (*GetSubaccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSubaccountsRequest.ProtoReflect.Descriptor instead.
func (*GetSubaccountsRequest) GetWalletId ¶
func (x *GetSubaccountsRequest) GetWalletId() uint64
func (*GetSubaccountsRequest) ProtoMessage ¶
func (*GetSubaccountsRequest) ProtoMessage()
func (*GetSubaccountsRequest) ProtoReflect ¶
func (x *GetSubaccountsRequest) ProtoReflect() protoreflect.Message
func (*GetSubaccountsRequest) Reset ¶
func (x *GetSubaccountsRequest) Reset()
func (*GetSubaccountsRequest) String ¶
func (x *GetSubaccountsRequest) String() string
type GetSubaccountsResponse ¶
type GetSubaccountsResponse struct { Current *uint64 `protobuf:"varint,1,opt,name=current,proto3,oneof" json:"current,omitempty"` Subaccounts []*Subaccount `protobuf:"bytes,2,rep,name=subaccounts,proto3" json:"subaccounts,omitempty"` // contains filtered or unexported fields }
func (*GetSubaccountsResponse) Descriptor
deprecated
func (*GetSubaccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSubaccountsResponse.ProtoReflect.Descriptor instead.
func (*GetSubaccountsResponse) GetCurrent ¶
func (x *GetSubaccountsResponse) GetCurrent() uint64
func (*GetSubaccountsResponse) GetSubaccounts ¶
func (x *GetSubaccountsResponse) GetSubaccounts() []*Subaccount
func (*GetSubaccountsResponse) ProtoMessage ¶
func (*GetSubaccountsResponse) ProtoMessage()
func (*GetSubaccountsResponse) ProtoReflect ¶
func (x *GetSubaccountsResponse) ProtoReflect() protoreflect.Message
func (*GetSubaccountsResponse) Reset ¶
func (x *GetSubaccountsResponse) Reset()
func (*GetSubaccountsResponse) String ¶
func (x *GetSubaccountsResponse) String() string
type GetSwapInfoRequest ¶
type GetSwapInfoRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetSwapInfoRequest) Descriptor
deprecated
func (*GetSwapInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSwapInfoRequest.ProtoReflect.Descriptor instead.
func (*GetSwapInfoRequest) GetId ¶
func (x *GetSwapInfoRequest) GetId() string
func (*GetSwapInfoRequest) ProtoMessage ¶
func (*GetSwapInfoRequest) ProtoMessage()
func (*GetSwapInfoRequest) ProtoReflect ¶
func (x *GetSwapInfoRequest) ProtoReflect() protoreflect.Message
func (*GetSwapInfoRequest) Reset ¶
func (x *GetSwapInfoRequest) Reset()
func (*GetSwapInfoRequest) String ¶
func (x *GetSwapInfoRequest) String() string
type GetSwapInfoResponse ¶
type GetSwapInfoResponse struct { Swap *SwapInfo `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap,omitempty"` ChannelCreation *ChannelCreationInfo `protobuf:"bytes,2,opt,name=channel_creation,json=channelCreation,proto3" json:"channel_creation,omitempty"` ReverseSwap *ReverseSwapInfo `protobuf:"bytes,3,opt,name=reverse_swap,json=reverseSwap,proto3" json:"reverse_swap,omitempty"` ChainSwap *ChainSwapInfo `protobuf:"bytes,4,opt,name=chain_swap,json=chainSwap,proto3" json:"chain_swap,omitempty"` // contains filtered or unexported fields }
func (*GetSwapInfoResponse) Descriptor
deprecated
func (*GetSwapInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSwapInfoResponse.ProtoReflect.Descriptor instead.
func (*GetSwapInfoResponse) GetChainSwap ¶
func (x *GetSwapInfoResponse) GetChainSwap() *ChainSwapInfo
func (*GetSwapInfoResponse) GetChannelCreation ¶
func (x *GetSwapInfoResponse) GetChannelCreation() *ChannelCreationInfo
func (*GetSwapInfoResponse) GetReverseSwap ¶
func (x *GetSwapInfoResponse) GetReverseSwap() *ReverseSwapInfo
func (*GetSwapInfoResponse) GetSwap ¶
func (x *GetSwapInfoResponse) GetSwap() *SwapInfo
func (*GetSwapInfoResponse) ProtoMessage ¶
func (*GetSwapInfoResponse) ProtoMessage()
func (*GetSwapInfoResponse) ProtoReflect ¶
func (x *GetSwapInfoResponse) ProtoReflect() protoreflect.Message
func (*GetSwapInfoResponse) Reset ¶
func (x *GetSwapInfoResponse) Reset()
func (*GetSwapInfoResponse) String ¶
func (x *GetSwapInfoResponse) String() string
type GetTenantRequest ¶
type GetTenantRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTenantRequest) Descriptor
deprecated
func (*GetTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.
func (*GetTenantRequest) GetName ¶
func (x *GetTenantRequest) GetName() string
func (*GetTenantRequest) ProtoMessage ¶
func (*GetTenantRequest) ProtoMessage()
func (*GetTenantRequest) ProtoReflect ¶
func (x *GetTenantRequest) ProtoReflect() protoreflect.Message
func (*GetTenantRequest) Reset ¶
func (x *GetTenantRequest) Reset()
func (*GetTenantRequest) String ¶
func (x *GetTenantRequest) String() string
type GetWalletCredentialsRequest ¶
type GetWalletCredentialsRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Password *string `protobuf:"bytes,2,opt,name=password,proto3,oneof" json:"password,omitempty"` // contains filtered or unexported fields }
func (*GetWalletCredentialsRequest) Descriptor
deprecated
func (*GetWalletCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWalletCredentialsRequest.ProtoReflect.Descriptor instead.
func (*GetWalletCredentialsRequest) GetId ¶
func (x *GetWalletCredentialsRequest) GetId() uint64
func (*GetWalletCredentialsRequest) GetPassword ¶
func (x *GetWalletCredentialsRequest) GetPassword() string
func (*GetWalletCredentialsRequest) ProtoMessage ¶
func (*GetWalletCredentialsRequest) ProtoMessage()
func (*GetWalletCredentialsRequest) ProtoReflect ¶
func (x *GetWalletCredentialsRequest) ProtoReflect() protoreflect.Message
func (*GetWalletCredentialsRequest) Reset ¶
func (x *GetWalletCredentialsRequest) Reset()
func (*GetWalletCredentialsRequest) String ¶
func (x *GetWalletCredentialsRequest) String() string
type GetWalletRequest ¶
type GetWalletRequest struct { Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` Id *uint64 `protobuf:"varint,2,opt,name=id,proto3,oneof" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetWalletRequest) Descriptor
deprecated
func (*GetWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWalletRequest.ProtoReflect.Descriptor instead.
func (*GetWalletRequest) GetId ¶
func (x *GetWalletRequest) GetId() uint64
func (*GetWalletRequest) GetName ¶
func (x *GetWalletRequest) GetName() string
func (*GetWalletRequest) ProtoMessage ¶
func (*GetWalletRequest) ProtoMessage()
func (*GetWalletRequest) ProtoReflect ¶
func (x *GetWalletRequest) ProtoReflect() protoreflect.Message
func (*GetWalletRequest) Reset ¶
func (x *GetWalletRequest) Reset()
func (*GetWalletRequest) String ¶
func (x *GetWalletRequest) String() string
type GetWalletsRequest ¶
type GetWalletsRequest struct { Currency *Currency `protobuf:"varint,1,opt,name=currency,proto3,enum=boltzrpc.Currency,oneof" json:"currency,omitempty"` IncludeReadonly *bool `protobuf:"varint,2,opt,name=include_readonly,json=includeReadonly,proto3,oneof" json:"include_readonly,omitempty"` // contains filtered or unexported fields }
func (*GetWalletsRequest) Descriptor
deprecated
func (*GetWalletsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWalletsRequest.ProtoReflect.Descriptor instead.
func (*GetWalletsRequest) GetCurrency ¶
func (x *GetWalletsRequest) GetCurrency() Currency
func (*GetWalletsRequest) GetIncludeReadonly ¶
func (x *GetWalletsRequest) GetIncludeReadonly() bool
func (*GetWalletsRequest) ProtoMessage ¶
func (*GetWalletsRequest) ProtoMessage()
func (*GetWalletsRequest) ProtoReflect ¶
func (x *GetWalletsRequest) ProtoReflect() protoreflect.Message
func (*GetWalletsRequest) Reset ¶
func (x *GetWalletsRequest) Reset()
func (*GetWalletsRequest) String ¶
func (x *GetWalletsRequest) String() string
type ImportWalletRequest ¶
type ImportWalletRequest struct { Credentials *WalletCredentials `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` Params *WalletParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*ImportWalletRequest) Descriptor
deprecated
func (*ImportWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportWalletRequest.ProtoReflect.Descriptor instead.
func (*ImportWalletRequest) GetCredentials ¶
func (x *ImportWalletRequest) GetCredentials() *WalletCredentials
func (*ImportWalletRequest) GetParams ¶
func (x *ImportWalletRequest) GetParams() *WalletParams
func (*ImportWalletRequest) ProtoMessage ¶
func (*ImportWalletRequest) ProtoMessage()
func (*ImportWalletRequest) ProtoReflect ¶
func (x *ImportWalletRequest) ProtoReflect() protoreflect.Message
func (*ImportWalletRequest) Reset ¶
func (x *ImportWalletRequest) Reset()
func (*ImportWalletRequest) String ¶
func (x *ImportWalletRequest) String() string
type ImportWalletResponse ¶
type ImportWalletResponse struct {
// contains filtered or unexported fields
}
func (*ImportWalletResponse) Descriptor
deprecated
func (*ImportWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportWalletResponse.ProtoReflect.Descriptor instead.
func (*ImportWalletResponse) ProtoMessage ¶
func (*ImportWalletResponse) ProtoMessage()
func (*ImportWalletResponse) ProtoReflect ¶
func (x *ImportWalletResponse) ProtoReflect() protoreflect.Message
func (*ImportWalletResponse) Reset ¶
func (x *ImportWalletResponse) Reset()
func (*ImportWalletResponse) String ¶
func (x *ImportWalletResponse) String() string
type IncludeSwaps ¶
type IncludeSwaps int32
const ( IncludeSwaps_ALL IncludeSwaps = 0 IncludeSwaps_MANUAL IncludeSwaps = 1 IncludeSwaps_AUTO IncludeSwaps = 2 )
func (IncludeSwaps) Descriptor ¶
func (IncludeSwaps) Descriptor() protoreflect.EnumDescriptor
func (IncludeSwaps) Enum ¶
func (x IncludeSwaps) Enum() *IncludeSwaps
func (IncludeSwaps) EnumDescriptor
deprecated
func (IncludeSwaps) EnumDescriptor() ([]byte, []int)
Deprecated: Use IncludeSwaps.Descriptor instead.
func (IncludeSwaps) Number ¶
func (x IncludeSwaps) Number() protoreflect.EnumNumber
func (IncludeSwaps) String ¶
func (x IncludeSwaps) String() string
func (IncludeSwaps) Type ¶
func (IncludeSwaps) Type() protoreflect.EnumType
type LightningChannel ¶
type LightningChannel struct { Id *ChannelId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Capacity uint64 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"` OutboundSat uint64 `protobuf:"varint,3,opt,name=outbound_sat,json=outboundSat,proto3" json:"outbound_sat,omitempty"` InboundSat uint64 `protobuf:"varint,4,opt,name=inbound_sat,json=inboundSat,proto3" json:"inbound_sat,omitempty"` PeerId string `protobuf:"bytes,5,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` // contains filtered or unexported fields }
func (*LightningChannel) Descriptor
deprecated
func (*LightningChannel) Descriptor() ([]byte, []int)
Deprecated: Use LightningChannel.ProtoReflect.Descriptor instead.
func (*LightningChannel) GetCapacity ¶
func (x *LightningChannel) GetCapacity() uint64
func (*LightningChannel) GetId ¶
func (x *LightningChannel) GetId() *ChannelId
func (*LightningChannel) GetInboundSat ¶
func (x *LightningChannel) GetInboundSat() uint64
func (*LightningChannel) GetOutboundSat ¶
func (x *LightningChannel) GetOutboundSat() uint64
func (*LightningChannel) GetPeerId ¶
func (x *LightningChannel) GetPeerId() string
func (*LightningChannel) ProtoMessage ¶
func (*LightningChannel) ProtoMessage()
func (*LightningChannel) ProtoReflect ¶
func (x *LightningChannel) ProtoReflect() protoreflect.Message
func (*LightningChannel) Reset ¶
func (x *LightningChannel) Reset()
func (*LightningChannel) String ¶
func (x *LightningChannel) String() string
type Limits ¶
type Limits struct { Minimal uint64 `protobuf:"varint,1,opt,name=minimal,proto3" json:"minimal,omitempty"` Maximal uint64 `protobuf:"varint,2,opt,name=maximal,proto3" json:"maximal,omitempty"` MaximalZeroConfAmount uint64 `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Limits) Descriptor
deprecated
func (*Limits) GetMaximal ¶
func (*Limits) GetMaximalZeroConfAmount ¶
func (*Limits) GetMinimal ¶
func (*Limits) ProtoMessage ¶
func (*Limits) ProtoMessage()
func (*Limits) ProtoReflect ¶
func (x *Limits) ProtoReflect() protoreflect.Message
type ListSwapsRequest ¶
type ListSwapsRequest struct { From *Currency `protobuf:"varint,1,opt,name=from,proto3,enum=boltzrpc.Currency,oneof" json:"from,omitempty"` To *Currency `protobuf:"varint,2,opt,name=to,proto3,enum=boltzrpc.Currency,oneof" json:"to,omitempty"` State *SwapState `protobuf:"varint,4,opt,name=state,proto3,enum=boltzrpc.SwapState,oneof" json:"state,omitempty"` Include IncludeSwaps `protobuf:"varint,5,opt,name=include,proto3,enum=boltzrpc.IncludeSwaps" json:"include,omitempty"` Limit *uint64 `protobuf:"varint,6,opt,name=limit,proto3,oneof" json:"limit,omitempty"` Offset *uint64 `protobuf:"varint,7,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // wether to return swaps in the shared `all_swaps` list or in the detailed lists. // the `limit` and `offset` are only considered when `unify` is true. Unify *bool `protobuf:"varint,8,opt,name=unify,proto3,oneof" json:"unify,omitempty"` // contains filtered or unexported fields }
func (*ListSwapsRequest) Descriptor
deprecated
func (*ListSwapsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSwapsRequest.ProtoReflect.Descriptor instead.
func (*ListSwapsRequest) GetFrom ¶
func (x *ListSwapsRequest) GetFrom() Currency
func (*ListSwapsRequest) GetInclude ¶
func (x *ListSwapsRequest) GetInclude() IncludeSwaps
func (*ListSwapsRequest) GetLimit ¶
func (x *ListSwapsRequest) GetLimit() uint64
func (*ListSwapsRequest) GetOffset ¶
func (x *ListSwapsRequest) GetOffset() uint64
func (*ListSwapsRequest) GetState ¶
func (x *ListSwapsRequest) GetState() SwapState
func (*ListSwapsRequest) GetTo ¶
func (x *ListSwapsRequest) GetTo() Currency
func (*ListSwapsRequest) GetUnify ¶
func (x *ListSwapsRequest) GetUnify() bool
func (*ListSwapsRequest) ProtoMessage ¶
func (*ListSwapsRequest) ProtoMessage()
func (*ListSwapsRequest) ProtoReflect ¶
func (x *ListSwapsRequest) ProtoReflect() protoreflect.Message
func (*ListSwapsRequest) Reset ¶
func (x *ListSwapsRequest) Reset()
func (*ListSwapsRequest) String ¶
func (x *ListSwapsRequest) String() string
type ListSwapsResponse ¶
type ListSwapsResponse struct { Swaps []*SwapInfo `protobuf:"bytes,1,rep,name=swaps,proto3" json:"swaps,omitempty"` // Deprecated: Marked as deprecated in boltzrpc.proto. ChannelCreations []*CombinedChannelSwapInfo `protobuf:"bytes,2,rep,name=channel_creations,json=channelCreations,proto3" json:"channel_creations,omitempty"` ReverseSwaps []*ReverseSwapInfo `protobuf:"bytes,3,rep,name=reverse_swaps,json=reverseSwaps,proto3" json:"reverse_swaps,omitempty"` ChainSwaps []*ChainSwapInfo `protobuf:"bytes,4,rep,name=chain_swaps,json=chainSwaps,proto3" json:"chain_swaps,omitempty"` // populated when `unify` is set to true in the request AllSwaps []*AnySwapInfo `protobuf:"bytes,5,rep,name=all_swaps,json=allSwaps,proto3" json:"all_swaps,omitempty"` // contains filtered or unexported fields }
func (*ListSwapsResponse) Descriptor
deprecated
func (*ListSwapsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSwapsResponse.ProtoReflect.Descriptor instead.
func (*ListSwapsResponse) GetAllSwaps ¶
func (x *ListSwapsResponse) GetAllSwaps() []*AnySwapInfo
func (*ListSwapsResponse) GetChainSwaps ¶
func (x *ListSwapsResponse) GetChainSwaps() []*ChainSwapInfo
func (*ListSwapsResponse) GetChannelCreations
deprecated
func (x *ListSwapsResponse) GetChannelCreations() []*CombinedChannelSwapInfo
Deprecated: Marked as deprecated in boltzrpc.proto.
func (*ListSwapsResponse) GetReverseSwaps ¶
func (x *ListSwapsResponse) GetReverseSwaps() []*ReverseSwapInfo
func (*ListSwapsResponse) GetSwaps ¶
func (x *ListSwapsResponse) GetSwaps() []*SwapInfo
func (*ListSwapsResponse) ProtoMessage ¶
func (*ListSwapsResponse) ProtoMessage()
func (*ListSwapsResponse) ProtoReflect ¶
func (x *ListSwapsResponse) ProtoReflect() protoreflect.Message
func (*ListSwapsResponse) Reset ¶
func (x *ListSwapsResponse) Reset()
func (*ListSwapsResponse) String ¶
func (x *ListSwapsResponse) String() string
type ListTenantsRequest ¶
type ListTenantsRequest struct {
// contains filtered or unexported fields
}
func (*ListTenantsRequest) Descriptor
deprecated
func (*ListTenantsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantsRequest.ProtoReflect.Descriptor instead.
func (*ListTenantsRequest) ProtoMessage ¶
func (*ListTenantsRequest) ProtoMessage()
func (*ListTenantsRequest) ProtoReflect ¶
func (x *ListTenantsRequest) ProtoReflect() protoreflect.Message
func (*ListTenantsRequest) Reset ¶
func (x *ListTenantsRequest) Reset()
func (*ListTenantsRequest) String ¶
func (x *ListTenantsRequest) String() string
type ListTenantsResponse ¶
type ListTenantsResponse struct { Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` // contains filtered or unexported fields }
func (*ListTenantsResponse) Descriptor
deprecated
func (*ListTenantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantsResponse.ProtoReflect.Descriptor instead.
func (*ListTenantsResponse) GetTenants ¶
func (x *ListTenantsResponse) GetTenants() []*Tenant
func (*ListTenantsResponse) ProtoMessage ¶
func (*ListTenantsResponse) ProtoMessage()
func (*ListTenantsResponse) ProtoReflect ¶
func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message
func (*ListTenantsResponse) Reset ¶
func (x *ListTenantsResponse) Reset()
func (*ListTenantsResponse) String ¶
func (x *ListTenantsResponse) String() string
type ListWalletTransactionsRequest ¶
type ListWalletTransactionsRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ExcludeSwapRelated *bool `protobuf:"varint,2,opt,name=exclude_swap_related,json=excludeSwapRelated,proto3,oneof" json:"exclude_swap_related,omitempty"` Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"` Offset *uint64 `protobuf:"varint,4,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*ListWalletTransactionsRequest) Descriptor
deprecated
func (*ListWalletTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWalletTransactionsRequest.ProtoReflect.Descriptor instead.
func (*ListWalletTransactionsRequest) GetExcludeSwapRelated ¶
func (x *ListWalletTransactionsRequest) GetExcludeSwapRelated() bool
func (*ListWalletTransactionsRequest) GetId ¶
func (x *ListWalletTransactionsRequest) GetId() uint64
func (*ListWalletTransactionsRequest) GetLimit ¶
func (x *ListWalletTransactionsRequest) GetLimit() uint64
func (*ListWalletTransactionsRequest) GetOffset ¶
func (x *ListWalletTransactionsRequest) GetOffset() uint64
func (*ListWalletTransactionsRequest) ProtoMessage ¶
func (*ListWalletTransactionsRequest) ProtoMessage()
func (*ListWalletTransactionsRequest) ProtoReflect ¶
func (x *ListWalletTransactionsRequest) ProtoReflect() protoreflect.Message
func (*ListWalletTransactionsRequest) Reset ¶
func (x *ListWalletTransactionsRequest) Reset()
func (*ListWalletTransactionsRequest) String ¶
func (x *ListWalletTransactionsRequest) String() string
type ListWalletTransactionsResponse ¶
type ListWalletTransactionsResponse struct { Transactions []*WalletTransaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*ListWalletTransactionsResponse) Descriptor
deprecated
func (*ListWalletTransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWalletTransactionsResponse.ProtoReflect.Descriptor instead.
func (*ListWalletTransactionsResponse) GetTransactions ¶
func (x *ListWalletTransactionsResponse) GetTransactions() []*WalletTransaction
func (*ListWalletTransactionsResponse) ProtoMessage ¶
func (*ListWalletTransactionsResponse) ProtoMessage()
func (*ListWalletTransactionsResponse) ProtoReflect ¶
func (x *ListWalletTransactionsResponse) ProtoReflect() protoreflect.Message
func (*ListWalletTransactionsResponse) Reset ¶
func (x *ListWalletTransactionsResponse) Reset()
func (*ListWalletTransactionsResponse) String ¶
func (x *ListWalletTransactionsResponse) String() string
type MacaroonAction ¶
type MacaroonAction int32
const ( MacaroonAction_READ MacaroonAction = 0 MacaroonAction_WRITE MacaroonAction = 1 )
func (MacaroonAction) Descriptor ¶
func (MacaroonAction) Descriptor() protoreflect.EnumDescriptor
func (MacaroonAction) Enum ¶
func (x MacaroonAction) Enum() *MacaroonAction
func (MacaroonAction) EnumDescriptor
deprecated
func (MacaroonAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use MacaroonAction.Descriptor instead.
func (MacaroonAction) Number ¶
func (x MacaroonAction) Number() protoreflect.EnumNumber
func (MacaroonAction) String ¶
func (x MacaroonAction) String() string
func (MacaroonAction) Type ¶
func (MacaroonAction) Type() protoreflect.EnumType
type MacaroonPermissions ¶
type MacaroonPermissions struct { Action MacaroonAction `protobuf:"varint,2,opt,name=action,proto3,enum=boltzrpc.MacaroonAction" json:"action,omitempty"` // contains filtered or unexported fields }
func (*MacaroonPermissions) Descriptor
deprecated
func (*MacaroonPermissions) Descriptor() ([]byte, []int)
Deprecated: Use MacaroonPermissions.ProtoReflect.Descriptor instead.
func (*MacaroonPermissions) GetAction ¶
func (x *MacaroonPermissions) GetAction() MacaroonAction
func (*MacaroonPermissions) ProtoMessage ¶
func (*MacaroonPermissions) ProtoMessage()
func (*MacaroonPermissions) ProtoReflect ¶
func (x *MacaroonPermissions) ProtoReflect() protoreflect.Message
func (*MacaroonPermissions) Reset ¶
func (x *MacaroonPermissions) Reset()
func (*MacaroonPermissions) String ¶
func (x *MacaroonPermissions) String() string
type MinerFees ¶
type MinerFees struct { Normal uint32 `protobuf:"varint,1,opt,name=normal,proto3" json:"normal,omitempty"` Reverse uint32 `protobuf:"varint,2,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*MinerFees) Descriptor
deprecated
func (*MinerFees) GetReverse ¶
func (*MinerFees) ProtoMessage ¶
func (*MinerFees) ProtoMessage()
func (*MinerFees) ProtoReflect ¶
func (x *MinerFees) ProtoReflect() protoreflect.Message
type Pair ¶
type Pair struct { From Currency `protobuf:"varint,1,opt,name=from,proto3,enum=boltzrpc.Currency" json:"from,omitempty"` To Currency `protobuf:"varint,2,opt,name=to,proto3,enum=boltzrpc.Currency" json:"to,omitempty"` // contains filtered or unexported fields }
func (*Pair) Descriptor
deprecated
func (*Pair) ProtoMessage ¶
func (*Pair) ProtoMessage()
func (*Pair) ProtoReflect ¶
func (x *Pair) ProtoReflect() protoreflect.Message
type PairInfo ¶
type PairInfo struct { Pair *Pair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"` Fees *SwapFees `protobuf:"bytes,2,opt,name=fees,proto3" json:"fees,omitempty"` Limits *Limits `protobuf:"bytes,3,opt,name=limits,proto3" json:"limits,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*PairInfo) Descriptor
deprecated
func (*PairInfo) ProtoMessage ¶
func (*PairInfo) ProtoMessage()
func (*PairInfo) ProtoReflect ¶
func (x *PairInfo) ProtoReflect() protoreflect.Message
type RefundSwapRequest ¶
type RefundSwapRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to Destination: // // *RefundSwapRequest_Address // *RefundSwapRequest_WalletId Destination isRefundSwapRequest_Destination `protobuf_oneof:"destination"` // contains filtered or unexported fields }
func (*RefundSwapRequest) Descriptor
deprecated
func (*RefundSwapRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefundSwapRequest.ProtoReflect.Descriptor instead.
func (*RefundSwapRequest) GetAddress ¶
func (x *RefundSwapRequest) GetAddress() string
func (*RefundSwapRequest) GetDestination ¶
func (m *RefundSwapRequest) GetDestination() isRefundSwapRequest_Destination
func (*RefundSwapRequest) GetId ¶
func (x *RefundSwapRequest) GetId() string
func (*RefundSwapRequest) GetWalletId ¶
func (x *RefundSwapRequest) GetWalletId() uint64
func (*RefundSwapRequest) ProtoMessage ¶
func (*RefundSwapRequest) ProtoMessage()
func (*RefundSwapRequest) ProtoReflect ¶
func (x *RefundSwapRequest) ProtoReflect() protoreflect.Message
func (*RefundSwapRequest) Reset ¶
func (x *RefundSwapRequest) Reset()
func (*RefundSwapRequest) String ¶
func (x *RefundSwapRequest) String() string
type RefundSwapRequest_Address ¶
type RefundSwapRequest_Address struct {
Address string `protobuf:"bytes,2,opt,name=address,proto3,oneof"`
}
type RefundSwapRequest_WalletId ¶
type RefundSwapRequest_WalletId struct {
WalletId uint64 `protobuf:"varint,3,opt,name=wallet_id,json=walletId,proto3,oneof"`
}
type RemoveWalletRequest ¶
type RemoveWalletRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveWalletRequest) Descriptor
deprecated
func (*RemoveWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveWalletRequest.ProtoReflect.Descriptor instead.
func (*RemoveWalletRequest) GetId ¶
func (x *RemoveWalletRequest) GetId() uint64
func (*RemoveWalletRequest) ProtoMessage ¶
func (*RemoveWalletRequest) ProtoMessage()
func (*RemoveWalletRequest) ProtoReflect ¶
func (x *RemoveWalletRequest) ProtoReflect() protoreflect.Message
func (*RemoveWalletRequest) Reset ¶
func (x *RemoveWalletRequest) Reset()
func (*RemoveWalletRequest) String ¶
func (x *RemoveWalletRequest) String() string
type RemoveWalletResponse ¶
type RemoveWalletResponse struct {
// contains filtered or unexported fields
}
func (*RemoveWalletResponse) Descriptor
deprecated
func (*RemoveWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveWalletResponse.ProtoReflect.Descriptor instead.
func (*RemoveWalletResponse) ProtoMessage ¶
func (*RemoveWalletResponse) ProtoMessage()
func (*RemoveWalletResponse) ProtoReflect ¶
func (x *RemoveWalletResponse) ProtoReflect() protoreflect.Message
func (*RemoveWalletResponse) Reset ¶
func (x *RemoveWalletResponse) Reset()
func (*RemoveWalletResponse) String ¶
func (x *RemoveWalletResponse) String() string
type ReverseSwapInfo ¶
type ReverseSwapInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` State SwapState `protobuf:"varint,2,opt,name=state,proto3,enum=boltzrpc.SwapState" json:"state,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // Latest status message of the Boltz backend Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` PrivateKey string `protobuf:"bytes,5,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` Preimage string `protobuf:"bytes,6,opt,name=preimage,proto3" json:"preimage,omitempty"` RedeemScript string `protobuf:"bytes,7,opt,name=redeem_script,json=redeemScript,proto3" json:"redeem_script,omitempty"` Invoice string `protobuf:"bytes,8,opt,name=invoice,proto3" json:"invoice,omitempty"` ClaimAddress string `protobuf:"bytes,9,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"` OnchainAmount uint64 `protobuf:"varint,10,opt,name=onchain_amount,json=onchainAmount,proto3" json:"onchain_amount,omitempty"` InvoiceAmount uint64 `protobuf:"varint,25,opt,name=invoice_amount,json=invoiceAmount,proto3" json:"invoice_amount,omitempty"` TimeoutBlockHeight uint32 `protobuf:"varint,11,opt,name=timeout_block_height,json=timeoutBlockHeight,proto3" json:"timeout_block_height,omitempty"` LockupTransactionId string `protobuf:"bytes,12,opt,name=lockup_transaction_id,json=lockupTransactionId,proto3" json:"lockup_transaction_id,omitempty"` ClaimTransactionId string `protobuf:"bytes,13,opt,name=claim_transaction_id,json=claimTransactionId,proto3" json:"claim_transaction_id,omitempty"` Pair *Pair `protobuf:"bytes,14,opt,name=pair,proto3" json:"pair,omitempty"` ChanIds []*ChannelId `protobuf:"bytes,15,rep,name=chan_ids,json=chanIds,proto3" json:"chan_ids,omitempty"` BlindingKey *string `protobuf:"bytes,16,opt,name=blinding_key,json=blindingKey,proto3,oneof" json:"blinding_key,omitempty"` CreatedAt int64 `protobuf:"varint,17,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` PaidAt *int64 `protobuf:"varint,23,opt,name=paid_at,json=paidAt,proto3,oneof" json:"paid_at,omitempty"` // the time when the invoice was paid ServiceFee *uint64 `protobuf:"varint,18,opt,name=service_fee,json=serviceFee,proto3,oneof" json:"service_fee,omitempty"` OnchainFee *uint64 `protobuf:"varint,19,opt,name=onchain_fee,json=onchainFee,proto3,oneof" json:"onchain_fee,omitempty"` RoutingFeeMsat *uint64 `protobuf:"varint,20,opt,name=routing_fee_msat,json=routingFeeMsat,proto3,oneof" json:"routing_fee_msat,omitempty"` ExternalPay bool `protobuf:"varint,21,opt,name=external_pay,json=externalPay,proto3" json:"external_pay,omitempty"` TenantId uint64 `protobuf:"varint,22,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` IsAuto bool `protobuf:"varint,24,opt,name=is_auto,json=isAuto,proto3" json:"is_auto,omitempty"` // contains filtered or unexported fields }
func (*ReverseSwapInfo) Descriptor
deprecated
func (*ReverseSwapInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReverseSwapInfo.ProtoReflect.Descriptor instead.
func (*ReverseSwapInfo) GetBlindingKey ¶
func (x *ReverseSwapInfo) GetBlindingKey() string
func (*ReverseSwapInfo) GetChanIds ¶
func (x *ReverseSwapInfo) GetChanIds() []*ChannelId
func (*ReverseSwapInfo) GetClaimAddress ¶
func (x *ReverseSwapInfo) GetClaimAddress() string
func (*ReverseSwapInfo) GetClaimTransactionId ¶
func (x *ReverseSwapInfo) GetClaimTransactionId() string
func (*ReverseSwapInfo) GetCreatedAt ¶
func (x *ReverseSwapInfo) GetCreatedAt() int64
func (*ReverseSwapInfo) GetError ¶
func (x *ReverseSwapInfo) GetError() string
func (*ReverseSwapInfo) GetExternalPay ¶
func (x *ReverseSwapInfo) GetExternalPay() bool
func (*ReverseSwapInfo) GetId ¶
func (x *ReverseSwapInfo) GetId() string
func (*ReverseSwapInfo) GetInvoice ¶
func (x *ReverseSwapInfo) GetInvoice() string
func (*ReverseSwapInfo) GetInvoiceAmount ¶
func (x *ReverseSwapInfo) GetInvoiceAmount() uint64
func (*ReverseSwapInfo) GetIsAuto ¶
func (x *ReverseSwapInfo) GetIsAuto() bool
func (*ReverseSwapInfo) GetLockupTransactionId ¶
func (x *ReverseSwapInfo) GetLockupTransactionId() string
func (*ReverseSwapInfo) GetOnchainAmount ¶
func (x *ReverseSwapInfo) GetOnchainAmount() uint64
func (*ReverseSwapInfo) GetOnchainFee ¶
func (x *ReverseSwapInfo) GetOnchainFee() uint64
func (*ReverseSwapInfo) GetPaidAt ¶
func (x *ReverseSwapInfo) GetPaidAt() int64
func (*ReverseSwapInfo) GetPair ¶
func (x *ReverseSwapInfo) GetPair() *Pair
func (*ReverseSwapInfo) GetPreimage ¶
func (x *ReverseSwapInfo) GetPreimage() string
func (*ReverseSwapInfo) GetPrivateKey ¶
func (x *ReverseSwapInfo) GetPrivateKey() string
func (*ReverseSwapInfo) GetRedeemScript ¶
func (x *ReverseSwapInfo) GetRedeemScript() string
func (*ReverseSwapInfo) GetRoutingFeeMsat ¶
func (x *ReverseSwapInfo) GetRoutingFeeMsat() uint64
func (*ReverseSwapInfo) GetServiceFee ¶
func (x *ReverseSwapInfo) GetServiceFee() uint64
func (*ReverseSwapInfo) GetState ¶
func (x *ReverseSwapInfo) GetState() SwapState
func (*ReverseSwapInfo) GetStatus ¶
func (x *ReverseSwapInfo) GetStatus() string
func (*ReverseSwapInfo) GetTenantId ¶
func (x *ReverseSwapInfo) GetTenantId() uint64
func (*ReverseSwapInfo) GetTimeoutBlockHeight ¶
func (x *ReverseSwapInfo) GetTimeoutBlockHeight() uint32
func (*ReverseSwapInfo) ProtoMessage ¶
func (*ReverseSwapInfo) ProtoMessage()
func (*ReverseSwapInfo) ProtoReflect ¶
func (x *ReverseSwapInfo) ProtoReflect() protoreflect.Message
func (*ReverseSwapInfo) Reset ¶
func (x *ReverseSwapInfo) Reset()
func (*ReverseSwapInfo) String ¶
func (x *ReverseSwapInfo) String() string
type SetSubaccountRequest ¶
type SetSubaccountRequest struct { WalletId uint64 `protobuf:"varint,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` // The subaccount to use. If not set, a new one will be created. Subaccount *uint64 `protobuf:"varint,2,opt,name=subaccount,proto3,oneof" json:"subaccount,omitempty"` // contains filtered or unexported fields }
func (*SetSubaccountRequest) Descriptor
deprecated
func (*SetSubaccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSubaccountRequest.ProtoReflect.Descriptor instead.
func (*SetSubaccountRequest) GetSubaccount ¶
func (x *SetSubaccountRequest) GetSubaccount() uint64
func (*SetSubaccountRequest) GetWalletId ¶
func (x *SetSubaccountRequest) GetWalletId() uint64
func (*SetSubaccountRequest) ProtoMessage ¶
func (*SetSubaccountRequest) ProtoMessage()
func (*SetSubaccountRequest) ProtoReflect ¶
func (x *SetSubaccountRequest) ProtoReflect() protoreflect.Message
func (*SetSubaccountRequest) Reset ¶
func (x *SetSubaccountRequest) Reset()
func (*SetSubaccountRequest) String ¶
func (x *SetSubaccountRequest) String() string
type Subaccount ¶
type Subaccount struct { Balance *Balance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` Pointer uint64 `protobuf:"varint,2,opt,name=pointer,proto3" json:"pointer,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Descriptors []string `protobuf:"bytes,4,rep,name=descriptors,proto3" json:"descriptors,omitempty"` // contains filtered or unexported fields }
func (*Subaccount) Descriptor
deprecated
func (*Subaccount) Descriptor() ([]byte, []int)
Deprecated: Use Subaccount.ProtoReflect.Descriptor instead.
func (*Subaccount) GetBalance ¶
func (x *Subaccount) GetBalance() *Balance
func (*Subaccount) GetDescriptors ¶
func (x *Subaccount) GetDescriptors() []string
func (*Subaccount) GetPointer ¶
func (x *Subaccount) GetPointer() uint64
func (*Subaccount) GetType ¶
func (x *Subaccount) GetType() string
func (*Subaccount) ProtoMessage ¶
func (*Subaccount) ProtoMessage()
func (*Subaccount) ProtoReflect ¶
func (x *Subaccount) ProtoReflect() protoreflect.Message
func (*Subaccount) Reset ¶
func (x *Subaccount) Reset()
func (*Subaccount) String ¶
func (x *Subaccount) String() string
type SwapFees ¶
type SwapFees struct { Percentage float64 `protobuf:"fixed64,1,opt,name=percentage,proto3" json:"percentage,omitempty"` MinerFees uint64 `protobuf:"varint,2,opt,name=miner_fees,json=minerFees,proto3" json:"miner_fees,omitempty"` // contains filtered or unexported fields }
func (*SwapFees) Descriptor
deprecated
func (*SwapFees) GetMinerFees ¶
func (*SwapFees) GetPercentage ¶
func (*SwapFees) ProtoMessage ¶
func (*SwapFees) ProtoMessage()
func (*SwapFees) ProtoReflect ¶
func (x *SwapFees) ProtoReflect() protoreflect.Message
type SwapInfo ¶
type SwapInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Pair *Pair `protobuf:"bytes,22,opt,name=pair,proto3" json:"pair,omitempty"` State SwapState `protobuf:"varint,2,opt,name=state,proto3,enum=boltzrpc.SwapState" json:"state,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // Latest status message of the Boltz backend Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` PrivateKey string `protobuf:"bytes,5,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` Preimage string `protobuf:"bytes,6,opt,name=preimage,proto3" json:"preimage,omitempty"` RedeemScript string `protobuf:"bytes,7,opt,name=redeem_script,json=redeemScript,proto3" json:"redeem_script,omitempty"` Invoice string `protobuf:"bytes,8,opt,name=invoice,proto3" json:"invoice,omitempty"` LockupAddress string `protobuf:"bytes,9,opt,name=lockup_address,json=lockupAddress,proto3" json:"lockup_address,omitempty"` ExpectedAmount uint64 `protobuf:"varint,10,opt,name=expected_amount,json=expectedAmount,proto3" json:"expected_amount,omitempty"` TimeoutBlockHeight uint32 `protobuf:"varint,11,opt,name=timeout_block_height,json=timeoutBlockHeight,proto3" json:"timeout_block_height,omitempty"` LockupTransactionId string `protobuf:"bytes,12,opt,name=lockup_transaction_id,json=lockupTransactionId,proto3" json:"lockup_transaction_id,omitempty"` // If the swap times out or fails for some other reason, the damon will automatically refund the coins sent to the // `lockup_address` back to the configured wallet or the address specified in the `refund_address` field. RefundTransactionId string `protobuf:"bytes,13,opt,name=refund_transaction_id,json=refundTransactionId,proto3" json:"refund_transaction_id,omitempty"` RefundAddress *string `protobuf:"bytes,19,opt,name=refund_address,json=refundAddress,proto3,oneof" json:"refund_address,omitempty"` ChanIds []*ChannelId `protobuf:"bytes,14,rep,name=chan_ids,json=chanIds,proto3" json:"chan_ids,omitempty"` BlindingKey *string `protobuf:"bytes,15,opt,name=blinding_key,json=blindingKey,proto3,oneof" json:"blinding_key,omitempty"` CreatedAt int64 `protobuf:"varint,16,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ServiceFee *uint64 `protobuf:"varint,17,opt,name=service_fee,json=serviceFee,proto3,oneof" json:"service_fee,omitempty"` OnchainFee *uint64 `protobuf:"varint,18,opt,name=onchain_fee,json=onchainFee,proto3,oneof" json:"onchain_fee,omitempty"` // internal wallet which was used to pay the swap WalletId *uint64 `protobuf:"varint,20,opt,name=wallet_id,json=walletId,proto3,oneof" json:"wallet_id,omitempty"` TenantId uint64 `protobuf:"varint,21,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` IsAuto bool `protobuf:"varint,23,opt,name=is_auto,json=isAuto,proto3" json:"is_auto,omitempty"` // contains filtered or unexported fields }
func (*SwapInfo) Descriptor
deprecated
func (*SwapInfo) GetBlindingKey ¶
func (*SwapInfo) GetChanIds ¶
func (*SwapInfo) GetCreatedAt ¶
func (*SwapInfo) GetExpectedAmount ¶
func (*SwapInfo) GetInvoice ¶
func (*SwapInfo) GetLockupAddress ¶
func (*SwapInfo) GetLockupTransactionId ¶
func (*SwapInfo) GetOnchainFee ¶
func (*SwapInfo) GetPreimage ¶
func (*SwapInfo) GetPrivateKey ¶
func (*SwapInfo) GetRedeemScript ¶
func (*SwapInfo) GetRefundAddress ¶
func (*SwapInfo) GetRefundTransactionId ¶
func (*SwapInfo) GetServiceFee ¶
func (*SwapInfo) GetTenantId ¶
func (*SwapInfo) GetTimeoutBlockHeight ¶
func (*SwapInfo) GetWalletId ¶
func (*SwapInfo) ProtoMessage ¶
func (*SwapInfo) ProtoMessage()
func (*SwapInfo) ProtoReflect ¶
func (x *SwapInfo) ProtoReflect() protoreflect.Message
type SwapState ¶
type SwapState int32
const ( SwapState_PENDING SwapState = 0 SwapState_SUCCESSFUL SwapState = 1 // Unknown client error. Check the error field of the message for more information SwapState_ERROR SwapState = 2 // Unknown server error. Check the status field of the message for more information SwapState_SERVER_ERROR SwapState = 3 // Client refunded locked coins after the HTLC timed out SwapState_REFUNDED SwapState = 4 // Client noticed that the HTLC timed out but didn't find any outputs to refund SwapState_ABANDONED SwapState = 5 )
func (SwapState) Descriptor ¶
func (SwapState) Descriptor() protoreflect.EnumDescriptor
func (SwapState) EnumDescriptor
deprecated
func (SwapState) Number ¶
func (x SwapState) Number() protoreflect.EnumNumber
func (SwapState) Type ¶
func (SwapState) Type() protoreflect.EnumType
type SwapStats ¶
type SwapStats struct { TotalFees uint64 `protobuf:"varint,1,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"` TotalAmount uint64 `protobuf:"varint,2,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"` AvgFees uint64 `protobuf:"varint,3,opt,name=avg_fees,json=avgFees,proto3" json:"avg_fees,omitempty"` AvgAmount uint64 `protobuf:"varint,4,opt,name=avg_amount,json=avgAmount,proto3" json:"avg_amount,omitempty"` Count uint64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` SuccessCount uint64 `protobuf:"varint,6,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` // contains filtered or unexported fields }
func (*SwapStats) Descriptor
deprecated
func (*SwapStats) GetAvgAmount ¶
func (*SwapStats) GetAvgFees ¶
func (*SwapStats) GetSuccessCount ¶
func (*SwapStats) GetTotalAmount ¶
func (*SwapStats) GetTotalFees ¶
func (*SwapStats) ProtoMessage ¶
func (*SwapStats) ProtoMessage()
func (*SwapStats) ProtoReflect ¶
func (x *SwapStats) ProtoReflect() protoreflect.Message
type SwapType ¶
type SwapType int32
func (SwapType) Descriptor ¶
func (SwapType) Descriptor() protoreflect.EnumDescriptor
func (SwapType) EnumDescriptor
deprecated
func (SwapType) Number ¶
func (x SwapType) Number() protoreflect.EnumNumber
func (SwapType) Type ¶
func (SwapType) Type() protoreflect.EnumType
type Tenant ¶
type Tenant struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Tenant) Descriptor
deprecated
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶
func (x *Tenant) ProtoReflect() protoreflect.Message
type TransactionInfo ¶
type TransactionInfo struct { // will be populated for LOCKUP, REFUND and CLAIM SwapId *string `protobuf:"bytes,1,opt,name=swap_id,json=swapId,proto3,oneof" json:"swap_id,omitempty"` Type TransactionType `protobuf:"varint,2,opt,name=type,proto3,enum=boltzrpc.TransactionType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*TransactionInfo) Descriptor
deprecated
func (*TransactionInfo) Descriptor() ([]byte, []int)
Deprecated: Use TransactionInfo.ProtoReflect.Descriptor instead.
func (*TransactionInfo) GetSwapId ¶
func (x *TransactionInfo) GetSwapId() string
func (*TransactionInfo) GetType ¶
func (x *TransactionInfo) GetType() TransactionType
func (*TransactionInfo) ProtoMessage ¶
func (*TransactionInfo) ProtoMessage()
func (*TransactionInfo) ProtoReflect ¶
func (x *TransactionInfo) ProtoReflect() protoreflect.Message
func (*TransactionInfo) Reset ¶
func (x *TransactionInfo) Reset()
func (*TransactionInfo) String ¶
func (x *TransactionInfo) String() string
type TransactionOutput ¶
type TransactionOutput struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // wether the address is controlled by the wallet IsOurAddress bool `protobuf:"varint,3,opt,name=is_our_address,json=isOurAddress,proto3" json:"is_our_address,omitempty"` // contains filtered or unexported fields }
func (*TransactionOutput) Descriptor
deprecated
func (*TransactionOutput) Descriptor() ([]byte, []int)
Deprecated: Use TransactionOutput.ProtoReflect.Descriptor instead.
func (*TransactionOutput) GetAddress ¶
func (x *TransactionOutput) GetAddress() string
func (*TransactionOutput) GetAmount ¶
func (x *TransactionOutput) GetAmount() uint64
func (*TransactionOutput) GetIsOurAddress ¶
func (x *TransactionOutput) GetIsOurAddress() bool
func (*TransactionOutput) ProtoMessage ¶
func (*TransactionOutput) ProtoMessage()
func (*TransactionOutput) ProtoReflect ¶
func (x *TransactionOutput) ProtoReflect() protoreflect.Message
func (*TransactionOutput) Reset ¶
func (x *TransactionOutput) Reset()
func (*TransactionOutput) String ¶
func (x *TransactionOutput) String() string
type TransactionType ¶
type TransactionType int32
const ( TransactionType_UNKNOWN TransactionType = 0 TransactionType_LOCKUP TransactionType = 1 TransactionType_REFUND TransactionType = 2 TransactionType_CLAIM TransactionType = 3 TransactionType_CONSOLIDATION TransactionType = 4 )
func (TransactionType) Descriptor ¶
func (TransactionType) Descriptor() protoreflect.EnumDescriptor
func (TransactionType) Enum ¶
func (x TransactionType) Enum() *TransactionType
func (TransactionType) EnumDescriptor
deprecated
func (TransactionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionType.Descriptor instead.
func (TransactionType) Number ¶
func (x TransactionType) Number() protoreflect.EnumNumber
func (TransactionType) String ¶
func (x TransactionType) String() string
func (TransactionType) Type ¶
func (TransactionType) Type() protoreflect.EnumType
type UnimplementedBoltzServer ¶
type UnimplementedBoltzServer struct { }
UnimplementedBoltzServer must be embedded to have forward compatible implementations.
func (UnimplementedBoltzServer) BakeMacaroon ¶
func (UnimplementedBoltzServer) BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error)
func (UnimplementedBoltzServer) ChangeWalletPassword ¶
func (UnimplementedBoltzServer) ChangeWalletPassword(context.Context, *ChangeWalletPasswordRequest) (*empty.Empty, error)
func (UnimplementedBoltzServer) ClaimSwaps ¶
func (UnimplementedBoltzServer) ClaimSwaps(context.Context, *ClaimSwapsRequest) (*ClaimSwapsResponse, error)
func (UnimplementedBoltzServer) CreateChainSwap ¶
func (UnimplementedBoltzServer) CreateChainSwap(context.Context, *CreateChainSwapRequest) (*ChainSwapInfo, error)
func (UnimplementedBoltzServer) CreateChannel ¶
func (UnimplementedBoltzServer) CreateChannel(context.Context, *CreateChannelRequest) (*CreateSwapResponse, error)
func (UnimplementedBoltzServer) CreateReverseSwap ¶
func (UnimplementedBoltzServer) CreateReverseSwap(context.Context, *CreateReverseSwapRequest) (*CreateReverseSwapResponse, error)
func (UnimplementedBoltzServer) CreateSwap ¶
func (UnimplementedBoltzServer) CreateSwap(context.Context, *CreateSwapRequest) (*CreateSwapResponse, error)
func (UnimplementedBoltzServer) CreateTenant ¶
func (UnimplementedBoltzServer) CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error)
func (UnimplementedBoltzServer) CreateWallet ¶
func (UnimplementedBoltzServer) CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
func (UnimplementedBoltzServer) Deposit ¶
func (UnimplementedBoltzServer) Deposit(context.Context, *DepositRequest) (*DepositResponse, error)
func (UnimplementedBoltzServer) GetInfo ¶
func (UnimplementedBoltzServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
func (UnimplementedBoltzServer) GetPairInfo ¶
func (UnimplementedBoltzServer) GetPairInfo(context.Context, *GetPairInfoRequest) (*PairInfo, error)
func (UnimplementedBoltzServer) GetPairs ¶
func (UnimplementedBoltzServer) GetPairs(context.Context, *empty.Empty) (*GetPairsResponse, error)
func (UnimplementedBoltzServer) GetServiceInfo ¶
func (UnimplementedBoltzServer) GetServiceInfo(context.Context, *GetServiceInfoRequest) (*GetServiceInfoResponse, error)
func (UnimplementedBoltzServer) GetStats ¶
func (UnimplementedBoltzServer) GetStats(context.Context, *GetStatsRequest) (*GetStatsResponse, error)
func (UnimplementedBoltzServer) GetSubaccounts ¶
func (UnimplementedBoltzServer) GetSubaccounts(context.Context, *GetSubaccountsRequest) (*GetSubaccountsResponse, error)
func (UnimplementedBoltzServer) GetSwapInfo ¶
func (UnimplementedBoltzServer) GetSwapInfo(context.Context, *GetSwapInfoRequest) (*GetSwapInfoResponse, error)
func (UnimplementedBoltzServer) GetSwapInfoStream ¶
func (UnimplementedBoltzServer) GetSwapInfoStream(*GetSwapInfoRequest, Boltz_GetSwapInfoStreamServer) error
func (UnimplementedBoltzServer) GetTenant ¶
func (UnimplementedBoltzServer) GetTenant(context.Context, *GetTenantRequest) (*Tenant, error)
func (UnimplementedBoltzServer) GetWallet ¶
func (UnimplementedBoltzServer) GetWallet(context.Context, *GetWalletRequest) (*Wallet, error)
func (UnimplementedBoltzServer) GetWalletCredentials ¶
func (UnimplementedBoltzServer) GetWalletCredentials(context.Context, *GetWalletCredentialsRequest) (*WalletCredentials, error)
func (UnimplementedBoltzServer) GetWalletSendFee ¶
func (UnimplementedBoltzServer) GetWalletSendFee(context.Context, *WalletSendRequest) (*WalletSendFee, error)
func (UnimplementedBoltzServer) GetWallets ¶
func (UnimplementedBoltzServer) GetWallets(context.Context, *GetWalletsRequest) (*Wallets, error)
func (UnimplementedBoltzServer) ImportWallet ¶
func (UnimplementedBoltzServer) ImportWallet(context.Context, *ImportWalletRequest) (*Wallet, error)
func (UnimplementedBoltzServer) ListSwaps ¶
func (UnimplementedBoltzServer) ListSwaps(context.Context, *ListSwapsRequest) (*ListSwapsResponse, error)
func (UnimplementedBoltzServer) ListTenants ¶
func (UnimplementedBoltzServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
func (UnimplementedBoltzServer) ListWalletTransactions ¶
func (UnimplementedBoltzServer) ListWalletTransactions(context.Context, *ListWalletTransactionsRequest) (*ListWalletTransactionsResponse, error)
func (UnimplementedBoltzServer) RefundSwap ¶
func (UnimplementedBoltzServer) RefundSwap(context.Context, *RefundSwapRequest) (*GetSwapInfoResponse, error)
func (UnimplementedBoltzServer) RemoveWallet ¶
func (UnimplementedBoltzServer) RemoveWallet(context.Context, *RemoveWalletRequest) (*RemoveWalletResponse, error)
func (UnimplementedBoltzServer) SetSubaccount ¶
func (UnimplementedBoltzServer) SetSubaccount(context.Context, *SetSubaccountRequest) (*Subaccount, error)
func (UnimplementedBoltzServer) Unlock ¶
func (UnimplementedBoltzServer) Unlock(context.Context, *UnlockRequest) (*empty.Empty, error)
func (UnimplementedBoltzServer) VerifyWalletPassword ¶
func (UnimplementedBoltzServer) VerifyWalletPassword(context.Context, *VerifyWalletPasswordRequest) (*VerifyWalletPasswordResponse, error)
func (UnimplementedBoltzServer) WalletReceive ¶
func (UnimplementedBoltzServer) WalletReceive(context.Context, *WalletReceiveRequest) (*WalletReceiveResponse, error)
func (UnimplementedBoltzServer) WalletSend ¶
func (UnimplementedBoltzServer) WalletSend(context.Context, *WalletSendRequest) (*WalletSendResponse, error)
type UnlockRequest ¶
type UnlockRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*UnlockRequest) Descriptor
deprecated
func (*UnlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlockRequest.ProtoReflect.Descriptor instead.
func (*UnlockRequest) GetPassword ¶
func (x *UnlockRequest) GetPassword() string
func (*UnlockRequest) ProtoMessage ¶
func (*UnlockRequest) ProtoMessage()
func (*UnlockRequest) ProtoReflect ¶
func (x *UnlockRequest) ProtoReflect() protoreflect.Message
func (*UnlockRequest) Reset ¶
func (x *UnlockRequest) Reset()
func (*UnlockRequest) String ¶
func (x *UnlockRequest) String() string
type UnsafeBoltzServer ¶
type UnsafeBoltzServer interface {
// contains filtered or unexported methods
}
UnsafeBoltzServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BoltzServer will result in compilation errors.
type VerifyWalletPasswordRequest ¶
type VerifyWalletPasswordRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*VerifyWalletPasswordRequest) Descriptor
deprecated
func (*VerifyWalletPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyWalletPasswordRequest.ProtoReflect.Descriptor instead.
func (*VerifyWalletPasswordRequest) GetPassword ¶
func (x *VerifyWalletPasswordRequest) GetPassword() string
func (*VerifyWalletPasswordRequest) ProtoMessage ¶
func (*VerifyWalletPasswordRequest) ProtoMessage()
func (*VerifyWalletPasswordRequest) ProtoReflect ¶
func (x *VerifyWalletPasswordRequest) ProtoReflect() protoreflect.Message
func (*VerifyWalletPasswordRequest) Reset ¶
func (x *VerifyWalletPasswordRequest) Reset()
func (*VerifyWalletPasswordRequest) String ¶
func (x *VerifyWalletPasswordRequest) String() string
type VerifyWalletPasswordResponse ¶
type VerifyWalletPasswordResponse struct { Correct bool `protobuf:"varint,1,opt,name=correct,proto3" json:"correct,omitempty"` // contains filtered or unexported fields }
func (*VerifyWalletPasswordResponse) Descriptor
deprecated
func (*VerifyWalletPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyWalletPasswordResponse.ProtoReflect.Descriptor instead.
func (*VerifyWalletPasswordResponse) GetCorrect ¶
func (x *VerifyWalletPasswordResponse) GetCorrect() bool
func (*VerifyWalletPasswordResponse) ProtoMessage ¶
func (*VerifyWalletPasswordResponse) ProtoMessage()
func (*VerifyWalletPasswordResponse) ProtoReflect ¶
func (x *VerifyWalletPasswordResponse) ProtoReflect() protoreflect.Message
func (*VerifyWalletPasswordResponse) Reset ¶
func (x *VerifyWalletPasswordResponse) Reset()
func (*VerifyWalletPasswordResponse) String ¶
func (x *VerifyWalletPasswordResponse) String() string
type Wallet ¶
type Wallet struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Currency Currency `protobuf:"varint,3,opt,name=currency,proto3,enum=boltzrpc.Currency" json:"currency,omitempty"` Readonly bool `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"` Balance *Balance `protobuf:"bytes,5,opt,name=balance,proto3" json:"balance,omitempty"` TenantId uint64 `protobuf:"varint,6,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*Wallet) Descriptor
deprecated
func (*Wallet) GetBalance ¶
func (*Wallet) GetCurrency ¶
func (*Wallet) GetReadonly ¶
func (*Wallet) GetTenantId ¶
func (*Wallet) ProtoMessage ¶
func (*Wallet) ProtoMessage()
func (*Wallet) ProtoReflect ¶
func (x *Wallet) ProtoReflect() protoreflect.Message
type WalletCredentials ¶
type WalletCredentials struct { // only one of these is allowed to be present Mnemonic *string `protobuf:"bytes,1,opt,name=mnemonic,proto3,oneof" json:"mnemonic,omitempty"` Xpub *string `protobuf:"bytes,2,opt,name=xpub,proto3,oneof" json:"xpub,omitempty"` CoreDescriptor *string `protobuf:"bytes,3,opt,name=core_descriptor,json=coreDescriptor,proto3,oneof" json:"core_descriptor,omitempty"` // only used in combination with mnemonic Subaccount *uint64 `protobuf:"varint,4,opt,name=subaccount,proto3,oneof" json:"subaccount,omitempty"` // contains filtered or unexported fields }
func (*WalletCredentials) Descriptor
deprecated
func (*WalletCredentials) Descriptor() ([]byte, []int)
Deprecated: Use WalletCredentials.ProtoReflect.Descriptor instead.
func (*WalletCredentials) GetCoreDescriptor ¶
func (x *WalletCredentials) GetCoreDescriptor() string
func (*WalletCredentials) GetMnemonic ¶
func (x *WalletCredentials) GetMnemonic() string
func (*WalletCredentials) GetSubaccount ¶
func (x *WalletCredentials) GetSubaccount() uint64
func (*WalletCredentials) GetXpub ¶
func (x *WalletCredentials) GetXpub() string
func (*WalletCredentials) ProtoMessage ¶
func (*WalletCredentials) ProtoMessage()
func (*WalletCredentials) ProtoReflect ¶
func (x *WalletCredentials) ProtoReflect() protoreflect.Message
func (*WalletCredentials) Reset ¶
func (x *WalletCredentials) Reset()
func (*WalletCredentials) String ¶
func (x *WalletCredentials) String() string
type WalletParams ¶
type WalletParams struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Currency Currency `protobuf:"varint,2,opt,name=currency,proto3,enum=boltzrpc.Currency" json:"currency,omitempty"` // the password to encrypt the wallet with. If there are existing encrypted wallets, the same password has to be used. Password *string `protobuf:"bytes,3,opt,name=password,proto3,oneof" json:"password,omitempty"` // contains filtered or unexported fields }
func (*WalletParams) Descriptor
deprecated
func (*WalletParams) Descriptor() ([]byte, []int)
Deprecated: Use WalletParams.ProtoReflect.Descriptor instead.
func (*WalletParams) GetCurrency ¶
func (x *WalletParams) GetCurrency() Currency
func (*WalletParams) GetName ¶
func (x *WalletParams) GetName() string
func (*WalletParams) GetPassword ¶
func (x *WalletParams) GetPassword() string
func (*WalletParams) ProtoMessage ¶
func (*WalletParams) ProtoMessage()
func (*WalletParams) ProtoReflect ¶
func (x *WalletParams) ProtoReflect() protoreflect.Message
func (*WalletParams) Reset ¶
func (x *WalletParams) Reset()
func (*WalletParams) String ¶
func (x *WalletParams) String() string
type WalletReceiveRequest ¶
type WalletReceiveRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*WalletReceiveRequest) Descriptor
deprecated
func (*WalletReceiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use WalletReceiveRequest.ProtoReflect.Descriptor instead.
func (*WalletReceiveRequest) GetId ¶
func (x *WalletReceiveRequest) GetId() uint64
func (*WalletReceiveRequest) ProtoMessage ¶
func (*WalletReceiveRequest) ProtoMessage()
func (*WalletReceiveRequest) ProtoReflect ¶
func (x *WalletReceiveRequest) ProtoReflect() protoreflect.Message
func (*WalletReceiveRequest) Reset ¶
func (x *WalletReceiveRequest) Reset()
func (*WalletReceiveRequest) String ¶
func (x *WalletReceiveRequest) String() string
type WalletReceiveResponse ¶
type WalletReceiveResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*WalletReceiveResponse) Descriptor
deprecated
func (*WalletReceiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use WalletReceiveResponse.ProtoReflect.Descriptor instead.
func (*WalletReceiveResponse) GetAddress ¶
func (x *WalletReceiveResponse) GetAddress() string
func (*WalletReceiveResponse) ProtoMessage ¶
func (*WalletReceiveResponse) ProtoMessage()
func (*WalletReceiveResponse) ProtoReflect ¶
func (x *WalletReceiveResponse) ProtoReflect() protoreflect.Message
func (*WalletReceiveResponse) Reset ¶
func (x *WalletReceiveResponse) Reset()
func (*WalletReceiveResponse) String ¶
func (x *WalletReceiveResponse) String() string
type WalletSendFee ¶
type WalletSendFee struct { // amount of sats which would be sent Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` Fee uint64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` // the fee rate used for the estimation in sat/vbyte FeeRate float64 `protobuf:"fixed64,3,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"` // contains filtered or unexported fields }
func (*WalletSendFee) Descriptor
deprecated
func (*WalletSendFee) Descriptor() ([]byte, []int)
Deprecated: Use WalletSendFee.ProtoReflect.Descriptor instead.
func (*WalletSendFee) GetAmount ¶
func (x *WalletSendFee) GetAmount() uint64
func (*WalletSendFee) GetFee ¶
func (x *WalletSendFee) GetFee() uint64
func (*WalletSendFee) GetFeeRate ¶
func (x *WalletSendFee) GetFeeRate() float64
func (*WalletSendFee) ProtoMessage ¶
func (*WalletSendFee) ProtoMessage()
func (*WalletSendFee) ProtoReflect ¶
func (x *WalletSendFee) ProtoReflect() protoreflect.Message
func (*WalletSendFee) Reset ¶
func (x *WalletSendFee) Reset()
func (*WalletSendFee) String ¶
func (x *WalletSendFee) String() string
type WalletSendRequest ¶
type WalletSendRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Amount of satoshis to be sent to 'address` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // Fee rate to use for the transaction SatPerVbyte *float64 `protobuf:"fixed64,4,opt,name=sat_per_vbyte,json=satPerVbyte,proto3,oneof" json:"sat_per_vbyte,omitempty"` // Sends all available funds to the address. The `amount` field is ignored. SendAll *bool `protobuf:"varint,5,opt,name=send_all,json=sendAll,proto3,oneof" json:"send_all,omitempty"` // whether `address` is the lockup of a swap. IsSwapAddress *bool `protobuf:"varint,6,opt,name=is_swap_address,json=isSwapAddress,proto3,oneof" json:"is_swap_address,omitempty"` // contains filtered or unexported fields }
func (*WalletSendRequest) Descriptor
deprecated
func (*WalletSendRequest) Descriptor() ([]byte, []int)
Deprecated: Use WalletSendRequest.ProtoReflect.Descriptor instead.
func (*WalletSendRequest) GetAddress ¶
func (x *WalletSendRequest) GetAddress() string
func (*WalletSendRequest) GetAmount ¶
func (x *WalletSendRequest) GetAmount() uint64
func (*WalletSendRequest) GetId ¶
func (x *WalletSendRequest) GetId() uint64
func (*WalletSendRequest) GetIsSwapAddress ¶
func (x *WalletSendRequest) GetIsSwapAddress() bool
func (*WalletSendRequest) GetSatPerVbyte ¶
func (x *WalletSendRequest) GetSatPerVbyte() float64
func (*WalletSendRequest) GetSendAll ¶
func (x *WalletSendRequest) GetSendAll() bool
func (*WalletSendRequest) ProtoMessage ¶
func (*WalletSendRequest) ProtoMessage()
func (*WalletSendRequest) ProtoReflect ¶
func (x *WalletSendRequest) ProtoReflect() protoreflect.Message
func (*WalletSendRequest) Reset ¶
func (x *WalletSendRequest) Reset()
func (*WalletSendRequest) String ¶
func (x *WalletSendRequest) String() string
type WalletSendResponse ¶
type WalletSendResponse struct { TxId string `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"` // contains filtered or unexported fields }
func (*WalletSendResponse) Descriptor
deprecated
func (*WalletSendResponse) Descriptor() ([]byte, []int)
Deprecated: Use WalletSendResponse.ProtoReflect.Descriptor instead.
func (*WalletSendResponse) GetTxId ¶
func (x *WalletSendResponse) GetTxId() string
func (*WalletSendResponse) ProtoMessage ¶
func (*WalletSendResponse) ProtoMessage()
func (*WalletSendResponse) ProtoReflect ¶
func (x *WalletSendResponse) ProtoReflect() protoreflect.Message
func (*WalletSendResponse) Reset ¶
func (x *WalletSendResponse) Reset()
func (*WalletSendResponse) String ¶
func (x *WalletSendResponse) String() string
type WalletTransaction ¶
type WalletTransaction struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // balance change of the wallet in satoshis. // its the sum of all output values minus the sum of all input values which are controlled by the wallet. // positive values indicate incoming transactions, negative values outgoing transactions BalanceChange int64 `protobuf:"varint,2,opt,name=balance_change,json=balanceChange,proto3" json:"balance_change,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Outputs []*TransactionOutput `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"` BlockHeight uint32 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // additional informations about the tx (type, related swaps etc.) Infos []*TransactionInfo `protobuf:"bytes,7,rep,name=infos,proto3" json:"infos,omitempty"` // contains filtered or unexported fields }
func (*WalletTransaction) Descriptor
deprecated
func (*WalletTransaction) Descriptor() ([]byte, []int)
Deprecated: Use WalletTransaction.ProtoReflect.Descriptor instead.
func (*WalletTransaction) GetBalanceChange ¶
func (x *WalletTransaction) GetBalanceChange() int64
func (*WalletTransaction) GetBlockHeight ¶
func (x *WalletTransaction) GetBlockHeight() uint32
func (*WalletTransaction) GetId ¶
func (x *WalletTransaction) GetId() string
func (*WalletTransaction) GetInfos ¶
func (x *WalletTransaction) GetInfos() []*TransactionInfo
func (*WalletTransaction) GetOutputs ¶
func (x *WalletTransaction) GetOutputs() []*TransactionOutput
func (*WalletTransaction) GetTimestamp ¶
func (x *WalletTransaction) GetTimestamp() int64
func (*WalletTransaction) ProtoMessage ¶
func (*WalletTransaction) ProtoMessage()
func (*WalletTransaction) ProtoReflect ¶
func (x *WalletTransaction) ProtoReflect() protoreflect.Message
func (*WalletTransaction) Reset ¶
func (x *WalletTransaction) Reset()
func (*WalletTransaction) String ¶
func (x *WalletTransaction) String() string
type Wallets ¶
type Wallets struct { Wallets []*Wallet `protobuf:"bytes,1,rep,name=wallets,proto3" json:"wallets,omitempty"` // contains filtered or unexported fields }
func (*Wallets) Descriptor
deprecated
func (*Wallets) GetWallets ¶
func (*Wallets) ProtoMessage ¶
func (*Wallets) ProtoMessage()
func (*Wallets) ProtoReflect ¶
func (x *Wallets) ProtoReflect() protoreflect.Message