Documentation ¶
Index ¶
- Variables
- func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)
- func RegisterNotificationServiceServer(s grpc.ServiceRegistrar, srv NotificationServiceServer)
- func RegisterTransactionServiceServer(s grpc.ServiceRegistrar, srv TransactionServiceServer)
- func RegisterWalletServiceServer(s grpc.ServiceRegistrar, srv WalletServiceServer)
- type AccountInfo
- func (*AccountInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInfo) GetDerivationPath() string
- func (x *AccountInfo) GetLabel() string
- func (x *AccountInfo) GetMasterBlindingKey() string
- func (x *AccountInfo) GetNamespace() string
- func (x *AccountInfo) GetXpubs() []string
- func (*AccountInfo) ProtoMessage()
- func (x *AccountInfo) ProtoReflect() protoreflect.Message
- func (x *AccountInfo) Reset()
- func (x *AccountInfo) String() string
- type AccountServiceClient
- type AccountServiceServer
- type AddWebhookRequest
- func (*AddWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddWebhookRequest) GetEndpoint() string
- func (x *AddWebhookRequest) GetEventType() WebhookEventType
- func (x *AddWebhookRequest) GetSecret() string
- func (*AddWebhookRequest) ProtoMessage()
- func (x *AddWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *AddWebhookRequest) Reset()
- func (x *AddWebhookRequest) String() string
- type AddWebhookResponse
- type AuthRequest
- type AuthResponse
- type BalanceInfo
- func (*BalanceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceInfo) GetConfirmedBalance() uint64
- func (x *BalanceInfo) GetLockedBalance() uint64
- func (x *BalanceInfo) GetTotalBalance() uint64
- func (x *BalanceInfo) GetUnconfirmedBalance() uint64
- func (*BalanceInfo) ProtoMessage()
- func (x *BalanceInfo) ProtoReflect() protoreflect.Message
- func (x *BalanceInfo) Reset()
- func (x *BalanceInfo) String() string
- type BalanceRequest
- func (*BalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceRequest) GetAccountName() string
- func (x *BalanceRequest) GetAddresses() []string
- func (*BalanceRequest) ProtoMessage()
- func (x *BalanceRequest) ProtoReflect() protoreflect.Message
- func (x *BalanceRequest) Reset()
- func (x *BalanceRequest) String() string
- type BalanceResponse
- func (*BalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BalanceResponse) GetBalance() map[string]*BalanceInfo
- func (*BalanceResponse) ProtoMessage()
- func (x *BalanceResponse) ProtoReflect() protoreflect.Message
- func (x *BalanceResponse) Reset()
- func (x *BalanceResponse) String() string
- type BlindPsetRequest
- func (*BlindPsetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlindPsetRequest) GetExtraUnblindedInputs() []*UnblindedInput
- func (x *BlindPsetRequest) GetLastBlinder() bool
- func (x *BlindPsetRequest) GetPset() string
- func (*BlindPsetRequest) ProtoMessage()
- func (x *BlindPsetRequest) ProtoReflect() protoreflect.Message
- func (x *BlindPsetRequest) Reset()
- func (x *BlindPsetRequest) String() string
- type BlindPsetResponse
- type BlockDetails
- func (*BlockDetails) Descriptor() ([]byte, []int)deprecated
- func (x *BlockDetails) GetHash() string
- func (x *BlockDetails) GetHeight() uint64
- func (x *BlockDetails) GetTimestamp() int64
- func (*BlockDetails) ProtoMessage()
- func (x *BlockDetails) ProtoReflect() protoreflect.Message
- func (x *BlockDetails) Reset()
- func (x *BlockDetails) String() string
- type BroadcastTransactionRequest
- func (*BroadcastTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastTransactionRequest) GetTxHex() string
- func (*BroadcastTransactionRequest) ProtoMessage()
- func (x *BroadcastTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *BroadcastTransactionRequest) Reset()
- func (x *BroadcastTransactionRequest) String() string
- type BroadcastTransactionResponse
- func (*BroadcastTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastTransactionResponse) GetTxid() string
- func (*BroadcastTransactionResponse) ProtoMessage()
- func (x *BroadcastTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *BroadcastTransactionResponse) Reset()
- func (x *BroadcastTransactionResponse) String() string
- type BuildInfo
- func (*BuildInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfo) GetCommit() string
- func (x *BuildInfo) GetDate() string
- func (x *BuildInfo) GetVersion() string
- func (*BuildInfo) ProtoMessage()
- func (x *BuildInfo) ProtoReflect() protoreflect.Message
- func (x *BuildInfo) Reset()
- func (x *BuildInfo) String() string
- type BurnRequest
- func (*BurnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BurnRequest) GetAccountName() string
- func (x *BurnRequest) GetMillisatsPerByte() uint64
- func (x *BurnRequest) GetReceivers() []*Output
- func (*BurnRequest) ProtoMessage()
- func (x *BurnRequest) ProtoReflect() protoreflect.Message
- func (x *BurnRequest) Reset()
- func (x *BurnRequest) String() string
- type BurnResponse
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetCurrentPassword() string
- func (x *ChangePasswordRequest) GetNewPassword() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- type ChangePasswordResponse
- type ClaimPegInRequest
- func (*ClaimPegInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimPegInRequest) GetBitcoinTx() string
- func (x *ClaimPegInRequest) GetClaimScript() string
- func (x *ClaimPegInRequest) GetTxOutProof() string
- func (*ClaimPegInRequest) ProtoMessage()
- func (x *ClaimPegInRequest) ProtoReflect() protoreflect.Message
- func (x *ClaimPegInRequest) Reset()
- func (x *ClaimPegInRequest) String() string
- type ClaimPegInResponse
- func (*ClaimPegInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimPegInResponse) GetTxHex() string
- func (*ClaimPegInResponse) ProtoMessage()
- func (x *ClaimPegInResponse) ProtoReflect() protoreflect.Message
- func (x *ClaimPegInResponse) Reset()
- func (x *ClaimPegInResponse) String() string
- type CreateAccountBIP44Request
- func (*CreateAccountBIP44Request) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountBIP44Request) GetLabel() string
- func (x *CreateAccountBIP44Request) GetUnconfidential() bool
- func (*CreateAccountBIP44Request) ProtoMessage()
- func (x *CreateAccountBIP44Request) ProtoReflect() protoreflect.Message
- func (x *CreateAccountBIP44Request) Reset()
- func (x *CreateAccountBIP44Request) String() string
- type CreateAccountBIP44Response
- func (*CreateAccountBIP44Response) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountBIP44Response) GetInfo() *AccountInfo
- func (*CreateAccountBIP44Response) ProtoMessage()
- func (x *CreateAccountBIP44Response) ProtoReflect() protoreflect.Message
- func (x *CreateAccountBIP44Response) Reset()
- func (x *CreateAccountBIP44Response) String() string
- type CreateAccountCustomRequest
- func (*CreateAccountCustomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountCustomRequest) GetLabel() string
- func (x *CreateAccountCustomRequest) GetUnconf() bool
- func (*CreateAccountCustomRequest) ProtoMessage()
- func (x *CreateAccountCustomRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountCustomRequest) Reset()
- func (x *CreateAccountCustomRequest) String() string
- type CreateAccountCustomResponse
- func (*CreateAccountCustomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountCustomResponse) GetInfo() *AccountInfo
- func (*CreateAccountCustomResponse) ProtoMessage()
- func (x *CreateAccountCustomResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountCustomResponse) Reset()
- func (x *CreateAccountCustomResponse) String() string
- type CreateAccountMultiSigRequest
- func (*CreateAccountMultiSigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountMultiSigRequest) GetLabel() string
- func (x *CreateAccountMultiSigRequest) GetUnconf() bool
- func (*CreateAccountMultiSigRequest) ProtoMessage()
- func (x *CreateAccountMultiSigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountMultiSigRequest) Reset()
- func (x *CreateAccountMultiSigRequest) String() string
- type CreateAccountMultiSigResponse
- func (*CreateAccountMultiSigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountMultiSigResponse) GetInfo() *AccountInfo
- func (*CreateAccountMultiSigResponse) ProtoMessage()
- func (x *CreateAccountMultiSigResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountMultiSigResponse) Reset()
- func (x *CreateAccountMultiSigResponse) String() string
- type CreatePsetRequest
- func (*CreatePsetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePsetRequest) GetInputs() []*Input
- func (x *CreatePsetRequest) GetOutputs() []*Output
- func (*CreatePsetRequest) ProtoMessage()
- func (x *CreatePsetRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePsetRequest) Reset()
- func (x *CreatePsetRequest) String() string
- type CreatePsetResponse
- func (*CreatePsetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePsetResponse) GetPset() string
- func (*CreatePsetResponse) ProtoMessage()
- func (x *CreatePsetResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePsetResponse) Reset()
- func (x *CreatePsetResponse) String() string
- type CreateWalletRequest
- func (*CreateWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWalletRequest) GetMnemonic() string
- func (x *CreateWalletRequest) GetPassword() string
- func (*CreateWalletRequest) ProtoMessage()
- func (x *CreateWalletRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWalletRequest) Reset()
- func (x *CreateWalletRequest) String() string
- type CreateWalletResponse
- type DeleteAccountRequest
- func (*DeleteAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountRequest) GetAccountName() string
- func (*DeleteAccountRequest) ProtoMessage()
- func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountRequest) Reset()
- func (x *DeleteAccountRequest) String() string
- type DeleteAccountResponse
- type DeriveAddressesRequest
- func (*DeriveAddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeriveAddressesRequest) GetAccountName() string
- func (x *DeriveAddressesRequest) GetNumOfAddresses() uint64
- func (*DeriveAddressesRequest) ProtoMessage()
- func (x *DeriveAddressesRequest) ProtoReflect() protoreflect.Message
- func (x *DeriveAddressesRequest) Reset()
- func (x *DeriveAddressesRequest) String() string
- type DeriveAddressesResponse
- func (*DeriveAddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeriveAddressesResponse) GetAddresses() []string
- func (*DeriveAddressesResponse) ProtoMessage()
- func (x *DeriveAddressesResponse) ProtoReflect() protoreflect.Message
- func (x *DeriveAddressesResponse) Reset()
- func (x *DeriveAddressesResponse) String() string
- type DeriveChangeAddressesRequest
- func (*DeriveChangeAddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeriveChangeAddressesRequest) GetAccountName() string
- func (x *DeriveChangeAddressesRequest) GetNumOfAddresses() uint64
- func (*DeriveChangeAddressesRequest) ProtoMessage()
- func (x *DeriveChangeAddressesRequest) ProtoReflect() protoreflect.Message
- func (x *DeriveChangeAddressesRequest) Reset()
- func (x *DeriveChangeAddressesRequest) String() string
- type DeriveChangeAddressesResponse
- func (*DeriveChangeAddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeriveChangeAddressesResponse) GetAddresses() []string
- func (*DeriveChangeAddressesResponse) ProtoMessage()
- func (x *DeriveChangeAddressesResponse) ProtoReflect() protoreflect.Message
- func (x *DeriveChangeAddressesResponse) Reset()
- func (x *DeriveChangeAddressesResponse) String() string
- type EstimateFeesRequest
- func (*EstimateFeesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateFeesRequest) GetInputs() []*Input
- func (x *EstimateFeesRequest) GetMillisatsPerByte() uint64
- func (x *EstimateFeesRequest) GetOutputs() []*Output
- func (*EstimateFeesRequest) ProtoMessage()
- func (x *EstimateFeesRequest) ProtoReflect() protoreflect.Message
- func (x *EstimateFeesRequest) Reset()
- func (x *EstimateFeesRequest) String() string
- type EstimateFeesResponse
- func (*EstimateFeesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateFeesResponse) GetFeeAmount() uint64
- func (*EstimateFeesResponse) ProtoMessage()
- func (x *EstimateFeesResponse) ProtoReflect() protoreflect.Message
- func (x *EstimateFeesResponse) Reset()
- func (x *EstimateFeesResponse) String() string
- type GenSeedRequest
- type GenSeedResponse
- type GetInfoRequest
- type GetInfoResponse
- func (*GetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoResponse) GetAccounts() []*AccountInfo
- func (x *GetInfoResponse) GetBirthdayBlockHash() string
- func (x *GetInfoResponse) GetBirthdayBlockHeight() uint32
- func (x *GetInfoResponse) GetBuildInfo() *BuildInfo
- func (x *GetInfoResponse) GetNativeAsset() string
- func (x *GetInfoResponse) GetNetwork() GetInfoResponse_Network
- func (x *GetInfoResponse) GetRootPath() string
- func (*GetInfoResponse) ProtoMessage()
- func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetInfoResponse) Reset()
- func (x *GetInfoResponse) String() string
- type GetInfoResponse_Network
- func (GetInfoResponse_Network) Descriptor() protoreflect.EnumDescriptor
- func (x GetInfoResponse_Network) Enum() *GetInfoResponse_Network
- func (GetInfoResponse_Network) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetInfoResponse_Network) Number() protoreflect.EnumNumber
- func (x GetInfoResponse_Network) String() string
- func (GetInfoResponse_Network) Type() protoreflect.EnumType
- type GetTransactionRequest
- func (*GetTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionRequest) GetTxid() string
- func (*GetTransactionRequest) ProtoMessage()
- func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionRequest) Reset()
- func (x *GetTransactionRequest) String() string
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionResponse) GetBlockDetails() *BlockDetails
- func (x *GetTransactionResponse) GetTxHex() string
- func (*GetTransactionResponse) ProtoMessage()
- func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionResponse) Reset()
- func (x *GetTransactionResponse) String() string
- type Input
- func (*Input) Descriptor() ([]byte, []int)deprecated
- func (x *Input) GetIndex() uint32
- func (x *Input) GetScript() string
- func (x *Input) GetScriptsigSize() uint64
- func (x *Input) GetTxid() string
- func (x *Input) GetWitnessSize() uint64
- func (*Input) ProtoMessage()
- func (x *Input) ProtoReflect() protoreflect.Message
- func (x *Input) Reset()
- func (x *Input) String() string
- type ListAddressesRequest
- func (*ListAddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAddressesRequest) GetAccountName() string
- func (*ListAddressesRequest) ProtoMessage()
- func (x *ListAddressesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAddressesRequest) Reset()
- func (x *ListAddressesRequest) String() string
- type ListAddressesResponse
- func (*ListAddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAddressesResponse) GetAddresses() []string
- func (*ListAddressesResponse) ProtoMessage()
- func (x *ListAddressesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAddressesResponse) Reset()
- func (x *ListAddressesResponse) String() string
- type ListUtxosRequest
- func (*ListUtxosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUtxosRequest) GetAccountName() string
- func (x *ListUtxosRequest) GetAddresses() []string
- func (*ListUtxosRequest) ProtoMessage()
- func (x *ListUtxosRequest) ProtoReflect() protoreflect.Message
- func (x *ListUtxosRequest) Reset()
- func (x *ListUtxosRequest) String() string
- type ListUtxosResponse
- func (*ListUtxosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUtxosResponse) GetLockedUtxos() *Utxos
- func (x *ListUtxosResponse) GetSpendableUtxos() *Utxos
- func (*ListUtxosResponse) ProtoMessage()
- func (x *ListUtxosResponse) ProtoReflect() protoreflect.Message
- func (x *ListUtxosResponse) Reset()
- func (x *ListUtxosResponse) String() string
- type ListWebhooksRequest
- func (*ListWebhooksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWebhooksRequest) GetEventType() WebhookEventType
- func (*ListWebhooksRequest) ProtoMessage()
- func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message
- func (x *ListWebhooksRequest) Reset()
- func (x *ListWebhooksRequest) String() string
- type ListWebhooksResponse
- func (*ListWebhooksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWebhooksResponse) GetWebhookInfo() []*WebhookInfo
- func (*ListWebhooksResponse) ProtoMessage()
- func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message
- func (x *ListWebhooksResponse) Reset()
- func (x *ListWebhooksResponse) String() string
- type LockRequest
- type LockResponse
- type LockUtxosRequest
- func (*LockUtxosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LockUtxosRequest) GetAccountName() string
- func (x *LockUtxosRequest) GetUtxos() []*Input
- func (*LockUtxosRequest) ProtoMessage()
- func (x *LockUtxosRequest) ProtoReflect() protoreflect.Message
- func (x *LockUtxosRequest) Reset()
- func (x *LockUtxosRequest) String() string
- type LockUtxosResponse
- func (*LockUtxosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LockUtxosResponse) GetExpirationDate() int64
- func (*LockUtxosResponse) ProtoMessage()
- func (x *LockUtxosResponse) ProtoReflect() protoreflect.Message
- func (x *LockUtxosResponse) Reset()
- func (x *LockUtxosResponse) String() string
- type MintRequest
- func (*MintRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MintRequest) GetAccountName() string
- func (x *MintRequest) GetAssetAmount() uint64
- func (x *MintRequest) GetAssetDomain() string
- func (x *MintRequest) GetAssetName() string
- func (x *MintRequest) GetAssetTicker() string
- func (x *MintRequest) GetMillisatsPerByte() uint64
- func (x *MintRequest) GetTokenAmount() uint64
- func (*MintRequest) ProtoMessage()
- func (x *MintRequest) ProtoReflect() protoreflect.Message
- func (x *MintRequest) Reset()
- func (x *MintRequest) String() string
- type MintResponse
- type NotificationServiceClient
- type NotificationServiceServer
- type NotificationService_TransactionNotificationsClient
- type NotificationService_TransactionNotificationsServer
- type NotificationService_UtxosNotificationsClient
- type NotificationService_UtxosNotificationsServer
- type Output
- func (*Output) Descriptor() ([]byte, []int)deprecated
- func (x *Output) GetAddress() string
- func (x *Output) GetAmount() uint64
- func (x *Output) GetAsset() string
- func (x *Output) GetBlindingPubkey() string
- func (x *Output) GetScript() string
- func (*Output) ProtoMessage()
- func (x *Output) ProtoReflect() protoreflect.Message
- func (x *Output) Reset()
- func (x *Output) String() string
- type PegInAddressRequest
- type PegInAddressResponse
- func (*PegInAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PegInAddressResponse) GetAccountName() string
- func (x *PegInAddressResponse) GetClaimScript() string
- func (x *PegInAddressResponse) GetMainChainAddress() string
- func (*PegInAddressResponse) ProtoMessage()
- func (x *PegInAddressResponse) ProtoReflect() protoreflect.Message
- func (x *PegInAddressResponse) Reset()
- func (x *PegInAddressResponse) String() string
- type RemintRequest
- func (*RemintRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemintRequest) GetAccountName() string
- func (x *RemintRequest) GetAmount() uint64
- func (x *RemintRequest) GetAsset() string
- func (x *RemintRequest) GetMillisatsPerByte() uint64
- func (*RemintRequest) ProtoMessage()
- func (x *RemintRequest) ProtoReflect() protoreflect.Message
- func (x *RemintRequest) Reset()
- func (x *RemintRequest) String() string
- type RemintResponse
- type RemoveWebhookRequest
- func (*RemoveWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveWebhookRequest) GetId() string
- func (*RemoveWebhookRequest) ProtoMessage()
- func (x *RemoveWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveWebhookRequest) Reset()
- func (x *RemoveWebhookRequest) String() string
- type RemoveWebhookResponse
- type RestoreWalletRequest
- func (*RestoreWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreWalletRequest) GetBirthdayBlockHeight() uint32
- func (x *RestoreWalletRequest) GetEmptyAccountThreshold() uint32
- func (x *RestoreWalletRequest) GetMnemonic() string
- func (x *RestoreWalletRequest) GetPassword() string
- func (x *RestoreWalletRequest) GetRootPath() string
- func (x *RestoreWalletRequest) GetUnusedAddressThreshold() uint32
- func (*RestoreWalletRequest) ProtoMessage()
- func (x *RestoreWalletRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreWalletRequest) Reset()
- func (x *RestoreWalletRequest) String() string
- type RestoreWalletResponse
- func (*RestoreWalletResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreWalletResponse) GetMessage() string
- func (*RestoreWalletResponse) ProtoMessage()
- func (x *RestoreWalletResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreWalletResponse) Reset()
- func (x *RestoreWalletResponse) String() string
- type SelectUtxosRequest
- func (*SelectUtxosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectUtxosRequest) GetAccountName() string
- func (x *SelectUtxosRequest) GetStrategy() SelectUtxosRequest_Strategy
- func (x *SelectUtxosRequest) GetTargetAmount() uint64
- func (x *SelectUtxosRequest) GetTargetAsset() string
- func (*SelectUtxosRequest) ProtoMessage()
- func (x *SelectUtxosRequest) ProtoReflect() protoreflect.Message
- func (x *SelectUtxosRequest) Reset()
- func (x *SelectUtxosRequest) String() string
- type SelectUtxosRequest_Strategy
- func (SelectUtxosRequest_Strategy) Descriptor() protoreflect.EnumDescriptor
- func (x SelectUtxosRequest_Strategy) Enum() *SelectUtxosRequest_Strategy
- func (SelectUtxosRequest_Strategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x SelectUtxosRequest_Strategy) Number() protoreflect.EnumNumber
- func (x SelectUtxosRequest_Strategy) String() string
- func (SelectUtxosRequest_Strategy) Type() protoreflect.EnumType
- type SelectUtxosResponse
- func (*SelectUtxosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SelectUtxosResponse) GetChange() uint64
- func (x *SelectUtxosResponse) GetExpirationDate() int64
- func (x *SelectUtxosResponse) GetUtxos() []*Utxo
- func (*SelectUtxosResponse) ProtoMessage()
- func (x *SelectUtxosResponse) ProtoReflect() protoreflect.Message
- func (x *SelectUtxosResponse) Reset()
- func (x *SelectUtxosResponse) String() string
- type SetAccountLabelRequest
- func (*SetAccountLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAccountLabelRequest) GetAccountName() string
- func (x *SetAccountLabelRequest) GetLabel() string
- func (*SetAccountLabelRequest) ProtoMessage()
- func (x *SetAccountLabelRequest) ProtoReflect() protoreflect.Message
- func (x *SetAccountLabelRequest) Reset()
- func (x *SetAccountLabelRequest) String() string
- type SetAccountLabelResponse
- func (*SetAccountLabelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetAccountLabelResponse) GetInfo() *AccountInfo
- func (*SetAccountLabelResponse) ProtoMessage()
- func (x *SetAccountLabelResponse) ProtoReflect() protoreflect.Message
- func (x *SetAccountLabelResponse) Reset()
- func (x *SetAccountLabelResponse) String() string
- type SetAccountTemplateRequest
- func (*SetAccountTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAccountTemplateRequest) GetAccountName() string
- func (x *SetAccountTemplateRequest) GetTemplate() *Template
- func (*SetAccountTemplateRequest) ProtoMessage()
- func (x *SetAccountTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *SetAccountTemplateRequest) Reset()
- func (x *SetAccountTemplateRequest) String() string
- type SetAccountTemplateResponse
- type SignPsetRequest
- func (*SignPsetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignPsetRequest) GetPset() string
- func (x *SignPsetRequest) GetSighashType() uint32
- func (*SignPsetRequest) ProtoMessage()
- func (x *SignPsetRequest) ProtoReflect() protoreflect.Message
- func (x *SignPsetRequest) Reset()
- func (x *SignPsetRequest) String() string
- type SignPsetResponse
- type SignPsetWithSchnorrKeyRequest
- func (*SignPsetWithSchnorrKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignPsetWithSchnorrKeyRequest) GetSighashType() uint32
- func (x *SignPsetWithSchnorrKeyRequest) GetTx() string
- func (*SignPsetWithSchnorrKeyRequest) ProtoMessage()
- func (x *SignPsetWithSchnorrKeyRequest) ProtoReflect() protoreflect.Message
- func (x *SignPsetWithSchnorrKeyRequest) Reset()
- func (x *SignPsetWithSchnorrKeyRequest) String() string
- type SignPsetWithSchnorrKeyResponse
- func (*SignPsetWithSchnorrKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignPsetWithSchnorrKeyResponse) GetSignedTx() string
- func (*SignPsetWithSchnorrKeyResponse) ProtoMessage()
- func (x *SignPsetWithSchnorrKeyResponse) ProtoReflect() protoreflect.Message
- func (x *SignPsetWithSchnorrKeyResponse) Reset()
- func (x *SignPsetWithSchnorrKeyResponse) String() string
- type SignTransactionRequest
- func (*SignTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignTransactionRequest) GetSighashType() uint32
- func (x *SignTransactionRequest) GetTxHex() string
- func (*SignTransactionRequest) ProtoMessage()
- func (x *SignTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SignTransactionRequest) Reset()
- func (x *SignTransactionRequest) String() string
- type SignTransactionResponse
- func (*SignTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignTransactionResponse) GetTxHex() string
- func (*SignTransactionResponse) ProtoMessage()
- func (x *SignTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SignTransactionResponse) Reset()
- func (x *SignTransactionResponse) String() string
- type StatusRequest
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetInitialized() bool
- func (x *StatusResponse) GetSynced() bool
- func (x *StatusResponse) GetUnlocked() bool
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type Template
- type Template_Format
- func (Template_Format) Descriptor() protoreflect.EnumDescriptor
- func (x Template_Format) Enum() *Template_Format
- func (Template_Format) EnumDescriptor() ([]byte, []int)deprecated
- func (x Template_Format) Number() protoreflect.EnumNumber
- func (x Template_Format) String() string
- func (Template_Format) Type() protoreflect.EnumType
- type TransactionNotificationsRequest
- func (*TransactionNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (*TransactionNotificationsRequest) ProtoMessage()
- func (x *TransactionNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionNotificationsRequest) Reset()
- func (x *TransactionNotificationsRequest) String() string
- type TransactionNotificationsResponse
- func (*TransactionNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionNotificationsResponse) GetAccountNames() []string
- func (x *TransactionNotificationsResponse) GetBlockDetails() *BlockDetails
- func (x *TransactionNotificationsResponse) GetEventType() TxEventType
- func (x *TransactionNotificationsResponse) GetTxhex() string
- func (x *TransactionNotificationsResponse) GetTxid() string
- func (*TransactionNotificationsResponse) ProtoMessage()
- func (x *TransactionNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *TransactionNotificationsResponse) Reset()
- func (x *TransactionNotificationsResponse) String() string
- type TransactionServiceClient
- type TransactionServiceServer
- type TransferRequest
- func (*TransferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferRequest) GetAccountName() string
- func (x *TransferRequest) GetMillisatsPerByte() uint64
- func (x *TransferRequest) GetReceivers() []*Output
- func (*TransferRequest) ProtoMessage()
- func (x *TransferRequest) ProtoReflect() protoreflect.Message
- func (x *TransferRequest) Reset()
- func (x *TransferRequest) String() string
- type TransferResponse
- type TxEventType
- func (TxEventType) Descriptor() protoreflect.EnumDescriptor
- func (x TxEventType) Enum() *TxEventType
- func (TxEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TxEventType) Number() protoreflect.EnumNumber
- func (x TxEventType) String() string
- func (TxEventType) Type() protoreflect.EnumType
- type UnblindedInput
- func (*UnblindedInput) Descriptor() ([]byte, []int)deprecated
- func (x *UnblindedInput) GetAmount() uint64
- func (x *UnblindedInput) GetAmountBlinder() string
- func (x *UnblindedInput) GetAsset() string
- func (x *UnblindedInput) GetAssetBlinder() string
- func (x *UnblindedInput) GetIndex() uint32
- func (*UnblindedInput) ProtoMessage()
- func (x *UnblindedInput) ProtoReflect() protoreflect.Message
- func (x *UnblindedInput) Reset()
- func (x *UnblindedInput) String() string
- type UnimplementedAccountServiceServer
- func (UnimplementedAccountServiceServer) Balance(context.Context, *BalanceRequest) (*BalanceResponse, error)
- func (UnimplementedAccountServiceServer) CreateAccountBIP44(context.Context, *CreateAccountBIP44Request) (*CreateAccountBIP44Response, error)
- func (UnimplementedAccountServiceServer) CreateAccountCustom(context.Context, *CreateAccountCustomRequest) (*CreateAccountCustomResponse, error)
- func (UnimplementedAccountServiceServer) CreateAccountMultiSig(context.Context, *CreateAccountMultiSigRequest) (*CreateAccountMultiSigResponse, error)
- func (UnimplementedAccountServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error)
- func (UnimplementedAccountServiceServer) DeriveAddresses(context.Context, *DeriveAddressesRequest) (*DeriveAddressesResponse, error)
- func (UnimplementedAccountServiceServer) DeriveChangeAddresses(context.Context, *DeriveChangeAddressesRequest) (*DeriveChangeAddressesResponse, error)
- func (UnimplementedAccountServiceServer) ListAddresses(context.Context, *ListAddressesRequest) (*ListAddressesResponse, error)
- func (UnimplementedAccountServiceServer) ListUtxos(context.Context, *ListUtxosRequest) (*ListUtxosResponse, error)
- func (UnimplementedAccountServiceServer) SetAccountLabel(context.Context, *SetAccountLabelRequest) (*SetAccountLabelResponse, error)
- func (UnimplementedAccountServiceServer) SetAccountTemplate(context.Context, *SetAccountTemplateRequest) (*SetAccountTemplateResponse, error)
- type UnimplementedNotificationServiceServer
- func (UnimplementedNotificationServiceServer) AddWebhook(context.Context, *AddWebhookRequest) (*AddWebhookResponse, error)
- func (UnimplementedNotificationServiceServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
- func (UnimplementedNotificationServiceServer) RemoveWebhook(context.Context, *RemoveWebhookRequest) (*RemoveWebhookResponse, error)
- func (UnimplementedNotificationServiceServer) TransactionNotifications(*TransactionNotificationsRequest, ...) error
- func (UnimplementedNotificationServiceServer) UnwatchExternalScript(context.Context, *UnwatchExternalScriptRequest) (*UnwatchExternalScriptResponse, error)
- func (UnimplementedNotificationServiceServer) UtxosNotifications(*UtxosNotificationsRequest, NotificationService_UtxosNotificationsServer) error
- func (UnimplementedNotificationServiceServer) WatchExternalScript(context.Context, *WatchExternalScriptRequest) (*WatchExternalScriptResponse, error)
- type UnimplementedTransactionServiceServer
- func (UnimplementedTransactionServiceServer) BlindPset(context.Context, *BlindPsetRequest) (*BlindPsetResponse, error)
- func (UnimplementedTransactionServiceServer) BroadcastTransaction(context.Context, *BroadcastTransactionRequest) (*BroadcastTransactionResponse, error)
- func (UnimplementedTransactionServiceServer) Burn(context.Context, *BurnRequest) (*BurnResponse, error)
- func (UnimplementedTransactionServiceServer) ClaimPegIn(context.Context, *ClaimPegInRequest) (*ClaimPegInResponse, error)
- func (UnimplementedTransactionServiceServer) CreatePset(context.Context, *CreatePsetRequest) (*CreatePsetResponse, error)
- func (UnimplementedTransactionServiceServer) EstimateFees(context.Context, *EstimateFeesRequest) (*EstimateFeesResponse, error)
- func (UnimplementedTransactionServiceServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
- func (UnimplementedTransactionServiceServer) LockUtxos(context.Context, *LockUtxosRequest) (*LockUtxosResponse, error)
- func (UnimplementedTransactionServiceServer) Mint(context.Context, *MintRequest) (*MintResponse, error)
- func (UnimplementedTransactionServiceServer) PegInAddress(context.Context, *PegInAddressRequest) (*PegInAddressResponse, error)
- func (UnimplementedTransactionServiceServer) Remint(context.Context, *RemintRequest) (*RemintResponse, error)
- func (UnimplementedTransactionServiceServer) SelectUtxos(context.Context, *SelectUtxosRequest) (*SelectUtxosResponse, error)
- func (UnimplementedTransactionServiceServer) SignPset(context.Context, *SignPsetRequest) (*SignPsetResponse, error)
- func (UnimplementedTransactionServiceServer) SignPsetWithSchnorrKey(context.Context, *SignPsetWithSchnorrKeyRequest) (*SignPsetWithSchnorrKeyResponse, error)
- func (UnimplementedTransactionServiceServer) SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error)
- func (UnimplementedTransactionServiceServer) Transfer(context.Context, *TransferRequest) (*TransferResponse, error)
- func (UnimplementedTransactionServiceServer) UpdatePset(context.Context, *UpdatePsetRequest) (*UpdatePsetResponse, error)
- type UnimplementedWalletServiceServer
- func (UnimplementedWalletServiceServer) Auth(context.Context, *AuthRequest) (*AuthResponse, error)
- func (UnimplementedWalletServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (UnimplementedWalletServiceServer) CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
- func (UnimplementedWalletServiceServer) GenSeed(context.Context, *GenSeedRequest) (*GenSeedResponse, error)
- func (UnimplementedWalletServiceServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
- func (UnimplementedWalletServiceServer) Lock(context.Context, *LockRequest) (*LockResponse, error)
- func (UnimplementedWalletServiceServer) RestoreWallet(*RestoreWalletRequest, WalletService_RestoreWalletServer) error
- func (UnimplementedWalletServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
- func (UnimplementedWalletServiceServer) Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error)
- type UnlockRequest
- type UnlockResponse
- type UnsafeAccountServiceServer
- type UnsafeNotificationServiceServer
- type UnsafeTransactionServiceServer
- type UnsafeWalletServiceServer
- type UnwatchExternalScriptRequest
- func (*UnwatchExternalScriptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnwatchExternalScriptRequest) GetLabel() string
- func (*UnwatchExternalScriptRequest) ProtoMessage()
- func (x *UnwatchExternalScriptRequest) ProtoReflect() protoreflect.Message
- func (x *UnwatchExternalScriptRequest) Reset()
- func (x *UnwatchExternalScriptRequest) String() string
- type UnwatchExternalScriptResponse
- func (*UnwatchExternalScriptResponse) Descriptor() ([]byte, []int)deprecated
- func (*UnwatchExternalScriptResponse) ProtoMessage()
- func (x *UnwatchExternalScriptResponse) ProtoReflect() protoreflect.Message
- func (x *UnwatchExternalScriptResponse) Reset()
- func (x *UnwatchExternalScriptResponse) String() string
- type UpdatePsetRequest
- func (*UpdatePsetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePsetRequest) GetInputs() []*Input
- func (x *UpdatePsetRequest) GetOutputs() []*Output
- func (x *UpdatePsetRequest) GetPset() string
- func (*UpdatePsetRequest) ProtoMessage()
- func (x *UpdatePsetRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePsetRequest) Reset()
- func (x *UpdatePsetRequest) String() string
- type UpdatePsetResponse
- func (*UpdatePsetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePsetResponse) GetPset() string
- func (*UpdatePsetResponse) ProtoMessage()
- func (x *UpdatePsetResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePsetResponse) Reset()
- func (x *UpdatePsetResponse) String() string
- type Utxo
- func (*Utxo) Descriptor() ([]byte, []int)deprecated
- func (x *Utxo) GetAccountName() string
- func (x *Utxo) GetAsset() string
- func (x *Utxo) GetAssetBlinder() string
- func (x *Utxo) GetConfirmedStatus() *UtxoStatus
- func (x *Utxo) GetIndex() uint32
- func (x *Utxo) GetRedeemScript() string
- func (x *Utxo) GetScript() string
- func (x *Utxo) GetSpentStatus() *UtxoStatus
- func (x *Utxo) GetTxid() string
- func (x *Utxo) GetValue() uint64
- func (x *Utxo) GetValueBlinder() string
- func (*Utxo) ProtoMessage()
- func (x *Utxo) ProtoReflect() protoreflect.Message
- func (x *Utxo) Reset()
- func (x *Utxo) String() string
- type UtxoEventType
- func (UtxoEventType) Descriptor() protoreflect.EnumDescriptor
- func (x UtxoEventType) Enum() *UtxoEventType
- func (UtxoEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UtxoEventType) Number() protoreflect.EnumNumber
- func (x UtxoEventType) String() string
- func (UtxoEventType) Type() protoreflect.EnumType
- type UtxoStatus
- func (*UtxoStatus) Descriptor() ([]byte, []int)deprecated
- func (x *UtxoStatus) GetBlockInfo() *BlockDetails
- func (x *UtxoStatus) GetTxhex() string
- func (x *UtxoStatus) GetTxid() string
- func (*UtxoStatus) ProtoMessage()
- func (x *UtxoStatus) ProtoReflect() protoreflect.Message
- func (x *UtxoStatus) Reset()
- func (x *UtxoStatus) String() string
- type Utxos
- type UtxosNotificationsRequest
- type UtxosNotificationsResponse
- func (*UtxosNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UtxosNotificationsResponse) GetEventType() UtxoEventType
- func (x *UtxosNotificationsResponse) GetUtxos() []*Utxo
- func (*UtxosNotificationsResponse) ProtoMessage()
- func (x *UtxosNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *UtxosNotificationsResponse) Reset()
- func (x *UtxosNotificationsResponse) String() string
- type WalletServiceClient
- type WalletServiceServer
- type WalletService_RestoreWalletClient
- type WalletService_RestoreWalletServer
- type WatchExternalScriptRequest
- func (*WatchExternalScriptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchExternalScriptRequest) GetBlindingKey() string
- func (x *WatchExternalScriptRequest) GetScript() string
- func (*WatchExternalScriptRequest) ProtoMessage()
- func (x *WatchExternalScriptRequest) ProtoReflect() protoreflect.Message
- func (x *WatchExternalScriptRequest) Reset()
- func (x *WatchExternalScriptRequest) String() string
- type WatchExternalScriptResponse
- func (*WatchExternalScriptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WatchExternalScriptResponse) GetLabel() string
- func (*WatchExternalScriptResponse) ProtoMessage()
- func (x *WatchExternalScriptResponse) ProtoReflect() protoreflect.Message
- func (x *WatchExternalScriptResponse) Reset()
- func (x *WatchExternalScriptResponse) String() string
- type WebhookEventType
- func (WebhookEventType) Descriptor() protoreflect.EnumDescriptor
- func (x WebhookEventType) Enum() *WebhookEventType
- func (WebhookEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x WebhookEventType) Number() protoreflect.EnumNumber
- func (x WebhookEventType) String() string
- func (WebhookEventType) Type() protoreflect.EnumType
- type WebhookInfo
- func (*WebhookInfo) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookInfo) GetEndpoint() string
- func (x *WebhookInfo) GetId() string
- func (x *WebhookInfo) GetIsSecured() bool
- func (*WebhookInfo) ProtoMessage()
- func (x *WebhookInfo) ProtoReflect() protoreflect.Message
- func (x *WebhookInfo) Reset()
- func (x *WebhookInfo) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SelectUtxosRequest_Strategy_name = map[int32]string{ 0: "STRATEGY_UNSPECIFIED", 1: "STRATEGY_BRANCH_BOUND", 2: "STRATEGY_FRAGMENT", } SelectUtxosRequest_Strategy_value = map[string]int32{ "STRATEGY_UNSPECIFIED": 0, "STRATEGY_BRANCH_BOUND": 1, "STRATEGY_FRAGMENT": 2, } )
Enum value maps for SelectUtxosRequest_Strategy.
var ( TxEventType_name = map[int32]string{ 0: "TX_EVENT_TYPE_UNSPECIFIED", 1: "TX_EVENT_TYPE_BROADCASTED", 2: "TX_EVENT_TYPE_UNCONFIRMED", 3: "TX_EVENT_TYPE_CONFIRMED", } TxEventType_value = map[string]int32{ "TX_EVENT_TYPE_UNSPECIFIED": 0, "TX_EVENT_TYPE_BROADCASTED": 1, "TX_EVENT_TYPE_UNCONFIRMED": 2, "TX_EVENT_TYPE_CONFIRMED": 3, } )
Enum value maps for TxEventType.
var ( UtxoEventType_name = map[int32]string{ 0: "UTXO_EVENT_TYPE_UNSPECIFIED", 1: "UTXO_EVENT_TYPE_NEW", 2: "UTXO_EVENT_TYPE_CONFIRMED", 3: "UTXO_EVENT_TYPE_LOCKED", 4: "UTXO_EVENT_TYPE_UNLOCKED", 5: "UTXO_EVENT_TYPE_SPENT", 6: "UTXO_EVENT_TYPE_CONFIRMED_SPENT", } UtxoEventType_value = map[string]int32{ "UTXO_EVENT_TYPE_UNSPECIFIED": 0, "UTXO_EVENT_TYPE_NEW": 1, "UTXO_EVENT_TYPE_CONFIRMED": 2, "UTXO_EVENT_TYPE_LOCKED": 3, "UTXO_EVENT_TYPE_UNLOCKED": 4, "UTXO_EVENT_TYPE_SPENT": 5, "UTXO_EVENT_TYPE_CONFIRMED_SPENT": 6, } )
Enum value maps for UtxoEventType.
var ( WebhookEventType_name = map[int32]string{ 0: "WEBHOOK_EVENT_TYPE_UNSPECIFIED", 1: "WEBHOOK_EVENT_TYPE_TRANSACTION", 2: "WEBHOOK_EVENT_TYPE_UTXO", } WebhookEventType_value = map[string]int32{ "WEBHOOK_EVENT_TYPE_UNSPECIFIED": 0, "WEBHOOK_EVENT_TYPE_TRANSACTION": 1, "WEBHOOK_EVENT_TYPE_UTXO": 2, } )
Enum value maps for WebhookEventType.
var ( Template_Format_name = map[int32]string{ 0: "FORMAT_UNSPECIFIED", 1: "FORMAT_DESCRIPTOR", 2: "FORMAT_MINISCRIPT", 3: "FORMAT_IONIO", 4: "FORMAT_RAW", } Template_Format_value = map[string]int32{ "FORMAT_UNSPECIFIED": 0, "FORMAT_DESCRIPTOR": 1, "FORMAT_MINISCRIPT": 2, "FORMAT_IONIO": 3, "FORMAT_RAW": 4, } )
Enum value maps for Template_Format.
var ( GetInfoResponse_Network_name = map[int32]string{ 0: "NETWORK_UNSPECIFIED", 1: "NETWORK_MAINNET", 2: "NETWORK_TESTNET", 3: "NETWORK_REGTEST", } GetInfoResponse_Network_value = map[string]int32{ "NETWORK_UNSPECIFIED": 0, "NETWORK_MAINNET": 1, "NETWORK_TESTNET": 2, "NETWORK_REGTEST": 3, } )
Enum value maps for GetInfoResponse_Network.
var AccountService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ocean.v1.AccountService", HandlerType: (*AccountServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateAccountBIP44", Handler: _AccountService_CreateAccountBIP44_Handler, }, { MethodName: "CreateAccountMultiSig", Handler: _AccountService_CreateAccountMultiSig_Handler, }, { MethodName: "CreateAccountCustom", Handler: _AccountService_CreateAccountCustom_Handler, }, { MethodName: "SetAccountLabel", Handler: _AccountService_SetAccountLabel_Handler, }, { MethodName: "SetAccountTemplate", Handler: _AccountService_SetAccountTemplate_Handler, }, { MethodName: "DeriveAddresses", Handler: _AccountService_DeriveAddresses_Handler, }, { MethodName: "DeriveChangeAddresses", Handler: _AccountService_DeriveChangeAddresses_Handler, }, { MethodName: "ListAddresses", Handler: _AccountService_ListAddresses_Handler, }, { MethodName: "Balance", Handler: _AccountService_Balance_Handler, }, { MethodName: "ListUtxos", Handler: _AccountService_ListUtxos_Handler, }, { MethodName: "DeleteAccount", Handler: _AccountService_DeleteAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ocean/v1/account.proto", }
AccountService_ServiceDesc is the grpc.ServiceDesc for AccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_ocean_v1_account_proto protoreflect.FileDescriptor
var File_ocean_v1_notification_proto protoreflect.FileDescriptor
var File_ocean_v1_transaction_proto protoreflect.FileDescriptor
var File_ocean_v1_types_proto protoreflect.FileDescriptor
var File_ocean_v1_wallet_proto protoreflect.FileDescriptor
var NotificationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ocean.v1.NotificationService", HandlerType: (*NotificationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "WatchExternalScript", Handler: _NotificationService_WatchExternalScript_Handler, }, { MethodName: "UnwatchExternalScript", Handler: _NotificationService_UnwatchExternalScript_Handler, }, { MethodName: "AddWebhook", Handler: _NotificationService_AddWebhook_Handler, }, { MethodName: "RemoveWebhook", Handler: _NotificationService_RemoveWebhook_Handler, }, { MethodName: "ListWebhooks", Handler: _NotificationService_ListWebhooks_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "TransactionNotifications", Handler: _NotificationService_TransactionNotifications_Handler, ServerStreams: true, }, { StreamName: "UtxosNotifications", Handler: _NotificationService_UtxosNotifications_Handler, ServerStreams: true, }, }, Metadata: "ocean/v1/notification.proto", }
NotificationService_ServiceDesc is the grpc.ServiceDesc for NotificationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TransactionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ocean.v1.TransactionService", HandlerType: (*TransactionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTransaction", Handler: _TransactionService_GetTransaction_Handler, }, { MethodName: "SelectUtxos", Handler: _TransactionService_SelectUtxos_Handler, }, { MethodName: "LockUtxos", Handler: _TransactionService_LockUtxos_Handler, }, { MethodName: "EstimateFees", Handler: _TransactionService_EstimateFees_Handler, }, { MethodName: "SignTransaction", Handler: _TransactionService_SignTransaction_Handler, }, { MethodName: "BroadcastTransaction", Handler: _TransactionService_BroadcastTransaction_Handler, }, { MethodName: "CreatePset", Handler: _TransactionService_CreatePset_Handler, }, { MethodName: "UpdatePset", Handler: _TransactionService_UpdatePset_Handler, }, { MethodName: "BlindPset", Handler: _TransactionService_BlindPset_Handler, }, { MethodName: "SignPset", Handler: _TransactionService_SignPset_Handler, }, { MethodName: "Mint", Handler: _TransactionService_Mint_Handler, }, { MethodName: "Remint", Handler: _TransactionService_Remint_Handler, }, { MethodName: "Burn", Handler: _TransactionService_Burn_Handler, }, { MethodName: "Transfer", Handler: _TransactionService_Transfer_Handler, }, { MethodName: "PegInAddress", Handler: _TransactionService_PegInAddress_Handler, }, { MethodName: "ClaimPegIn", Handler: _TransactionService_ClaimPegIn_Handler, }, { MethodName: "SignPsetWithSchnorrKey", Handler: _TransactionService_SignPsetWithSchnorrKey_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ocean/v1/transaction.proto", }
TransactionService_ServiceDesc is the grpc.ServiceDesc for TransactionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WalletService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ocean.v1.WalletService", HandlerType: (*WalletServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenSeed", Handler: _WalletService_GenSeed_Handler, }, { MethodName: "CreateWallet", Handler: _WalletService_CreateWallet_Handler, }, { MethodName: "Unlock", Handler: _WalletService_Unlock_Handler, }, { MethodName: "Lock", Handler: _WalletService_Lock_Handler, }, { MethodName: "ChangePassword", Handler: _WalletService_ChangePassword_Handler, }, { MethodName: "Status", Handler: _WalletService_Status_Handler, }, { MethodName: "GetInfo", Handler: _WalletService_GetInfo_Handler, }, { MethodName: "Auth", Handler: _WalletService_Auth_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "RestoreWallet", Handler: _WalletService_RestoreWallet_Handler, ServerStreams: true, }, }, Metadata: "ocean/v1/wallet.proto", }
WalletService_ServiceDesc is the grpc.ServiceDesc for WalletService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)
func RegisterNotificationServiceServer ¶
func RegisterNotificationServiceServer(s grpc.ServiceRegistrar, srv NotificationServiceServer)
func RegisterTransactionServiceServer ¶
func RegisterTransactionServiceServer(s grpc.ServiceRegistrar, srv TransactionServiceServer)
func RegisterWalletServiceServer ¶
func RegisterWalletServiceServer(s grpc.ServiceRegistrar, srv WalletServiceServer)
Types ¶
type AccountInfo ¶
type AccountInfo struct { // Account namespace. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Account label. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // Derivation path. DerivationPath string `protobuf:"bytes,3,opt,name=derivation_path,json=derivationPath,proto3" json:"derivation_path,omitempty"` // Xpubs. Xpubs []string `protobuf:"bytes,4,rep,name=xpubs,proto3" json:"xpubs,omitempty"` // The master blinding key of the account to derive blinding keypairs from. MasterBlindingKey string `protobuf:"bytes,5,opt,name=master_blinding_key,json=masterBlindingKey,proto3" json:"master_blinding_key,omitempty"` // contains filtered or unexported fields }
func (*AccountInfo) Descriptor
deprecated
func (*AccountInfo) Descriptor() ([]byte, []int)
Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.
func (*AccountInfo) GetDerivationPath ¶
func (x *AccountInfo) GetDerivationPath() string
func (*AccountInfo) GetLabel ¶ added in v0.1.16
func (x *AccountInfo) GetLabel() string
func (*AccountInfo) GetMasterBlindingKey ¶ added in v0.1.16
func (x *AccountInfo) GetMasterBlindingKey() string
func (*AccountInfo) GetNamespace ¶ added in v0.1.16
func (x *AccountInfo) GetNamespace() string
func (*AccountInfo) GetXpubs ¶ added in v0.1.9
func (x *AccountInfo) GetXpubs() []string
func (*AccountInfo) ProtoMessage ¶
func (*AccountInfo) ProtoMessage()
func (*AccountInfo) ProtoReflect ¶
func (x *AccountInfo) ProtoReflect() protoreflect.Message
func (*AccountInfo) Reset ¶
func (x *AccountInfo) Reset()
func (*AccountInfo) String ¶
func (x *AccountInfo) String() string
type AccountServiceClient ¶
type AccountServiceClient interface { // CreateAccountBIP44 creates a new BIP44 account. CreateAccountBIP44(ctx context.Context, in *CreateAccountBIP44Request, opts ...grpc.CallOption) (*CreateAccountBIP44Response, error) // CreateAccountMultiSig creates a new multisig account. CreateAccountMultiSig(ctx context.Context, in *CreateAccountMultiSigRequest, opts ...grpc.CallOption) (*CreateAccountMultiSigResponse, error) // CreateAccountCustom creates a new custom account for which loading a template. CreateAccountCustom(ctx context.Context, in *CreateAccountCustomRequest, opts ...grpc.CallOption) (*CreateAccountCustomResponse, error) // SetAccountLabel sets a label for the account that can be used later to refer to it. SetAccountLabel(ctx context.Context, in *SetAccountLabelRequest, opts ...grpc.CallOption) (*SetAccountLabelResponse, error) // SetAccountTemplate sets the template for the account used to generate new addresses. SetAccountTemplate(ctx context.Context, in *SetAccountTemplateRequest, opts ...grpc.CallOption) (*SetAccountTemplateResponse, error) // DeriveAddresses generates new address(es) for the account. DeriveAddresses(ctx context.Context, in *DeriveAddressesRequest, opts ...grpc.CallOption) (*DeriveAddressesResponse, error) // DeriveChangeAddresses generates new change address(es) for the account. DeriveChangeAddresses(ctx context.Context, in *DeriveChangeAddressesRequest, opts ...grpc.CallOption) (*DeriveChangeAddressesResponse, error) // ListAddresses returns all derived addresses for the account. ListAddresses(ctx context.Context, in *ListAddressesRequest, opts ...grpc.CallOption) (*ListAddressesResponse, error) // Balance returns the balance for the account, or for specific list of // account's addresses. Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error) // ListUtxos returns the utxos for the account, or specific list of // account's addresses. ListUtxos(ctx context.Context, in *ListUtxosRequest, opts ...grpc.CallOption) (*ListUtxosResponse, error) // DeleteAccount deletes an existing account. The operation is allowed only // if the account has zero balance. DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*DeleteAccountResponse, error) }
AccountServiceClient is the client API for AccountService 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 NewAccountServiceClient ¶
func NewAccountServiceClient(cc grpc.ClientConnInterface) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface { // CreateAccountBIP44 creates a new BIP44 account. CreateAccountBIP44(context.Context, *CreateAccountBIP44Request) (*CreateAccountBIP44Response, error) // CreateAccountMultiSig creates a new multisig account. CreateAccountMultiSig(context.Context, *CreateAccountMultiSigRequest) (*CreateAccountMultiSigResponse, error) // CreateAccountCustom creates a new custom account for which loading a template. CreateAccountCustom(context.Context, *CreateAccountCustomRequest) (*CreateAccountCustomResponse, error) // SetAccountLabel sets a label for the account that can be used later to refer to it. SetAccountLabel(context.Context, *SetAccountLabelRequest) (*SetAccountLabelResponse, error) // SetAccountTemplate sets the template for the account used to generate new addresses. SetAccountTemplate(context.Context, *SetAccountTemplateRequest) (*SetAccountTemplateResponse, error) // DeriveAddresses generates new address(es) for the account. DeriveAddresses(context.Context, *DeriveAddressesRequest) (*DeriveAddressesResponse, error) // DeriveChangeAddresses generates new change address(es) for the account. DeriveChangeAddresses(context.Context, *DeriveChangeAddressesRequest) (*DeriveChangeAddressesResponse, error) // ListAddresses returns all derived addresses for the account. ListAddresses(context.Context, *ListAddressesRequest) (*ListAddressesResponse, error) // Balance returns the balance for the account, or for specific list of // account's addresses. Balance(context.Context, *BalanceRequest) (*BalanceResponse, error) // ListUtxos returns the utxos for the account, or specific list of // account's addresses. ListUtxos(context.Context, *ListUtxosRequest) (*ListUtxosResponse, error) // DeleteAccount deletes an existing account. The operation is allowed only // if the account has zero balance. DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error) }
AccountServiceServer is the server API for AccountService service. All implementations should embed UnimplementedAccountServiceServer for forward compatibility
type AddWebhookRequest ¶
type AddWebhookRequest struct { // The endpoint of the external service to reach. Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // The event type for which the webhook should be registered. EventType WebhookEventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=ocean.v1.WebhookEventType" json:"event_type,omitempty"` // The secret to use for signign a JWT token for an authenticated request // to the external service. Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*AddWebhookRequest) Descriptor
deprecated
func (*AddWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddWebhookRequest.ProtoReflect.Descriptor instead.
func (*AddWebhookRequest) GetEndpoint ¶
func (x *AddWebhookRequest) GetEndpoint() string
func (*AddWebhookRequest) GetEventType ¶
func (x *AddWebhookRequest) GetEventType() WebhookEventType
func (*AddWebhookRequest) GetSecret ¶
func (x *AddWebhookRequest) GetSecret() string
func (*AddWebhookRequest) ProtoMessage ¶
func (*AddWebhookRequest) ProtoMessage()
func (*AddWebhookRequest) ProtoReflect ¶
func (x *AddWebhookRequest) ProtoReflect() protoreflect.Message
func (*AddWebhookRequest) Reset ¶
func (x *AddWebhookRequest) Reset()
func (*AddWebhookRequest) String ¶
func (x *AddWebhookRequest) String() string
type AddWebhookResponse ¶
type AddWebhookResponse struct { // The id of the new webhook. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddWebhookResponse) Descriptor
deprecated
func (*AddWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddWebhookResponse.ProtoReflect.Descriptor instead.
func (*AddWebhookResponse) GetId ¶
func (x *AddWebhookResponse) GetId() string
func (*AddWebhookResponse) ProtoMessage ¶
func (*AddWebhookResponse) ProtoMessage()
func (*AddWebhookResponse) ProtoReflect ¶
func (x *AddWebhookResponse) ProtoReflect() protoreflect.Message
func (*AddWebhookResponse) Reset ¶
func (x *AddWebhookResponse) Reset()
func (*AddWebhookResponse) String ¶
func (x *AddWebhookResponse) String() string
type AuthRequest ¶ added in v0.1.14
type AuthRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*AuthRequest) Descriptor
deprecated
added in
v0.1.14
func (*AuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.
func (*AuthRequest) GetPassword ¶ added in v0.1.14
func (x *AuthRequest) GetPassword() string
func (*AuthRequest) ProtoMessage ¶ added in v0.1.14
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) ProtoReflect ¶ added in v0.1.14
func (x *AuthRequest) ProtoReflect() protoreflect.Message
func (*AuthRequest) Reset ¶ added in v0.1.14
func (x *AuthRequest) Reset()
func (*AuthRequest) String ¶ added in v0.1.14
func (x *AuthRequest) String() string
type AuthResponse ¶ added in v0.1.14
type AuthResponse struct { Verified bool `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"` // contains filtered or unexported fields }
func (*AuthResponse) Descriptor
deprecated
added in
v0.1.14
func (*AuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.
func (*AuthResponse) GetVerified ¶ added in v0.1.14
func (x *AuthResponse) GetVerified() bool
func (*AuthResponse) ProtoMessage ¶ added in v0.1.14
func (*AuthResponse) ProtoMessage()
func (*AuthResponse) ProtoReflect ¶ added in v0.1.14
func (x *AuthResponse) ProtoReflect() protoreflect.Message
func (*AuthResponse) Reset ¶ added in v0.1.14
func (x *AuthResponse) Reset()
func (*AuthResponse) String ¶ added in v0.1.14
func (x *AuthResponse) String() string
type BalanceInfo ¶
type BalanceInfo struct { // Balance of utxos with 1+ confirmations. ConfirmedBalance uint64 `protobuf:"varint,1,opt,name=confirmed_balance,json=confirmedBalance,proto3" json:"confirmed_balance,omitempty"` // Balance of utxos with no confirmations. UnconfirmedBalance uint64 `protobuf:"varint,2,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"` // Balance of locked utxos. LockedBalance uint64 `protobuf:"varint,3,opt,name=locked_balance,json=lockedBalance,proto3" json:"locked_balance,omitempty"` // Total balance. TotalBalance uint64 `protobuf:"varint,4,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"` // contains filtered or unexported fields }
func (*BalanceInfo) Descriptor
deprecated
func (*BalanceInfo) Descriptor() ([]byte, []int)
Deprecated: Use BalanceInfo.ProtoReflect.Descriptor instead.
func (*BalanceInfo) GetConfirmedBalance ¶
func (x *BalanceInfo) GetConfirmedBalance() uint64
func (*BalanceInfo) GetLockedBalance ¶
func (x *BalanceInfo) GetLockedBalance() uint64
func (*BalanceInfo) GetTotalBalance ¶
func (x *BalanceInfo) GetTotalBalance() uint64
func (*BalanceInfo) GetUnconfirmedBalance ¶
func (x *BalanceInfo) GetUnconfirmedBalance() uint64
func (*BalanceInfo) ProtoMessage ¶
func (*BalanceInfo) ProtoMessage()
func (*BalanceInfo) ProtoReflect ¶
func (x *BalanceInfo) ProtoReflect() protoreflect.Message
func (*BalanceInfo) Reset ¶
func (x *BalanceInfo) Reset()
func (*BalanceInfo) String ¶
func (x *BalanceInfo) String() string
type BalanceRequest ¶
type BalanceRequest struct { // Account namespace or label. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Addresses for which calculating balance. If not specified, the cumulative // balance is returned. Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*BalanceRequest) Descriptor
deprecated
func (*BalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use BalanceRequest.ProtoReflect.Descriptor instead.
func (*BalanceRequest) GetAccountName ¶
func (x *BalanceRequest) GetAccountName() string
func (*BalanceRequest) GetAddresses ¶
func (x *BalanceRequest) GetAddresses() []string
func (*BalanceRequest) ProtoMessage ¶
func (*BalanceRequest) ProtoMessage()
func (*BalanceRequest) ProtoReflect ¶
func (x *BalanceRequest) ProtoReflect() protoreflect.Message
func (*BalanceRequest) Reset ¶
func (x *BalanceRequest) Reset()
func (*BalanceRequest) String ¶
func (x *BalanceRequest) String() string
type BalanceResponse ¶
type BalanceResponse struct { // The balance (total, confirmed, unconfirmed) per each asset. Balance map[string]*BalanceInfo `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BalanceResponse) Descriptor
deprecated
func (*BalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use BalanceResponse.ProtoReflect.Descriptor instead.
func (*BalanceResponse) GetBalance ¶
func (x *BalanceResponse) GetBalance() map[string]*BalanceInfo
func (*BalanceResponse) ProtoMessage ¶
func (*BalanceResponse) ProtoMessage()
func (*BalanceResponse) ProtoReflect ¶
func (x *BalanceResponse) ProtoReflect() protoreflect.Message
func (*BalanceResponse) Reset ¶
func (x *BalanceResponse) Reset()
func (*BalanceResponse) String ¶
func (x *BalanceResponse) String() string
type BlindPsetRequest ¶
type BlindPsetRequest struct { // The partial transaction with inputs/outputs to blind. Pset string `protobuf:"bytes,1,opt,name=pset,proto3" json:"pset,omitempty"` // Whether blinding as last blinder. LastBlinder bool `protobuf:"varint,2,opt,name=last_blinder,json=lastBlinder,proto3" json:"last_blinder,omitempty"` // Optional list of unblinded data related to existing pset inputs in order // to make the wallet blind also outputs it wouldn't own otherwise. ExtraUnblindedInputs []*UnblindedInput `protobuf:"bytes,3,rep,name=extra_unblinded_inputs,json=extraUnblindedInputs,proto3" json:"extra_unblinded_inputs,omitempty"` // contains filtered or unexported fields }
func (*BlindPsetRequest) Descriptor
deprecated
func (*BlindPsetRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlindPsetRequest.ProtoReflect.Descriptor instead.
func (*BlindPsetRequest) GetExtraUnblindedInputs ¶ added in v0.1.3
func (x *BlindPsetRequest) GetExtraUnblindedInputs() []*UnblindedInput
func (*BlindPsetRequest) GetLastBlinder ¶
func (x *BlindPsetRequest) GetLastBlinder() bool
func (*BlindPsetRequest) GetPset ¶
func (x *BlindPsetRequest) GetPset() string
func (*BlindPsetRequest) ProtoMessage ¶
func (*BlindPsetRequest) ProtoMessage()
func (*BlindPsetRequest) ProtoReflect ¶
func (x *BlindPsetRequest) ProtoReflect() protoreflect.Message
func (*BlindPsetRequest) Reset ¶
func (x *BlindPsetRequest) Reset()
func (*BlindPsetRequest) String ¶
func (x *BlindPsetRequest) String() string
type BlindPsetResponse ¶
type BlindPsetResponse struct { // Updated partial transaction with blinded inputs/outputs in base64 format. Pset string `protobuf:"bytes,1,opt,name=pset,proto3" json:"pset,omitempty"` // contains filtered or unexported fields }
func (*BlindPsetResponse) Descriptor
deprecated
func (*BlindPsetResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlindPsetResponse.ProtoReflect.Descriptor instead.
func (*BlindPsetResponse) GetPset ¶
func (x *BlindPsetResponse) GetPset() string
func (*BlindPsetResponse) ProtoMessage ¶
func (*BlindPsetResponse) ProtoMessage()
func (*BlindPsetResponse) ProtoReflect ¶
func (x *BlindPsetResponse) ProtoReflect() protoreflect.Message
func (*BlindPsetResponse) Reset ¶
func (x *BlindPsetResponse) Reset()
func (*BlindPsetResponse) String ¶
func (x *BlindPsetResponse) String() string
type BlockDetails ¶
type BlockDetails struct { // Hash of the block. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Heighth (index) of the block. Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // Timestamp of the block. Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*BlockDetails) Descriptor
deprecated
func (*BlockDetails) Descriptor() ([]byte, []int)
Deprecated: Use BlockDetails.ProtoReflect.Descriptor instead.
func (*BlockDetails) GetHash ¶
func (x *BlockDetails) GetHash() string
func (*BlockDetails) GetHeight ¶
func (x *BlockDetails) GetHeight() uint64
func (*BlockDetails) GetTimestamp ¶
func (x *BlockDetails) GetTimestamp() int64
func (*BlockDetails) ProtoMessage ¶
func (*BlockDetails) ProtoMessage()
func (*BlockDetails) ProtoReflect ¶
func (x *BlockDetails) ProtoReflect() protoreflect.Message
func (*BlockDetails) Reset ¶
func (x *BlockDetails) Reset()
func (*BlockDetails) String ¶
func (x *BlockDetails) String() string
type BroadcastTransactionRequest ¶
type BroadcastTransactionRequest struct { // Transaction to broadcast. TxHex string `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // contains filtered or unexported fields }
func (*BroadcastTransactionRequest) Descriptor
deprecated
func (*BroadcastTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastTransactionRequest.ProtoReflect.Descriptor instead.
func (*BroadcastTransactionRequest) GetTxHex ¶
func (x *BroadcastTransactionRequest) GetTxHex() string
func (*BroadcastTransactionRequest) ProtoMessage ¶
func (*BroadcastTransactionRequest) ProtoMessage()
func (*BroadcastTransactionRequest) ProtoReflect ¶
func (x *BroadcastTransactionRequest) ProtoReflect() protoreflect.Message
func (*BroadcastTransactionRequest) Reset ¶
func (x *BroadcastTransactionRequest) Reset()
func (*BroadcastTransactionRequest) String ¶
func (x *BroadcastTransactionRequest) String() string
type BroadcastTransactionResponse ¶
type BroadcastTransactionResponse struct { // Hash of the broadcasted transaction. Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // contains filtered or unexported fields }
func (*BroadcastTransactionResponse) Descriptor
deprecated
func (*BroadcastTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastTransactionResponse.ProtoReflect.Descriptor instead.
func (*BroadcastTransactionResponse) GetTxid ¶
func (x *BroadcastTransactionResponse) GetTxid() string
func (*BroadcastTransactionResponse) ProtoMessage ¶
func (*BroadcastTransactionResponse) ProtoMessage()
func (*BroadcastTransactionResponse) ProtoReflect ¶
func (x *BroadcastTransactionResponse) ProtoReflect() protoreflect.Message
func (*BroadcastTransactionResponse) Reset ¶
func (x *BroadcastTransactionResponse) Reset()
func (*BroadcastTransactionResponse) String ¶
func (x *BroadcastTransactionResponse) String() string
type BuildInfo ¶
type BuildInfo struct { // Number of the version. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Hash of the commit. Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // Date of the commit. Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
func (*BuildInfo) Descriptor
deprecated
func (*BuildInfo) GetVersion ¶
func (*BuildInfo) ProtoMessage ¶
func (*BuildInfo) ProtoMessage()
func (*BuildInfo) ProtoReflect ¶
func (x *BuildInfo) ProtoReflect() protoreflect.Message
type BurnRequest ¶
type BurnRequest struct { // Account name. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Receivers contains a list of asset-amount to burn and their addresses are // ignored and replaced with OP_RETURN output scripts. Receivers []*Output `protobuf:"bytes,2,rep,name=receivers,proto3" json:"receivers,omitempty"` // mSats/byte fee ratio. MillisatsPerByte uint64 `protobuf:"varint,3,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"` // contains filtered or unexported fields }
func (*BurnRequest) Descriptor
deprecated
func (*BurnRequest) Descriptor() ([]byte, []int)
Deprecated: Use BurnRequest.ProtoReflect.Descriptor instead.
func (*BurnRequest) GetAccountName ¶
func (x *BurnRequest) GetAccountName() string
func (*BurnRequest) GetMillisatsPerByte ¶
func (x *BurnRequest) GetMillisatsPerByte() uint64
func (*BurnRequest) GetReceivers ¶
func (x *BurnRequest) GetReceivers() []*Output
func (*BurnRequest) ProtoMessage ¶
func (*BurnRequest) ProtoMessage()
func (*BurnRequest) ProtoReflect ¶
func (x *BurnRequest) ProtoReflect() protoreflect.Message
func (*BurnRequest) Reset ¶
func (x *BurnRequest) Reset()
func (*BurnRequest) String ¶
func (x *BurnRequest) String() string
type BurnResponse ¶
type BurnResponse struct { // Signed tx in hex format. TxHex string `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // contains filtered or unexported fields }
func (*BurnResponse) Descriptor
deprecated
func (*BurnResponse) Descriptor() ([]byte, []int)
Deprecated: Use BurnResponse.ProtoReflect.Descriptor instead.
func (*BurnResponse) GetTxHex ¶
func (x *BurnResponse) GetTxHex() string
func (*BurnResponse) ProtoMessage ¶
func (*BurnResponse) ProtoMessage()
func (*BurnResponse) ProtoReflect ¶
func (x *BurnResponse) ProtoReflect() protoreflect.Message
func (*BurnResponse) Reset ¶
func (x *BurnResponse) Reset()
func (*BurnResponse) String ¶
func (x *BurnResponse) String() string
type ChangePasswordRequest ¶
type ChangePasswordRequest struct { // The current password used to encrypt the walley. CurrentPassword string `protobuf:"bytes,1,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"` // The new password replacing the current one. NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordRequest) Descriptor
deprecated
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetCurrentPassword ¶
func (x *ChangePasswordRequest) GetCurrentPassword() string
func (*ChangePasswordRequest) GetNewPassword ¶
func (x *ChangePasswordRequest) GetNewPassword() string
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (x *ChangePasswordRequest) String() string
type ChangePasswordResponse ¶
type ChangePasswordResponse struct {
// contains filtered or unexported fields
}
func (*ChangePasswordResponse) Descriptor
deprecated
func (*ChangePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.
func (*ChangePasswordResponse) ProtoMessage ¶
func (*ChangePasswordResponse) ProtoMessage()
func (*ChangePasswordResponse) ProtoReflect ¶
func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
func (*ChangePasswordResponse) Reset ¶
func (x *ChangePasswordResponse) Reset()
func (*ChangePasswordResponse) String ¶
func (x *ChangePasswordResponse) String() string
type ClaimPegInRequest ¶
type ClaimPegInRequest struct { // The raw bitcoin transaction (in hex) depositing bitcoin to the main-chain address generated by PegInAddress. BitcoinTx string `protobuf:"bytes,1,opt,name=bitcoin_tx,json=bitcoinTx,proto3" json:"bitcoin_tx,omitempty"` // A raw tx_out_proof (in hex) generated by the main-chain daemon's `gettxoutproof` containing a proof of only bitcoin_tx. TxOutProof string `protobuf:"bytes,2,opt,name=tx_out_proof,json=txOutProof,proto3" json:"tx_out_proof,omitempty"` // The witness program generated by PegInAddress. ClaimScript string `protobuf:"bytes,3,opt,name=claim_script,json=claimScript,proto3" json:"claim_script,omitempty"` // contains filtered or unexported fields }
func (*ClaimPegInRequest) Descriptor
deprecated
func (*ClaimPegInRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClaimPegInRequest.ProtoReflect.Descriptor instead.
func (*ClaimPegInRequest) GetBitcoinTx ¶
func (x *ClaimPegInRequest) GetBitcoinTx() string
func (*ClaimPegInRequest) GetClaimScript ¶
func (x *ClaimPegInRequest) GetClaimScript() string
func (*ClaimPegInRequest) GetTxOutProof ¶
func (x *ClaimPegInRequest) GetTxOutProof() string
func (*ClaimPegInRequest) ProtoMessage ¶
func (*ClaimPegInRequest) ProtoMessage()
func (*ClaimPegInRequest) ProtoReflect ¶
func (x *ClaimPegInRequest) ProtoReflect() protoreflect.Message
func (*ClaimPegInRequest) Reset ¶
func (x *ClaimPegInRequest) Reset()
func (*ClaimPegInRequest) String ¶
func (x *ClaimPegInRequest) String() string
type ClaimPegInResponse ¶
type ClaimPegInResponse struct { // Signed tx in hex format. TxHex string `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // contains filtered or unexported fields }
func (*ClaimPegInResponse) Descriptor
deprecated
func (*ClaimPegInResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClaimPegInResponse.ProtoReflect.Descriptor instead.
func (*ClaimPegInResponse) GetTxHex ¶
func (x *ClaimPegInResponse) GetTxHex() string
func (*ClaimPegInResponse) ProtoMessage ¶
func (*ClaimPegInResponse) ProtoMessage()
func (*ClaimPegInResponse) ProtoReflect ¶
func (x *ClaimPegInResponse) ProtoReflect() protoreflect.Message
func (*ClaimPegInResponse) Reset ¶
func (x *ClaimPegInResponse) Reset()
func (*ClaimPegInResponse) String ¶
func (x *ClaimPegInResponse) String() string
type CreateAccountBIP44Request ¶
type CreateAccountBIP44Request struct { // Optional label for the new account. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Optional flag for full unconfidential account. Unconfidential bool `protobuf:"varint,2,opt,name=unconfidential,proto3" json:"unconfidential,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountBIP44Request) Descriptor
deprecated
func (*CreateAccountBIP44Request) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountBIP44Request.ProtoReflect.Descriptor instead.
func (*CreateAccountBIP44Request) GetLabel ¶ added in v0.1.16
func (x *CreateAccountBIP44Request) GetLabel() string
func (*CreateAccountBIP44Request) GetUnconfidential ¶ added in v0.1.18
func (x *CreateAccountBIP44Request) GetUnconfidential() bool
func (*CreateAccountBIP44Request) ProtoMessage ¶
func (*CreateAccountBIP44Request) ProtoMessage()
func (*CreateAccountBIP44Request) ProtoReflect ¶
func (x *CreateAccountBIP44Request) ProtoReflect() protoreflect.Message
func (*CreateAccountBIP44Request) Reset ¶
func (x *CreateAccountBIP44Request) Reset()
func (*CreateAccountBIP44Request) String ¶
func (x *CreateAccountBIP44Request) String() string
type CreateAccountBIP44Response ¶
type CreateAccountBIP44Response struct { // Info about the new account. Info *AccountInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountBIP44Response) Descriptor
deprecated
func (*CreateAccountBIP44Response) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountBIP44Response.ProtoReflect.Descriptor instead.
func (*CreateAccountBIP44Response) GetInfo ¶ added in v0.1.16
func (x *CreateAccountBIP44Response) GetInfo() *AccountInfo
func (*CreateAccountBIP44Response) ProtoMessage ¶
func (*CreateAccountBIP44Response) ProtoMessage()
func (*CreateAccountBIP44Response) ProtoReflect ¶
func (x *CreateAccountBIP44Response) ProtoReflect() protoreflect.Message
func (*CreateAccountBIP44Response) Reset ¶
func (x *CreateAccountBIP44Response) Reset()
func (*CreateAccountBIP44Response) String ¶
func (x *CreateAccountBIP44Response) String() string
type CreateAccountCustomRequest ¶
type CreateAccountCustomRequest struct { // Optional label for the new account. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Optional flag for full unconfidential account. Unconf bool `protobuf:"varint,2,opt,name=unconf,proto3" json:"unconf,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountCustomRequest) Descriptor
deprecated
func (*CreateAccountCustomRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountCustomRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountCustomRequest) GetLabel ¶ added in v0.1.16
func (x *CreateAccountCustomRequest) GetLabel() string
func (*CreateAccountCustomRequest) GetUnconf ¶ added in v0.1.18
func (x *CreateAccountCustomRequest) GetUnconf() bool
func (*CreateAccountCustomRequest) ProtoMessage ¶
func (*CreateAccountCustomRequest) ProtoMessage()
func (*CreateAccountCustomRequest) ProtoReflect ¶
func (x *CreateAccountCustomRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountCustomRequest) Reset ¶
func (x *CreateAccountCustomRequest) Reset()
func (*CreateAccountCustomRequest) String ¶
func (x *CreateAccountCustomRequest) String() string
type CreateAccountCustomResponse ¶
type CreateAccountCustomResponse struct { // Info about the new account. Info *AccountInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountCustomResponse) Descriptor
deprecated
func (*CreateAccountCustomResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountCustomResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountCustomResponse) GetInfo ¶ added in v0.1.16
func (x *CreateAccountCustomResponse) GetInfo() *AccountInfo
func (*CreateAccountCustomResponse) ProtoMessage ¶
func (*CreateAccountCustomResponse) ProtoMessage()
func (*CreateAccountCustomResponse) ProtoReflect ¶
func (x *CreateAccountCustomResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountCustomResponse) Reset ¶
func (x *CreateAccountCustomResponse) Reset()
func (*CreateAccountCustomResponse) String ¶
func (x *CreateAccountCustomResponse) String() string
type CreateAccountMultiSigRequest ¶ added in v0.1.7
type CreateAccountMultiSigRequest struct { // Optional label for the new account. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Optional flag for full unconfidential account. Unconf bool `protobuf:"varint,2,opt,name=unconf,proto3" json:"unconf,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountMultiSigRequest) Descriptor
deprecated
added in
v0.1.7
func (*CreateAccountMultiSigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountMultiSigRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountMultiSigRequest) GetLabel ¶ added in v0.1.16
func (x *CreateAccountMultiSigRequest) GetLabel() string
func (*CreateAccountMultiSigRequest) GetUnconf ¶ added in v0.1.18
func (x *CreateAccountMultiSigRequest) GetUnconf() bool
func (*CreateAccountMultiSigRequest) ProtoMessage ¶ added in v0.1.7
func (*CreateAccountMultiSigRequest) ProtoMessage()
func (*CreateAccountMultiSigRequest) ProtoReflect ¶ added in v0.1.7
func (x *CreateAccountMultiSigRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountMultiSigRequest) Reset ¶ added in v0.1.7
func (x *CreateAccountMultiSigRequest) Reset()
func (*CreateAccountMultiSigRequest) String ¶ added in v0.1.7
func (x *CreateAccountMultiSigRequest) String() string
type CreateAccountMultiSigResponse ¶ added in v0.1.7
type CreateAccountMultiSigResponse struct { // Info about the new account. Info *AccountInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountMultiSigResponse) Descriptor
deprecated
added in
v0.1.7
func (*CreateAccountMultiSigResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountMultiSigResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountMultiSigResponse) GetInfo ¶ added in v0.1.16
func (x *CreateAccountMultiSigResponse) GetInfo() *AccountInfo
func (*CreateAccountMultiSigResponse) ProtoMessage ¶ added in v0.1.7
func (*CreateAccountMultiSigResponse) ProtoMessage()
func (*CreateAccountMultiSigResponse) ProtoReflect ¶ added in v0.1.7
func (x *CreateAccountMultiSigResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountMultiSigResponse) Reset ¶ added in v0.1.7
func (x *CreateAccountMultiSigResponse) Reset()
func (*CreateAccountMultiSigResponse) String ¶ added in v0.1.7
func (x *CreateAccountMultiSigResponse) String() string
type CreatePsetRequest ¶
type CreatePsetRequest struct { // Inputs of the partial transaction. Inputs []*Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` // Outputs of the partial transaction Outputs []*Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
func (*CreatePsetRequest) Descriptor
deprecated
func (*CreatePsetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePsetRequest.ProtoReflect.Descriptor instead.
func (*CreatePsetRequest) GetInputs ¶
func (x *CreatePsetRequest) GetInputs() []*Input
func (*CreatePsetRequest) GetOutputs ¶
func (x *CreatePsetRequest) GetOutputs() []*Output
func (*CreatePsetRequest) ProtoMessage ¶
func (*CreatePsetRequest) ProtoMessage()
func (*CreatePsetRequest) ProtoReflect ¶
func (x *CreatePsetRequest) ProtoReflect() protoreflect.Message
func (*CreatePsetRequest) Reset ¶
func (x *CreatePsetRequest) Reset()
func (*CreatePsetRequest) String ¶
func (x *CreatePsetRequest) String() string
type CreatePsetResponse ¶
type CreatePsetResponse struct { // New partial transaction in base64 format. Pset string `protobuf:"bytes,1,opt,name=pset,proto3" json:"pset,omitempty"` // contains filtered or unexported fields }
func (*CreatePsetResponse) Descriptor
deprecated
func (*CreatePsetResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePsetResponse.ProtoReflect.Descriptor instead.
func (*CreatePsetResponse) GetPset ¶
func (x *CreatePsetResponse) GetPset() string
func (*CreatePsetResponse) ProtoMessage ¶
func (*CreatePsetResponse) ProtoMessage()
func (*CreatePsetResponse) ProtoReflect ¶
func (x *CreatePsetResponse) ProtoReflect() protoreflect.Message
func (*CreatePsetResponse) Reset ¶
func (x *CreatePsetResponse) Reset()
func (*CreatePsetResponse) String ¶
func (x *CreatePsetResponse) String() string
type CreateWalletRequest ¶
type CreateWalletRequest struct { // The mnemonic from where deriving signing and blinding key pairs. Mnemonic string `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` // The password to decrypt HD wallet. After creation, the wallet is locked // and the same password is required to unlock it. Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateWalletRequest) Descriptor
deprecated
func (*CreateWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWalletRequest.ProtoReflect.Descriptor instead.
func (*CreateWalletRequest) GetMnemonic ¶
func (x *CreateWalletRequest) GetMnemonic() string
func (*CreateWalletRequest) GetPassword ¶
func (x *CreateWalletRequest) GetPassword() string
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 {
// contains filtered or unexported fields
}
func (*CreateWalletResponse) Descriptor
deprecated
func (*CreateWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWalletResponse.ProtoReflect.Descriptor instead.
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 DeleteAccountRequest ¶
type DeleteAccountRequest struct { // Account namespace or label. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccountRequest) Descriptor
deprecated
func (*DeleteAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccountRequest) GetAccountName ¶
func (x *DeleteAccountRequest) GetAccountName() string
func (*DeleteAccountRequest) ProtoMessage ¶
func (*DeleteAccountRequest) ProtoMessage()
func (*DeleteAccountRequest) ProtoReflect ¶
func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccountRequest) Reset ¶
func (x *DeleteAccountRequest) Reset()
func (*DeleteAccountRequest) String ¶
func (x *DeleteAccountRequest) String() string
type DeleteAccountResponse ¶
type DeleteAccountResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAccountResponse) Descriptor
deprecated
func (*DeleteAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.
func (*DeleteAccountResponse) ProtoMessage ¶
func (*DeleteAccountResponse) ProtoMessage()
func (*DeleteAccountResponse) ProtoReflect ¶
func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message
func (*DeleteAccountResponse) Reset ¶
func (x *DeleteAccountResponse) Reset()
func (*DeleteAccountResponse) String ¶
func (x *DeleteAccountResponse) String() string
type DeriveAddressesRequest ¶ added in v0.1.3
type DeriveAddressesRequest struct { // Account namespace or label. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // The number of addresses to generate. NumOfAddresses uint64 `protobuf:"varint,2,opt,name=num_of_addresses,json=numOfAddresses,proto3" json:"num_of_addresses,omitempty"` // contains filtered or unexported fields }
func (*DeriveAddressesRequest) Descriptor
deprecated
added in
v0.1.3
func (*DeriveAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeriveAddressesRequest.ProtoReflect.Descriptor instead.
func (*DeriveAddressesRequest) GetAccountName ¶ added in v0.1.3
func (x *DeriveAddressesRequest) GetAccountName() string
func (*DeriveAddressesRequest) GetNumOfAddresses ¶ added in v0.1.3
func (x *DeriveAddressesRequest) GetNumOfAddresses() uint64
func (*DeriveAddressesRequest) ProtoMessage ¶ added in v0.1.3
func (*DeriveAddressesRequest) ProtoMessage()
func (*DeriveAddressesRequest) ProtoReflect ¶ added in v0.1.3
func (x *DeriveAddressesRequest) ProtoReflect() protoreflect.Message
func (*DeriveAddressesRequest) Reset ¶ added in v0.1.3
func (x *DeriveAddressesRequest) Reset()
func (*DeriveAddressesRequest) String ¶ added in v0.1.3
func (x *DeriveAddressesRequest) String() string
type DeriveAddressesResponse ¶ added in v0.1.3
type DeriveAddressesResponse struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*DeriveAddressesResponse) Descriptor
deprecated
added in
v0.1.3
func (*DeriveAddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeriveAddressesResponse.ProtoReflect.Descriptor instead.
func (*DeriveAddressesResponse) GetAddresses ¶ added in v0.1.3
func (x *DeriveAddressesResponse) GetAddresses() []string
func (*DeriveAddressesResponse) ProtoMessage ¶ added in v0.1.3
func (*DeriveAddressesResponse) ProtoMessage()
func (*DeriveAddressesResponse) ProtoReflect ¶ added in v0.1.3
func (x *DeriveAddressesResponse) ProtoReflect() protoreflect.Message
func (*DeriveAddressesResponse) Reset ¶ added in v0.1.3
func (x *DeriveAddressesResponse) Reset()
func (*DeriveAddressesResponse) String ¶ added in v0.1.3
func (x *DeriveAddressesResponse) String() string
type DeriveChangeAddressesRequest ¶ added in v0.1.3
type DeriveChangeAddressesRequest struct { // Account namespace or label. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // The number of addresses to generate. NumOfAddresses uint64 `protobuf:"varint,2,opt,name=num_of_addresses,json=numOfAddresses,proto3" json:"num_of_addresses,omitempty"` // contains filtered or unexported fields }
func (*DeriveChangeAddressesRequest) Descriptor
deprecated
added in
v0.1.3
func (*DeriveChangeAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeriveChangeAddressesRequest.ProtoReflect.Descriptor instead.
func (*DeriveChangeAddressesRequest) GetAccountName ¶ added in v0.1.3
func (x *DeriveChangeAddressesRequest) GetAccountName() string
func (*DeriveChangeAddressesRequest) GetNumOfAddresses ¶ added in v0.1.3
func (x *DeriveChangeAddressesRequest) GetNumOfAddresses() uint64
func (*DeriveChangeAddressesRequest) ProtoMessage ¶ added in v0.1.3
func (*DeriveChangeAddressesRequest) ProtoMessage()
func (*DeriveChangeAddressesRequest) ProtoReflect ¶ added in v0.1.3
func (x *DeriveChangeAddressesRequest) ProtoReflect() protoreflect.Message
func (*DeriveChangeAddressesRequest) Reset ¶ added in v0.1.3
func (x *DeriveChangeAddressesRequest) Reset()
func (*DeriveChangeAddressesRequest) String ¶ added in v0.1.3
func (x *DeriveChangeAddressesRequest) String() string
type DeriveChangeAddressesResponse ¶ added in v0.1.3
type DeriveChangeAddressesResponse struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*DeriveChangeAddressesResponse) Descriptor
deprecated
added in
v0.1.3
func (*DeriveChangeAddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeriveChangeAddressesResponse.ProtoReflect.Descriptor instead.
func (*DeriveChangeAddressesResponse) GetAddresses ¶ added in v0.1.3
func (x *DeriveChangeAddressesResponse) GetAddresses() []string
func (*DeriveChangeAddressesResponse) ProtoMessage ¶ added in v0.1.3
func (*DeriveChangeAddressesResponse) ProtoMessage()
func (*DeriveChangeAddressesResponse) ProtoReflect ¶ added in v0.1.3
func (x *DeriveChangeAddressesResponse) ProtoReflect() protoreflect.Message
func (*DeriveChangeAddressesResponse) Reset ¶ added in v0.1.3
func (x *DeriveChangeAddressesResponse) Reset()
func (*DeriveChangeAddressesResponse) String ¶ added in v0.1.3
func (x *DeriveChangeAddressesResponse) String() string
type EstimateFeesRequest ¶
type EstimateFeesRequest struct { Inputs []*Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` MillisatsPerByte uint64 `protobuf:"varint,3,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"` // contains filtered or unexported fields }
func (*EstimateFeesRequest) Descriptor
deprecated
func (*EstimateFeesRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimateFeesRequest.ProtoReflect.Descriptor instead.
func (*EstimateFeesRequest) GetInputs ¶
func (x *EstimateFeesRequest) GetInputs() []*Input
func (*EstimateFeesRequest) GetMillisatsPerByte ¶
func (x *EstimateFeesRequest) GetMillisatsPerByte() uint64
func (*EstimateFeesRequest) GetOutputs ¶
func (x *EstimateFeesRequest) GetOutputs() []*Output
func (*EstimateFeesRequest) ProtoMessage ¶
func (*EstimateFeesRequest) ProtoMessage()
func (*EstimateFeesRequest) ProtoReflect ¶
func (x *EstimateFeesRequest) ProtoReflect() protoreflect.Message
func (*EstimateFeesRequest) Reset ¶
func (x *EstimateFeesRequest) Reset()
func (*EstimateFeesRequest) String ¶
func (x *EstimateFeesRequest) String() string
type EstimateFeesResponse ¶
type EstimateFeesResponse struct { FeeAmount uint64 `protobuf:"varint,1,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"` // contains filtered or unexported fields }
func (*EstimateFeesResponse) Descriptor
deprecated
func (*EstimateFeesResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimateFeesResponse.ProtoReflect.Descriptor instead.
func (*EstimateFeesResponse) GetFeeAmount ¶
func (x *EstimateFeesResponse) GetFeeAmount() uint64
func (*EstimateFeesResponse) ProtoMessage ¶
func (*EstimateFeesResponse) ProtoMessage()
func (*EstimateFeesResponse) ProtoReflect ¶
func (x *EstimateFeesResponse) ProtoReflect() protoreflect.Message
func (*EstimateFeesResponse) Reset ¶
func (x *EstimateFeesResponse) Reset()
func (*EstimateFeesResponse) String ¶
func (x *EstimateFeesResponse) String() string
type GenSeedRequest ¶
type GenSeedRequest struct {
// contains filtered or unexported fields
}
func (*GenSeedRequest) Descriptor
deprecated
func (*GenSeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenSeedRequest.ProtoReflect.Descriptor instead.
func (*GenSeedRequest) ProtoMessage ¶
func (*GenSeedRequest) ProtoMessage()
func (*GenSeedRequest) ProtoReflect ¶
func (x *GenSeedRequest) ProtoReflect() protoreflect.Message
func (*GenSeedRequest) Reset ¶
func (x *GenSeedRequest) Reset()
func (*GenSeedRequest) String ¶
func (x *GenSeedRequest) String() string
type GenSeedResponse ¶
type GenSeedResponse struct { // A mnemonic from where deriving signing and blinding key pairs. Mnemonic string `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` // contains filtered or unexported fields }
func (*GenSeedResponse) Descriptor
deprecated
func (*GenSeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenSeedResponse.ProtoReflect.Descriptor instead.
func (*GenSeedResponse) GetMnemonic ¶
func (x *GenSeedResponse) GetMnemonic() string
func (*GenSeedResponse) ProtoMessage ¶
func (*GenSeedResponse) ProtoMessage()
func (*GenSeedResponse) ProtoReflect ¶
func (x *GenSeedResponse) ProtoReflect() protoreflect.Message
func (*GenSeedResponse) Reset ¶
func (x *GenSeedResponse) Reset()
func (*GenSeedResponse) String ¶
func (x *GenSeedResponse) String() string
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 { // The Liquid network of the wallet Network GetInfoResponse_Network `protobuf:"varint,1,opt,name=network,proto3,enum=ocean.v1.GetInfoResponse_Network" json:"network,omitempty"` // The Liquid Bitcoin (LBTC) asset hash of the network. NativeAsset string `protobuf:"bytes,2,opt,name=native_asset,json=nativeAsset,proto3" json:"native_asset,omitempty"` // The root derivation path of the HD wallet. RootPath string `protobuf:"bytes,3,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"` // The hash of the block at wallet creation time. BirthdayBlockHash string `protobuf:"bytes,4,opt,name=birthday_block_hash,json=birthdayBlockHash,proto3" json:"birthday_block_hash,omitempty"` // The height of the block at wallet creation time. BirthdayBlockHeight uint32 `protobuf:"varint,5,opt,name=birthday_block_height,json=birthdayBlockHeight,proto3" json:"birthday_block_height,omitempty"` // List containing info about the wallet accounts. Accounts []*AccountInfo `protobuf:"bytes,6,rep,name=accounts,proto3" json:"accounts,omitempty"` // Info about the current version of the ocean wallet. BuildInfo *BuildInfo `protobuf:"bytes,7,opt,name=build_info,json=buildInfo,proto3" json:"build_info,omitempty"` // contains filtered or unexported fields }
func (*GetInfoResponse) Descriptor
deprecated
func (*GetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetInfoResponse) GetAccounts ¶
func (x *GetInfoResponse) GetAccounts() []*AccountInfo
func (*GetInfoResponse) GetBirthdayBlockHash ¶
func (x *GetInfoResponse) GetBirthdayBlockHash() string
func (*GetInfoResponse) GetBirthdayBlockHeight ¶
func (x *GetInfoResponse) GetBirthdayBlockHeight() uint32
func (*GetInfoResponse) GetBuildInfo ¶
func (x *GetInfoResponse) GetBuildInfo() *BuildInfo
func (*GetInfoResponse) GetNativeAsset ¶
func (x *GetInfoResponse) GetNativeAsset() string
func (*GetInfoResponse) GetNetwork ¶
func (x *GetInfoResponse) GetNetwork() GetInfoResponse_Network
func (*GetInfoResponse) GetRootPath ¶
func (x *GetInfoResponse) GetRootPath() 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 GetInfoResponse_Network ¶
type GetInfoResponse_Network int32
const ( GetInfoResponse_NETWORK_UNSPECIFIED GetInfoResponse_Network = 0 GetInfoResponse_NETWORK_MAINNET GetInfoResponse_Network = 1 GetInfoResponse_NETWORK_TESTNET GetInfoResponse_Network = 2 GetInfoResponse_NETWORK_REGTEST GetInfoResponse_Network = 3 )
func (GetInfoResponse_Network) Descriptor ¶
func (GetInfoResponse_Network) Descriptor() protoreflect.EnumDescriptor
func (GetInfoResponse_Network) Enum ¶
func (x GetInfoResponse_Network) Enum() *GetInfoResponse_Network
func (GetInfoResponse_Network) EnumDescriptor
deprecated
func (GetInfoResponse_Network) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse_Network.Descriptor instead.
func (GetInfoResponse_Network) Number ¶
func (x GetInfoResponse_Network) Number() protoreflect.EnumNumber
func (GetInfoResponse_Network) String ¶
func (x GetInfoResponse_Network) String() string
func (GetInfoResponse_Network) Type ¶
func (GetInfoResponse_Network) Type() protoreflect.EnumType
type GetTransactionRequest ¶
type GetTransactionRequest struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionRequest) Descriptor
deprecated
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionRequest) GetTxid ¶
func (x *GetTransactionRequest) GetTxid() string
func (*GetTransactionRequest) ProtoMessage ¶
func (*GetTransactionRequest) ProtoMessage()
func (*GetTransactionRequest) ProtoReflect ¶
func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionRequest) Reset ¶
func (x *GetTransactionRequest) Reset()
func (*GetTransactionRequest) String ¶
func (x *GetTransactionRequest) String() string
type GetTransactionResponse ¶
type GetTransactionResponse struct { // Raw transaction in hex format. TxHex string `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // Deatils of the block including the transaction. BlockDetails *BlockDetails `protobuf:"bytes,2,opt,name=block_details,json=blockDetails,proto3" json:"block_details,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionResponse) Descriptor
deprecated
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionResponse) GetBlockDetails ¶
func (x *GetTransactionResponse) GetBlockDetails() *BlockDetails
func (*GetTransactionResponse) GetTxHex ¶
func (x *GetTransactionResponse) GetTxHex() string
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) ProtoReflect ¶
func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionResponse) Reset ¶
func (x *GetTransactionResponse) Reset()
func (*GetTransactionResponse) String ¶
func (x *GetTransactionResponse) String() string
type Input ¶
type Input struct { // Previous output txid. Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // Previous tx output index. Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // Prevout script. Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` // Input scriptsig size. ScriptsigSize uint64 `protobuf:"varint,4,opt,name=scriptsig_size,json=scriptsigSize,proto3" json:"scriptsig_size,omitempty"` // Input witness size. WitnessSize uint64 `protobuf:"varint,5,opt,name=witness_size,json=witnessSize,proto3" json:"witness_size,omitempty"` // contains filtered or unexported fields }
func (*Input) Descriptor
deprecated
func (*Input) GetScriptsigSize ¶ added in v0.1.3
func (*Input) GetWitnessSize ¶ added in v0.1.3
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) ProtoReflect ¶
func (x *Input) ProtoReflect() protoreflect.Message
type ListAddressesRequest ¶
type ListAddressesRequest struct { // Account namespace or label. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // contains filtered or unexported fields }
func (*ListAddressesRequest) Descriptor
deprecated
func (*ListAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAddressesRequest.ProtoReflect.Descriptor instead.
func (*ListAddressesRequest) GetAccountName ¶
func (x *ListAddressesRequest) GetAccountName() string
func (*ListAddressesRequest) ProtoMessage ¶
func (*ListAddressesRequest) ProtoMessage()
func (*ListAddressesRequest) ProtoReflect ¶
func (x *ListAddressesRequest) ProtoReflect() protoreflect.Message
func (*ListAddressesRequest) Reset ¶
func (x *ListAddressesRequest) Reset()
func (*ListAddressesRequest) String ¶
func (x *ListAddressesRequest) String() string
type ListAddressesResponse ¶
type ListAddressesResponse struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*ListAddressesResponse) Descriptor
deprecated
func (*ListAddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAddressesResponse.ProtoReflect.Descriptor instead.
func (*ListAddressesResponse) GetAddresses ¶
func (x *ListAddressesResponse) GetAddresses() []string
func (*ListAddressesResponse) ProtoMessage ¶
func (*ListAddressesResponse) ProtoMessage()
func (*ListAddressesResponse) ProtoReflect ¶
func (x *ListAddressesResponse) ProtoReflect() protoreflect.Message
func (*ListAddressesResponse) Reset ¶
func (x *ListAddressesResponse) Reset()
func (*ListAddressesResponse) String ¶
func (x *ListAddressesResponse) String() string
type ListUtxosRequest ¶
type ListUtxosRequest struct { // Account namespace or label. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // List of account's addresses for which listing utxos. If not specified, // the list of all utxos owned by the account is returned. Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*ListUtxosRequest) Descriptor
deprecated
func (*ListUtxosRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUtxosRequest.ProtoReflect.Descriptor instead.
func (*ListUtxosRequest) GetAccountName ¶
func (x *ListUtxosRequest) GetAccountName() string
func (*ListUtxosRequest) GetAddresses ¶
func (x *ListUtxosRequest) GetAddresses() []string
func (*ListUtxosRequest) ProtoMessage ¶
func (*ListUtxosRequest) ProtoMessage()
func (*ListUtxosRequest) ProtoReflect ¶
func (x *ListUtxosRequest) ProtoReflect() protoreflect.Message
func (*ListUtxosRequest) Reset ¶
func (x *ListUtxosRequest) Reset()
func (*ListUtxosRequest) String ¶
func (x *ListUtxosRequest) String() string
type ListUtxosResponse ¶
type ListUtxosResponse struct { // List of spendable utxos. SpendableUtxos *Utxos `protobuf:"bytes,1,opt,name=spendable_utxos,json=spendableUtxos,proto3" json:"spendable_utxos,omitempty"` // List of currently locked utxos. LockedUtxos *Utxos `protobuf:"bytes,2,opt,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty"` // contains filtered or unexported fields }
func (*ListUtxosResponse) Descriptor
deprecated
func (*ListUtxosResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUtxosResponse.ProtoReflect.Descriptor instead.
func (*ListUtxosResponse) GetLockedUtxos ¶
func (x *ListUtxosResponse) GetLockedUtxos() *Utxos
func (*ListUtxosResponse) GetSpendableUtxos ¶
func (x *ListUtxosResponse) GetSpendableUtxos() *Utxos
func (*ListUtxosResponse) ProtoMessage ¶
func (*ListUtxosResponse) ProtoMessage()
func (*ListUtxosResponse) ProtoReflect ¶
func (x *ListUtxosResponse) ProtoReflect() protoreflect.Message
func (*ListUtxosResponse) Reset ¶
func (x *ListUtxosResponse) Reset()
func (*ListUtxosResponse) String ¶
func (x *ListUtxosResponse) String() string
type ListWebhooksRequest ¶
type ListWebhooksRequest struct { // The event type for which filtering the list of webhooks. EventType WebhookEventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=ocean.v1.WebhookEventType" json:"event_type,omitempty"` // contains filtered or unexported fields }
func (*ListWebhooksRequest) Descriptor
deprecated
func (*ListWebhooksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead.
func (*ListWebhooksRequest) GetEventType ¶
func (x *ListWebhooksRequest) GetEventType() WebhookEventType
func (*ListWebhooksRequest) ProtoMessage ¶
func (*ListWebhooksRequest) ProtoMessage()
func (*ListWebhooksRequest) ProtoReflect ¶
func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message
func (*ListWebhooksRequest) Reset ¶
func (x *ListWebhooksRequest) Reset()
func (*ListWebhooksRequest) String ¶
func (x *ListWebhooksRequest) String() string
type ListWebhooksResponse ¶
type ListWebhooksResponse struct { // The list of info about the webhooks regitered for an action. WebhookInfo []*WebhookInfo `protobuf:"bytes,1,rep,name=webhook_info,json=webhookInfo,proto3" json:"webhook_info,omitempty"` // contains filtered or unexported fields }
func (*ListWebhooksResponse) Descriptor
deprecated
func (*ListWebhooksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead.
func (*ListWebhooksResponse) GetWebhookInfo ¶
func (x *ListWebhooksResponse) GetWebhookInfo() []*WebhookInfo
func (*ListWebhooksResponse) ProtoMessage ¶
func (*ListWebhooksResponse) ProtoMessage()
func (*ListWebhooksResponse) ProtoReflect ¶
func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message
func (*ListWebhooksResponse) Reset ¶
func (x *ListWebhooksResponse) Reset()
func (*ListWebhooksResponse) String ¶
func (x *ListWebhooksResponse) String() string
type LockRequest ¶
type LockRequest struct { // The password to lock the wallet. Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LockRequest) Descriptor
deprecated
func (*LockRequest) Descriptor() ([]byte, []int)
Deprecated: Use LockRequest.ProtoReflect.Descriptor instead.
func (*LockRequest) GetPassword ¶ added in v0.1.3
func (x *LockRequest) GetPassword() string
func (*LockRequest) ProtoMessage ¶
func (*LockRequest) ProtoMessage()
func (*LockRequest) ProtoReflect ¶
func (x *LockRequest) ProtoReflect() protoreflect.Message
func (*LockRequest) Reset ¶
func (x *LockRequest) Reset()
func (*LockRequest) String ¶
func (x *LockRequest) String() string
type LockResponse ¶
type LockResponse struct {
// contains filtered or unexported fields
}
func (*LockResponse) Descriptor
deprecated
func (*LockResponse) Descriptor() ([]byte, []int)
Deprecated: Use LockResponse.ProtoReflect.Descriptor instead.
func (*LockResponse) ProtoMessage ¶
func (*LockResponse) ProtoMessage()
func (*LockResponse) ProtoReflect ¶
func (x *LockResponse) ProtoReflect() protoreflect.Message
func (*LockResponse) Reset ¶
func (x *LockResponse) Reset()
func (*LockResponse) String ¶
func (x *LockResponse) String() string
type LockUtxosRequest ¶ added in v0.2.8
type LockUtxosRequest struct { AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` Utxos []*Input `protobuf:"bytes,2,rep,name=utxos,proto3" json:"utxos,omitempty"` // contains filtered or unexported fields }
func (*LockUtxosRequest) Descriptor
deprecated
added in
v0.2.8
func (*LockUtxosRequest) Descriptor() ([]byte, []int)
Deprecated: Use LockUtxosRequest.ProtoReflect.Descriptor instead.
func (*LockUtxosRequest) GetAccountName ¶ added in v0.2.8
func (x *LockUtxosRequest) GetAccountName() string
func (*LockUtxosRequest) GetUtxos ¶ added in v0.2.8
func (x *LockUtxosRequest) GetUtxos() []*Input
func (*LockUtxosRequest) ProtoMessage ¶ added in v0.2.8
func (*LockUtxosRequest) ProtoMessage()
func (*LockUtxosRequest) ProtoReflect ¶ added in v0.2.8
func (x *LockUtxosRequest) ProtoReflect() protoreflect.Message
func (*LockUtxosRequest) Reset ¶ added in v0.2.8
func (x *LockUtxosRequest) Reset()
func (*LockUtxosRequest) String ¶ added in v0.2.8
func (x *LockUtxosRequest) String() string
type LockUtxosResponse ¶ added in v0.2.8
type LockUtxosResponse struct { ExpirationDate int64 `protobuf:"varint,1,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` // contains filtered or unexported fields }
func (*LockUtxosResponse) Descriptor
deprecated
added in
v0.2.8
func (*LockUtxosResponse) Descriptor() ([]byte, []int)
Deprecated: Use LockUtxosResponse.ProtoReflect.Descriptor instead.
func (*LockUtxosResponse) GetExpirationDate ¶ added in v0.2.8
func (x *LockUtxosResponse) GetExpirationDate() int64
func (*LockUtxosResponse) ProtoMessage ¶ added in v0.2.8
func (*LockUtxosResponse) ProtoMessage()
func (*LockUtxosResponse) ProtoReflect ¶ added in v0.2.8
func (x *LockUtxosResponse) ProtoReflect() protoreflect.Message
func (*LockUtxosResponse) Reset ¶ added in v0.2.8
func (x *LockUtxosResponse) Reset()
func (*LockUtxosResponse) String ¶ added in v0.2.8
func (x *LockUtxosResponse) String() string
type MintRequest ¶
type MintRequest struct { // Account name. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Asset amount to mint. AssetAmount uint64 `protobuf:"varint,2,opt,name=asset_amount,json=assetAmount,proto3" json:"asset_amount,omitempty"` // Token amount to mint. TokenAmount uint64 `protobuf:"varint,3,opt,name=token_amount,json=tokenAmount,proto3" json:"token_amount,omitempty"` // Name of the asset. AssetName string `protobuf:"bytes,4,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // Ticker of the asset. AssetTicker string `protobuf:"bytes,5,opt,name=asset_ticker,json=assetTicker,proto3" json:"asset_ticker,omitempty"` // Domain of the asset. AssetDomain string `protobuf:"bytes,6,opt,name=asset_domain,json=assetDomain,proto3" json:"asset_domain,omitempty"` // mSats/byte fee ratio. MillisatsPerByte uint64 `protobuf:"varint,7,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"` // contains filtered or unexported fields }
func (*MintRequest) Descriptor
deprecated
func (*MintRequest) Descriptor() ([]byte, []int)
Deprecated: Use MintRequest.ProtoReflect.Descriptor instead.
func (*MintRequest) GetAccountName ¶
func (x *MintRequest) GetAccountName() string
func (*MintRequest) GetAssetAmount ¶
func (x *MintRequest) GetAssetAmount() uint64
func (*MintRequest) GetAssetDomain ¶
func (x *MintRequest) GetAssetDomain() string
func (*MintRequest) GetAssetName ¶
func (x *MintRequest) GetAssetName() string
func (*MintRequest) GetAssetTicker ¶
func (x *MintRequest) GetAssetTicker() string
func (*MintRequest) GetMillisatsPerByte ¶
func (x *MintRequest) GetMillisatsPerByte() uint64
func (*MintRequest) GetTokenAmount ¶
func (x *MintRequest) GetTokenAmount() uint64
func (*MintRequest) ProtoMessage ¶
func (*MintRequest) ProtoMessage()
func (*MintRequest) ProtoReflect ¶
func (x *MintRequest) ProtoReflect() protoreflect.Message
func (*MintRequest) Reset ¶
func (x *MintRequest) Reset()
func (*MintRequest) String ¶
func (x *MintRequest) String() string
type MintResponse ¶
type MintResponse struct { // Signed tx in hex format. TxHex string `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // contains filtered or unexported fields }
func (*MintResponse) Descriptor
deprecated
func (*MintResponse) Descriptor() ([]byte, []int)
Deprecated: Use MintResponse.ProtoReflect.Descriptor instead.
func (*MintResponse) GetTxHex ¶
func (x *MintResponse) GetTxHex() string
func (*MintResponse) ProtoMessage ¶
func (*MintResponse) ProtoMessage()
func (*MintResponse) ProtoReflect ¶
func (x *MintResponse) ProtoReflect() protoreflect.Message
func (*MintResponse) Reset ¶
func (x *MintResponse) Reset()
func (*MintResponse) String ¶
func (x *MintResponse) String() string
type NotificationServiceClient ¶
type NotificationServiceClient interface { // WatchExternalScript allows to get notified about utxos/txs related to the given // external script, ie. not derived from a wallet account. // The service answers with the label assigned to the given script. // The label is used as identifier of the utxos/txs received from the streams. WatchExternalScript(ctx context.Context, in *WatchExternalScriptRequest, opts ...grpc.CallOption) (*WatchExternalScriptResponse, error) // UnwatchExternalScript allows to stop watching for the script identified with // the given label. UnwatchExternalScript(ctx context.Context, in *UnwatchExternalScriptRequest, opts ...grpc.CallOption) (*UnwatchExternalScriptResponse, error) // Notifies about events related to wallet transactions. TransactionNotifications(ctx context.Context, in *TransactionNotificationsRequest, opts ...grpc.CallOption) (NotificationService_TransactionNotificationsClient, error) // Notifies about events realted to wallet utxos. UtxosNotifications(ctx context.Context, in *UtxosNotificationsRequest, opts ...grpc.CallOption) (NotificationService_UtxosNotificationsClient, error) // Adds a webhook registered for some kind of event. AddWebhook(ctx context.Context, in *AddWebhookRequest, opts ...grpc.CallOption) (*AddWebhookResponse, error) // Removes some previously added webhook. RemoveWebhook(ctx context.Context, in *RemoveWebhookRequest, opts ...grpc.CallOption) (*RemoveWebhookResponse, error) // Returns registered webhooks. ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error) }
NotificationServiceClient is the client API for NotificationService 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 NewNotificationServiceClient ¶
func NewNotificationServiceClient(cc grpc.ClientConnInterface) NotificationServiceClient
type NotificationServiceServer ¶
type NotificationServiceServer interface { // WatchExternalScript allows to get notified about utxos/txs related to the given // external script, ie. not derived from a wallet account. // The service answers with the label assigned to the given script. // The label is used as identifier of the utxos/txs received from the streams. WatchExternalScript(context.Context, *WatchExternalScriptRequest) (*WatchExternalScriptResponse, error) // UnwatchExternalScript allows to stop watching for the script identified with // the given label. UnwatchExternalScript(context.Context, *UnwatchExternalScriptRequest) (*UnwatchExternalScriptResponse, error) // Notifies about events related to wallet transactions. TransactionNotifications(*TransactionNotificationsRequest, NotificationService_TransactionNotificationsServer) error // Notifies about events realted to wallet utxos. UtxosNotifications(*UtxosNotificationsRequest, NotificationService_UtxosNotificationsServer) error // Adds a webhook registered for some kind of event. AddWebhook(context.Context, *AddWebhookRequest) (*AddWebhookResponse, error) // Removes some previously added webhook. RemoveWebhook(context.Context, *RemoveWebhookRequest) (*RemoveWebhookResponse, error) // Returns registered webhooks. ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error) }
NotificationServiceServer is the server API for NotificationService service. All implementations should embed UnimplementedNotificationServiceServer for forward compatibility
type NotificationService_TransactionNotificationsClient ¶
type NotificationService_TransactionNotificationsClient interface { Recv() (*TransactionNotificationsResponse, error) grpc.ClientStream }
type NotificationService_TransactionNotificationsServer ¶
type NotificationService_TransactionNotificationsServer interface { Send(*TransactionNotificationsResponse) error grpc.ServerStream }
type NotificationService_UtxosNotificationsClient ¶
type NotificationService_UtxosNotificationsClient interface { Recv() (*UtxosNotificationsResponse, error) grpc.ClientStream }
type NotificationService_UtxosNotificationsServer ¶
type NotificationService_UtxosNotificationsServer interface { Send(*UtxosNotificationsResponse) error grpc.ServerStream }
type Output ¶
type Output struct { // Asset hash. Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` // Sent amount. Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // Address to send funds to. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // ScriptPubkey to send funds to (alternative to address). Script string `protobuf:"bytes,4,opt,name=script,proto3" json:"script,omitempty"` // Blinding public key to make output confidential (alternative to address). BlindingPubkey string `protobuf:"bytes,5,opt,name=blinding_pubkey,json=blindingPubkey,proto3" json:"blinding_pubkey,omitempty"` // contains filtered or unexported fields }
func (*Output) Descriptor
deprecated
func (*Output) GetAddress ¶
func (*Output) GetBlindingPubkey ¶ added in v0.1.3
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) ProtoReflect ¶
func (x *Output) ProtoReflect() protoreflect.Message
type PegInAddressRequest ¶
type PegInAddressRequest struct {
// contains filtered or unexported fields
}
func (*PegInAddressRequest) Descriptor
deprecated
func (*PegInAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use PegInAddressRequest.ProtoReflect.Descriptor instead.
func (*PegInAddressRequest) ProtoMessage ¶
func (*PegInAddressRequest) ProtoMessage()
func (*PegInAddressRequest) ProtoReflect ¶
func (x *PegInAddressRequest) ProtoReflect() protoreflect.Message
func (*PegInAddressRequest) Reset ¶
func (x *PegInAddressRequest) Reset()
func (*PegInAddressRequest) String ¶
func (x *PegInAddressRequest) String() string
type PegInAddressResponse ¶
type PegInAddressResponse struct { // Account name. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Main-chain deposit address to send bitcoin to. MainChainAddress string `protobuf:"bytes,2,opt,name=main_chain_address,json=mainChainAddress,proto3" json:"main_chain_address,omitempty"` // Claim script committed to by the main-chain address. ClaimScript string `protobuf:"bytes,3,opt,name=claim_script,json=claimScript,proto3" json:"claim_script,omitempty"` // contains filtered or unexported fields }
func (*PegInAddressResponse) Descriptor
deprecated
func (*PegInAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use PegInAddressResponse.ProtoReflect.Descriptor instead.
func (*PegInAddressResponse) GetAccountName ¶
func (x *PegInAddressResponse) GetAccountName() string
func (*PegInAddressResponse) GetClaimScript ¶
func (x *PegInAddressResponse) GetClaimScript() string
func (*PegInAddressResponse) GetMainChainAddress ¶
func (x *PegInAddressResponse) GetMainChainAddress() string
func (*PegInAddressResponse) ProtoMessage ¶
func (*PegInAddressResponse) ProtoMessage()
func (*PegInAddressResponse) ProtoReflect ¶
func (x *PegInAddressResponse) ProtoReflect() protoreflect.Message
func (*PegInAddressResponse) Reset ¶
func (x *PegInAddressResponse) Reset()
func (*PegInAddressResponse) String ¶
func (x *PegInAddressResponse) String() string
type RemintRequest ¶
type RemintRequest struct { // Account name. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Hash of the asset to remint. Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` // Amount to remint. Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // mSats/byte fee ratio. MillisatsPerByte uint64 `protobuf:"varint,4,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"` // contains filtered or unexported fields }
func (*RemintRequest) Descriptor
deprecated
func (*RemintRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemintRequest.ProtoReflect.Descriptor instead.
func (*RemintRequest) GetAccountName ¶
func (x *RemintRequest) GetAccountName() string
func (*RemintRequest) GetAmount ¶
func (x *RemintRequest) GetAmount() uint64
func (*RemintRequest) GetAsset ¶
func (x *RemintRequest) GetAsset() string
func (*RemintRequest) GetMillisatsPerByte ¶
func (x *RemintRequest) GetMillisatsPerByte() uint64
func (*RemintRequest) ProtoMessage ¶
func (*RemintRequest) ProtoMessage()
func (*RemintRequest) ProtoReflect ¶
func (x *RemintRequest) ProtoReflect() protoreflect.Message
func (*RemintRequest) Reset ¶
func (x *RemintRequest) Reset()
func (*RemintRequest) String ¶
func (x *RemintRequest) String() string
type RemintResponse ¶
type RemintResponse struct { // Signed tx in hex format. TxHex string `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // contains filtered or unexported fields }
func (*RemintResponse) Descriptor
deprecated
func (*RemintResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemintResponse.ProtoReflect.Descriptor instead.
func (*RemintResponse) GetTxHex ¶
func (x *RemintResponse) GetTxHex() string
func (*RemintResponse) ProtoMessage ¶
func (*RemintResponse) ProtoMessage()
func (*RemintResponse) ProtoReflect ¶
func (x *RemintResponse) ProtoReflect() protoreflect.Message
func (*RemintResponse) Reset ¶
func (x *RemintResponse) Reset()
func (*RemintResponse) String ¶
func (x *RemintResponse) String() string
type RemoveWebhookRequest ¶
type RemoveWebhookRequest struct { // The id of the webhook to remove. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveWebhookRequest) Descriptor
deprecated
func (*RemoveWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveWebhookRequest.ProtoReflect.Descriptor instead.
func (*RemoveWebhookRequest) GetId ¶
func (x *RemoveWebhookRequest) GetId() string
func (*RemoveWebhookRequest) ProtoMessage ¶
func (*RemoveWebhookRequest) ProtoMessage()
func (*RemoveWebhookRequest) ProtoReflect ¶
func (x *RemoveWebhookRequest) ProtoReflect() protoreflect.Message
func (*RemoveWebhookRequest) Reset ¶
func (x *RemoveWebhookRequest) Reset()
func (*RemoveWebhookRequest) String ¶
func (x *RemoveWebhookRequest) String() string
type RemoveWebhookResponse ¶
type RemoveWebhookResponse struct {
// contains filtered or unexported fields
}
func (*RemoveWebhookResponse) Descriptor
deprecated
func (*RemoveWebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveWebhookResponse.ProtoReflect.Descriptor instead.
func (*RemoveWebhookResponse) ProtoMessage ¶
func (*RemoveWebhookResponse) ProtoMessage()
func (*RemoveWebhookResponse) ProtoReflect ¶
func (x *RemoveWebhookResponse) ProtoReflect() protoreflect.Message
func (*RemoveWebhookResponse) Reset ¶
func (x *RemoveWebhookResponse) Reset()
func (*RemoveWebhookResponse) String ¶
func (x *RemoveWebhookResponse) String() string
type RestoreWalletRequest ¶
type RestoreWalletRequest struct { // The mnemonic from where deriving signing and blinding key pairs. Mnemonic string `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` // The password to decrypt HD wallet. After restoration, the wallet is locked // and the same password is required to unlock it. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // The height of the block at original wallet creation time. This will be the // starting block for the wallet rescan. // If not given, will rescan from genesis block. BirthdayBlockHeight uint32 `protobuf:"varint,3,opt,name=birthday_block_height,json=birthdayBlockHeight,proto3" json:"birthday_block_height,omitempty"` // The root path of the wallet in the form `m/purpose'/network'`. // If not defined, a default one must be used. RootPath string `protobuf:"bytes,4,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"` // The number of consecutive empty accounts to find in order to stop // their restoration. EmptyAccountThreshold uint32 `` /* 127-byte string literal not displayed */ // The number of consecutive unused addresses to find in order to stop // their restoration. UnusedAddressThreshold uint32 `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RestoreWalletRequest) Descriptor
deprecated
func (*RestoreWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreWalletRequest.ProtoReflect.Descriptor instead.
func (*RestoreWalletRequest) GetBirthdayBlockHeight ¶ added in v0.1.5
func (x *RestoreWalletRequest) GetBirthdayBlockHeight() uint32
func (*RestoreWalletRequest) GetEmptyAccountThreshold ¶ added in v0.1.16
func (x *RestoreWalletRequest) GetEmptyAccountThreshold() uint32
func (*RestoreWalletRequest) GetMnemonic ¶
func (x *RestoreWalletRequest) GetMnemonic() string
func (*RestoreWalletRequest) GetPassword ¶
func (x *RestoreWalletRequest) GetPassword() string
func (*RestoreWalletRequest) GetRootPath ¶ added in v0.1.16
func (x *RestoreWalletRequest) GetRootPath() string
func (*RestoreWalletRequest) GetUnusedAddressThreshold ¶ added in v0.1.16
func (x *RestoreWalletRequest) GetUnusedAddressThreshold() uint32
func (*RestoreWalletRequest) ProtoMessage ¶
func (*RestoreWalletRequest) ProtoMessage()
func (*RestoreWalletRequest) ProtoReflect ¶
func (x *RestoreWalletRequest) ProtoReflect() protoreflect.Message
func (*RestoreWalletRequest) Reset ¶
func (x *RestoreWalletRequest) Reset()
func (*RestoreWalletRequest) String ¶
func (x *RestoreWalletRequest) String() string
type RestoreWalletResponse ¶
type RestoreWalletResponse struct { // String message returned within the process. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*RestoreWalletResponse) Descriptor
deprecated
func (*RestoreWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreWalletResponse.ProtoReflect.Descriptor instead.
func (*RestoreWalletResponse) GetMessage ¶ added in v0.1.16
func (x *RestoreWalletResponse) GetMessage() string
func (*RestoreWalletResponse) ProtoMessage ¶
func (*RestoreWalletResponse) ProtoMessage()
func (*RestoreWalletResponse) ProtoReflect ¶
func (x *RestoreWalletResponse) ProtoReflect() protoreflect.Message
func (*RestoreWalletResponse) Reset ¶
func (x *RestoreWalletResponse) Reset()
func (*RestoreWalletResponse) String ¶
func (x *RestoreWalletResponse) String() string
type SelectUtxosRequest ¶
type SelectUtxosRequest struct { // Account name. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Asset hash of the utxos to select. TargetAsset string `protobuf:"bytes,2,opt,name=target_asset,json=targetAsset,proto3" json:"target_asset,omitempty"` // Target amount to cover. TargetAmount uint64 `protobuf:"varint,3,opt,name=target_amount,json=targetAmount,proto3" json:"target_amount,omitempty"` Strategy SelectUtxosRequest_Strategy `protobuf:"varint,4,opt,name=strategy,proto3,enum=ocean.v1.SelectUtxosRequest_Strategy" json:"strategy,omitempty"` // contains filtered or unexported fields }
func (*SelectUtxosRequest) Descriptor
deprecated
func (*SelectUtxosRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectUtxosRequest.ProtoReflect.Descriptor instead.
func (*SelectUtxosRequest) GetAccountName ¶
func (x *SelectUtxosRequest) GetAccountName() string
func (*SelectUtxosRequest) GetStrategy ¶
func (x *SelectUtxosRequest) GetStrategy() SelectUtxosRequest_Strategy
func (*SelectUtxosRequest) GetTargetAmount ¶
func (x *SelectUtxosRequest) GetTargetAmount() uint64
func (*SelectUtxosRequest) GetTargetAsset ¶
func (x *SelectUtxosRequest) GetTargetAsset() string
func (*SelectUtxosRequest) ProtoMessage ¶
func (*SelectUtxosRequest) ProtoMessage()
func (*SelectUtxosRequest) ProtoReflect ¶
func (x *SelectUtxosRequest) ProtoReflect() protoreflect.Message
func (*SelectUtxosRequest) Reset ¶
func (x *SelectUtxosRequest) Reset()
func (*SelectUtxosRequest) String ¶
func (x *SelectUtxosRequest) String() string
type SelectUtxosRequest_Strategy ¶
type SelectUtxosRequest_Strategy int32
Coin-selection algorithm.
const ( SelectUtxosRequest_STRATEGY_UNSPECIFIED SelectUtxosRequest_Strategy = 0 SelectUtxosRequest_STRATEGY_BRANCH_BOUND SelectUtxosRequest_Strategy = 1 SelectUtxosRequest_STRATEGY_FRAGMENT SelectUtxosRequest_Strategy = 2 )
func (SelectUtxosRequest_Strategy) Descriptor ¶
func (SelectUtxosRequest_Strategy) Descriptor() protoreflect.EnumDescriptor
func (SelectUtxosRequest_Strategy) Enum ¶
func (x SelectUtxosRequest_Strategy) Enum() *SelectUtxosRequest_Strategy
func (SelectUtxosRequest_Strategy) EnumDescriptor
deprecated
func (SelectUtxosRequest_Strategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use SelectUtxosRequest_Strategy.Descriptor instead.
func (SelectUtxosRequest_Strategy) Number ¶
func (x SelectUtxosRequest_Strategy) Number() protoreflect.EnumNumber
func (SelectUtxosRequest_Strategy) String ¶
func (x SelectUtxosRequest_Strategy) String() string
func (SelectUtxosRequest_Strategy) Type ¶
func (SelectUtxosRequest_Strategy) Type() protoreflect.EnumType
type SelectUtxosResponse ¶
type SelectUtxosResponse struct { // List of selected utxos. Utxos []*Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"` // Eventual change amount if utxos cumulative sum exceeds the target amount. Change uint64 `protobuf:"varint,2,opt,name=change,proto3" json:"change,omitempty"` // Expiration date for the selected utxo, which are temporary locked to // prevent double spending them. ExpirationDate int64 `protobuf:"varint,3,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"` // contains filtered or unexported fields }
func (*SelectUtxosResponse) Descriptor
deprecated
func (*SelectUtxosResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelectUtxosResponse.ProtoReflect.Descriptor instead.
func (*SelectUtxosResponse) GetChange ¶
func (x *SelectUtxosResponse) GetChange() uint64
func (*SelectUtxosResponse) GetExpirationDate ¶
func (x *SelectUtxosResponse) GetExpirationDate() int64
func (*SelectUtxosResponse) GetUtxos ¶
func (x *SelectUtxosResponse) GetUtxos() []*Utxo
func (*SelectUtxosResponse) ProtoMessage ¶
func (*SelectUtxosResponse) ProtoMessage()
func (*SelectUtxosResponse) ProtoReflect ¶
func (x *SelectUtxosResponse) ProtoReflect() protoreflect.Message
func (*SelectUtxosResponse) Reset ¶
func (x *SelectUtxosResponse) Reset()
func (*SelectUtxosResponse) String ¶
func (x *SelectUtxosResponse) String() string
type SetAccountLabelRequest ¶ added in v0.1.16
type SetAccountLabelRequest struct { // Account namespace or label. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // New account label. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*SetAccountLabelRequest) Descriptor
deprecated
added in
v0.1.16
func (*SetAccountLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAccountLabelRequest.ProtoReflect.Descriptor instead.
func (*SetAccountLabelRequest) GetAccountName ¶ added in v0.1.16
func (x *SetAccountLabelRequest) GetAccountName() string
func (*SetAccountLabelRequest) GetLabel ¶ added in v0.1.16
func (x *SetAccountLabelRequest) GetLabel() string
func (*SetAccountLabelRequest) ProtoMessage ¶ added in v0.1.16
func (*SetAccountLabelRequest) ProtoMessage()
func (*SetAccountLabelRequest) ProtoReflect ¶ added in v0.1.16
func (x *SetAccountLabelRequest) ProtoReflect() protoreflect.Message
func (*SetAccountLabelRequest) Reset ¶ added in v0.1.16
func (x *SetAccountLabelRequest) Reset()
func (*SetAccountLabelRequest) String ¶ added in v0.1.16
func (x *SetAccountLabelRequest) String() string
type SetAccountLabelResponse ¶ added in v0.1.16
type SetAccountLabelResponse struct { // Info about the updated account. Info *AccountInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*SetAccountLabelResponse) Descriptor
deprecated
added in
v0.1.16
func (*SetAccountLabelResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAccountLabelResponse.ProtoReflect.Descriptor instead.
func (*SetAccountLabelResponse) GetInfo ¶ added in v0.1.16
func (x *SetAccountLabelResponse) GetInfo() *AccountInfo
func (*SetAccountLabelResponse) ProtoMessage ¶ added in v0.1.16
func (*SetAccountLabelResponse) ProtoMessage()
func (*SetAccountLabelResponse) ProtoReflect ¶ added in v0.1.16
func (x *SetAccountLabelResponse) ProtoReflect() protoreflect.Message
func (*SetAccountLabelResponse) Reset ¶ added in v0.1.16
func (x *SetAccountLabelResponse) Reset()
func (*SetAccountLabelResponse) String ¶ added in v0.1.16
func (x *SetAccountLabelResponse) String() string
type SetAccountTemplateRequest ¶
type SetAccountTemplateRequest struct { // Account namespace or label. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Output descriptor template. Template *Template `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*SetAccountTemplateRequest) Descriptor
deprecated
func (*SetAccountTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAccountTemplateRequest.ProtoReflect.Descriptor instead.
func (*SetAccountTemplateRequest) GetAccountName ¶
func (x *SetAccountTemplateRequest) GetAccountName() string
func (*SetAccountTemplateRequest) GetTemplate ¶
func (x *SetAccountTemplateRequest) GetTemplate() *Template
func (*SetAccountTemplateRequest) ProtoMessage ¶
func (*SetAccountTemplateRequest) ProtoMessage()
func (*SetAccountTemplateRequest) ProtoReflect ¶
func (x *SetAccountTemplateRequest) ProtoReflect() protoreflect.Message
func (*SetAccountTemplateRequest) Reset ¶
func (x *SetAccountTemplateRequest) Reset()
func (*SetAccountTemplateRequest) String ¶
func (x *SetAccountTemplateRequest) String() string
type SetAccountTemplateResponse ¶
type SetAccountTemplateResponse struct {
// contains filtered or unexported fields
}
func (*SetAccountTemplateResponse) Descriptor
deprecated
func (*SetAccountTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAccountTemplateResponse.ProtoReflect.Descriptor instead.
func (*SetAccountTemplateResponse) ProtoMessage ¶
func (*SetAccountTemplateResponse) ProtoMessage()
func (*SetAccountTemplateResponse) ProtoReflect ¶
func (x *SetAccountTemplateResponse) ProtoReflect() protoreflect.Message
func (*SetAccountTemplateResponse) Reset ¶
func (x *SetAccountTemplateResponse) Reset()
func (*SetAccountTemplateResponse) String ¶
func (x *SetAccountTemplateResponse) String() string
type SignPsetRequest ¶
type SignPsetRequest struct { // The partial transaction to sign in base64 format. Pset string `protobuf:"bytes,1,opt,name=pset,proto3" json:"pset,omitempty"` // The sighash type. If not specified, SIGHASH_ALL is used for any input // to sign that doesn't already have one set. SighashType uint32 `protobuf:"varint,2,opt,name=sighash_type,json=sighashType,proto3" json:"sighash_type,omitempty"` // contains filtered or unexported fields }
func (*SignPsetRequest) Descriptor
deprecated
func (*SignPsetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignPsetRequest.ProtoReflect.Descriptor instead.
func (*SignPsetRequest) GetPset ¶
func (x *SignPsetRequest) GetPset() string
func (*SignPsetRequest) GetSighashType ¶
func (x *SignPsetRequest) GetSighashType() uint32
func (*SignPsetRequest) ProtoMessage ¶
func (*SignPsetRequest) ProtoMessage()
func (*SignPsetRequest) ProtoReflect ¶
func (x *SignPsetRequest) ProtoReflect() protoreflect.Message
func (*SignPsetRequest) Reset ¶
func (x *SignPsetRequest) Reset()
func (*SignPsetRequest) String ¶
func (x *SignPsetRequest) String() string
type SignPsetResponse ¶
type SignPsetResponse struct { // Signed partial transaction in base64 format. Pset string `protobuf:"bytes,1,opt,name=pset,proto3" json:"pset,omitempty"` // contains filtered or unexported fields }
func (*SignPsetResponse) Descriptor
deprecated
func (*SignPsetResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignPsetResponse.ProtoReflect.Descriptor instead.
func (*SignPsetResponse) GetPset ¶
func (x *SignPsetResponse) GetPset() string
func (*SignPsetResponse) ProtoMessage ¶
func (*SignPsetResponse) ProtoMessage()
func (*SignPsetResponse) ProtoReflect ¶
func (x *SignPsetResponse) ProtoReflect() protoreflect.Message
func (*SignPsetResponse) Reset ¶
func (x *SignPsetResponse) Reset()
func (*SignPsetResponse) String ¶
func (x *SignPsetResponse) String() string
type SignPsetWithSchnorrKeyRequest ¶ added in v0.2.2
type SignPsetWithSchnorrKeyRequest struct { // The partial transaction to sign in base64 format. Tx string `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // The sighash type. SIGHASH_DEFAULT is used for any input that does not specify one. SighashType uint32 `protobuf:"varint,2,opt,name=sighash_type,json=sighashType,proto3" json:"sighash_type,omitempty"` // contains filtered or unexported fields }
func (*SignPsetWithSchnorrKeyRequest) Descriptor
deprecated
added in
v0.2.2
func (*SignPsetWithSchnorrKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignPsetWithSchnorrKeyRequest.ProtoReflect.Descriptor instead.
func (*SignPsetWithSchnorrKeyRequest) GetSighashType ¶ added in v0.2.2
func (x *SignPsetWithSchnorrKeyRequest) GetSighashType() uint32
func (*SignPsetWithSchnorrKeyRequest) GetTx ¶ added in v0.2.2
func (x *SignPsetWithSchnorrKeyRequest) GetTx() string
func (*SignPsetWithSchnorrKeyRequest) ProtoMessage ¶ added in v0.2.2
func (*SignPsetWithSchnorrKeyRequest) ProtoMessage()
func (*SignPsetWithSchnorrKeyRequest) ProtoReflect ¶ added in v0.2.2
func (x *SignPsetWithSchnorrKeyRequest) ProtoReflect() protoreflect.Message
func (*SignPsetWithSchnorrKeyRequest) Reset ¶ added in v0.2.2
func (x *SignPsetWithSchnorrKeyRequest) Reset()
func (*SignPsetWithSchnorrKeyRequest) String ¶ added in v0.2.2
func (x *SignPsetWithSchnorrKeyRequest) String() string
type SignPsetWithSchnorrKeyResponse ¶ added in v0.2.2
type SignPsetWithSchnorrKeyResponse struct { SignedTx string `protobuf:"bytes,1,opt,name=signed_tx,json=signedTx,proto3" json:"signed_tx,omitempty"` // contains filtered or unexported fields }
func (*SignPsetWithSchnorrKeyResponse) Descriptor
deprecated
added in
v0.2.2
func (*SignPsetWithSchnorrKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignPsetWithSchnorrKeyResponse.ProtoReflect.Descriptor instead.
func (*SignPsetWithSchnorrKeyResponse) GetSignedTx ¶ added in v0.2.2
func (x *SignPsetWithSchnorrKeyResponse) GetSignedTx() string
func (*SignPsetWithSchnorrKeyResponse) ProtoMessage ¶ added in v0.2.2
func (*SignPsetWithSchnorrKeyResponse) ProtoMessage()
func (*SignPsetWithSchnorrKeyResponse) ProtoReflect ¶ added in v0.2.2
func (x *SignPsetWithSchnorrKeyResponse) ProtoReflect() protoreflect.Message
func (*SignPsetWithSchnorrKeyResponse) Reset ¶ added in v0.2.2
func (x *SignPsetWithSchnorrKeyResponse) Reset()
func (*SignPsetWithSchnorrKeyResponse) String ¶ added in v0.2.2
func (x *SignPsetWithSchnorrKeyResponse) String() string
type SignTransactionRequest ¶
type SignTransactionRequest struct { // Raw transaction to sign. TxHex string `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // The sighash type. SIGHASH_ALL is used if not defined. SighashType uint32 `protobuf:"varint,2,opt,name=sighash_type,json=sighashType,proto3" json:"sighash_type,omitempty"` // contains filtered or unexported fields }
func (*SignTransactionRequest) Descriptor
deprecated
func (*SignTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignTransactionRequest.ProtoReflect.Descriptor instead.
func (*SignTransactionRequest) GetSighashType ¶
func (x *SignTransactionRequest) GetSighashType() uint32
func (*SignTransactionRequest) GetTxHex ¶
func (x *SignTransactionRequest) GetTxHex() string
func (*SignTransactionRequest) ProtoMessage ¶
func (*SignTransactionRequest) ProtoMessage()
func (*SignTransactionRequest) ProtoReflect ¶
func (x *SignTransactionRequest) ProtoReflect() protoreflect.Message
func (*SignTransactionRequest) Reset ¶
func (x *SignTransactionRequest) Reset()
func (*SignTransactionRequest) String ¶
func (x *SignTransactionRequest) String() string
type SignTransactionResponse ¶
type SignTransactionResponse struct { // Raw signed transaction. TxHex string `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // contains filtered or unexported fields }
func (*SignTransactionResponse) Descriptor
deprecated
func (*SignTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignTransactionResponse.ProtoReflect.Descriptor instead.
func (*SignTransactionResponse) GetTxHex ¶
func (x *SignTransactionResponse) GetTxHex() string
func (*SignTransactionResponse) ProtoMessage ¶
func (*SignTransactionResponse) ProtoMessage()
func (*SignTransactionResponse) ProtoReflect ¶
func (x *SignTransactionResponse) ProtoReflect() protoreflect.Message
func (*SignTransactionResponse) Reset ¶
func (x *SignTransactionResponse) Reset()
func (*SignTransactionResponse) String ¶
func (x *SignTransactionResponse) String() string
type StatusRequest ¶
type StatusRequest struct {
// contains filtered or unexported fields
}
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
type StatusResponse ¶
type StatusResponse struct { // Whether the wallet is initialized with seeds. Initialized bool `protobuf:"varint,1,opt,name=initialized,proto3" json:"initialized,omitempty"` // Whether the wallet is in sync, meaning it's keeping track of every utxo // of every account. Synced bool `protobuf:"varint,2,opt,name=synced,proto3" json:"synced,omitempty"` // Whether the wallet is unlocked. Unlocked bool `protobuf:"varint,3,opt,name=unlocked,proto3" json:"unlocked,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetInitialized ¶
func (x *StatusResponse) GetInitialized() bool
func (*StatusResponse) GetSynced ¶
func (x *StatusResponse) GetSynced() bool
func (*StatusResponse) GetUnlocked ¶
func (x *StatusResponse) GetUnlocked() bool
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type Template ¶
type Template struct { Format Template_Format `protobuf:"varint,1,opt,name=format,proto3,enum=ocean.v1.Template_Format" json:"format,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Template) Descriptor
deprecated
func (*Template) GetFormat ¶
func (x *Template) GetFormat() Template_Format
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
type Template_Format ¶
type Template_Format int32
const ( Template_FORMAT_UNSPECIFIED Template_Format = 0 Template_FORMAT_DESCRIPTOR Template_Format = 1 Template_FORMAT_MINISCRIPT Template_Format = 2 Template_FORMAT_IONIO Template_Format = 3 Template_FORMAT_RAW Template_Format = 4 )
func (Template_Format) Descriptor ¶
func (Template_Format) Descriptor() protoreflect.EnumDescriptor
func (Template_Format) Enum ¶
func (x Template_Format) Enum() *Template_Format
func (Template_Format) EnumDescriptor
deprecated
func (Template_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use Template_Format.Descriptor instead.
func (Template_Format) Number ¶
func (x Template_Format) Number() protoreflect.EnumNumber
func (Template_Format) String ¶
func (x Template_Format) String() string
func (Template_Format) Type ¶
func (Template_Format) Type() protoreflect.EnumType
type TransactionNotificationsRequest ¶
type TransactionNotificationsRequest struct {
// contains filtered or unexported fields
}
func (*TransactionNotificationsRequest) Descriptor
deprecated
func (*TransactionNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionNotificationsRequest.ProtoReflect.Descriptor instead.
func (*TransactionNotificationsRequest) ProtoMessage ¶
func (*TransactionNotificationsRequest) ProtoMessage()
func (*TransactionNotificationsRequest) ProtoReflect ¶
func (x *TransactionNotificationsRequest) ProtoReflect() protoreflect.Message
func (*TransactionNotificationsRequest) Reset ¶
func (x *TransactionNotificationsRequest) Reset()
func (*TransactionNotificationsRequest) String ¶
func (x *TransactionNotificationsRequest) String() string
type TransactionNotificationsResponse ¶
type TransactionNotificationsResponse struct { // Tx event type. EventType TxEventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=ocean.v1.TxEventType" json:"event_type,omitempty"` // Account names. AccountNames []string `protobuf:"bytes,2,rep,name=account_names,json=accountNames,proto3" json:"account_names,omitempty"` // Tx in hex format. Txhex string `protobuf:"bytes,3,opt,name=txhex,proto3" json:"txhex,omitempty"` // Txid of transaction. Txid string `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` // Details of the block including the tx. BlockDetails *BlockDetails `protobuf:"bytes,5,opt,name=block_details,json=blockDetails,proto3" json:"block_details,omitempty"` // contains filtered or unexported fields }
func (*TransactionNotificationsResponse) Descriptor
deprecated
func (*TransactionNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransactionNotificationsResponse.ProtoReflect.Descriptor instead.
func (*TransactionNotificationsResponse) GetAccountNames ¶
func (x *TransactionNotificationsResponse) GetAccountNames() []string
func (*TransactionNotificationsResponse) GetBlockDetails ¶
func (x *TransactionNotificationsResponse) GetBlockDetails() *BlockDetails
func (*TransactionNotificationsResponse) GetEventType ¶
func (x *TransactionNotificationsResponse) GetEventType() TxEventType
func (*TransactionNotificationsResponse) GetTxhex ¶ added in v0.1.3
func (x *TransactionNotificationsResponse) GetTxhex() string
func (*TransactionNotificationsResponse) GetTxid ¶
func (x *TransactionNotificationsResponse) GetTxid() string
func (*TransactionNotificationsResponse) ProtoMessage ¶
func (*TransactionNotificationsResponse) ProtoMessage()
func (*TransactionNotificationsResponse) ProtoReflect ¶
func (x *TransactionNotificationsResponse) ProtoReflect() protoreflect.Message
func (*TransactionNotificationsResponse) Reset ¶
func (x *TransactionNotificationsResponse) Reset()
func (*TransactionNotificationsResponse) String ¶
func (x *TransactionNotificationsResponse) String() string
type TransactionServiceClient ¶
type TransactionServiceClient interface { // GetTransaction returns the hex of a transaction given its id. GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) // SelectUtxos returns a selction of utxos, to be used in another // transaction, for provided target amount and strategy. // Selected utxos are locked for predefined amount of time to prevent // double-spending them. SelectUtxos(ctx context.Context, in *SelectUtxosRequest, opts ...grpc.CallOption) (*SelectUtxosResponse, error) // LockUtxos allows to manually select utxos to spend by a subsequent tx. LockUtxos(ctx context.Context, in *LockUtxosRequest, opts ...grpc.CallOption) (*LockUtxosResponse, error) // EstimateFees returns the fee amount to pay for a tx containing the given // inputs and outputs. EstimateFees(ctx context.Context, in *EstimateFeesRequest, opts ...grpc.CallOption) (*EstimateFeesResponse, error) // SignTransaction signs a raw transaction in hex format. SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error) // BroadcastTransaction broadacats a raw transaction in hex format. BroadcastTransaction(ctx context.Context, in *BroadcastTransactionRequest, opts ...grpc.CallOption) (*BroadcastTransactionResponse, error) // CreatePset returns an unsigned pset for given inputs and outputs. CreatePset(ctx context.Context, in *CreatePsetRequest, opts ...grpc.CallOption) (*CreatePsetResponse, error) // UpdatePset adds the given inputs and outputs to the partial transaction. UpdatePset(ctx context.Context, in *UpdatePsetRequest, opts ...grpc.CallOption) (*UpdatePsetResponse, error) // BlindPset updates the given pset with required ins and outs blinded. BlindPset(ctx context.Context, in *BlindPsetRequest, opts ...grpc.CallOption) (*BlindPsetResponse, error) // SignPset updates the given pset adding the required signatures. SignPset(ctx context.Context, in *SignPsetRequest, opts ...grpc.CallOption) (*SignPsetResponse, error) // Mint returns a transaction that issues a new asset. Mint(ctx context.Context, in *MintRequest, opts ...grpc.CallOption) (*MintResponse, error) // Remint returns a transaction that re-issues an existing asset. Remint(ctx context.Context, in *RemintRequest, opts ...grpc.CallOption) (*RemintResponse, error) // Burn returns a transaction that burns some funds. Burn(ctx context.Context, in *BurnRequest, opts ...grpc.CallOption) (*BurnResponse, error) // Transfer returns a transaction to send funds to some receiver. Transfer(ctx context.Context, in *TransferRequest, opts ...grpc.CallOption) (*TransferResponse, error) // PegInAddress returns what's necessary to peg funds of the Bitcoin // main-chain and have them available on the Liquid side-chain. // Bitcoin funds must be sent to the main-chain address while the claim // output script must be used to redeem the LBTC ones. PegInAddress(ctx context.Context, in *PegInAddressRequest, opts ...grpc.CallOption) (*PegInAddressResponse, error) // ClaimPegIn returns a transaction to claim funds pegged on the Bitcoin // main-chain to have them available on the Liquid side-chain. ClaimPegIn(ctx context.Context, in *ClaimPegInRequest, opts ...grpc.CallOption) (*ClaimPegInResponse, error) // SignPsetWithSchnorrKey signs all taproot inputs of the provided tx with // the key at the given derivation path. SignPsetWithSchnorrKey(ctx context.Context, in *SignPsetWithSchnorrKeyRequest, opts ...grpc.CallOption) (*SignPsetWithSchnorrKeyResponse, error) }
TransactionServiceClient is the client API for TransactionService 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 NewTransactionServiceClient ¶
func NewTransactionServiceClient(cc grpc.ClientConnInterface) TransactionServiceClient
type TransactionServiceServer ¶
type TransactionServiceServer interface { // GetTransaction returns the hex of a transaction given its id. GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error) // SelectUtxos returns a selction of utxos, to be used in another // transaction, for provided target amount and strategy. // Selected utxos are locked for predefined amount of time to prevent // double-spending them. SelectUtxos(context.Context, *SelectUtxosRequest) (*SelectUtxosResponse, error) // LockUtxos allows to manually select utxos to spend by a subsequent tx. LockUtxos(context.Context, *LockUtxosRequest) (*LockUtxosResponse, error) // EstimateFees returns the fee amount to pay for a tx containing the given // inputs and outputs. EstimateFees(context.Context, *EstimateFeesRequest) (*EstimateFeesResponse, error) // SignTransaction signs a raw transaction in hex format. SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error) // BroadcastTransaction broadacats a raw transaction in hex format. BroadcastTransaction(context.Context, *BroadcastTransactionRequest) (*BroadcastTransactionResponse, error) // CreatePset returns an unsigned pset for given inputs and outputs. CreatePset(context.Context, *CreatePsetRequest) (*CreatePsetResponse, error) // UpdatePset adds the given inputs and outputs to the partial transaction. UpdatePset(context.Context, *UpdatePsetRequest) (*UpdatePsetResponse, error) // BlindPset updates the given pset with required ins and outs blinded. BlindPset(context.Context, *BlindPsetRequest) (*BlindPsetResponse, error) // SignPset updates the given pset adding the required signatures. SignPset(context.Context, *SignPsetRequest) (*SignPsetResponse, error) // Mint returns a transaction that issues a new asset. Mint(context.Context, *MintRequest) (*MintResponse, error) // Remint returns a transaction that re-issues an existing asset. Remint(context.Context, *RemintRequest) (*RemintResponse, error) // Burn returns a transaction that burns some funds. Burn(context.Context, *BurnRequest) (*BurnResponse, error) // Transfer returns a transaction to send funds to some receiver. Transfer(context.Context, *TransferRequest) (*TransferResponse, error) // PegInAddress returns what's necessary to peg funds of the Bitcoin // main-chain and have them available on the Liquid side-chain. // Bitcoin funds must be sent to the main-chain address while the claim // output script must be used to redeem the LBTC ones. PegInAddress(context.Context, *PegInAddressRequest) (*PegInAddressResponse, error) // ClaimPegIn returns a transaction to claim funds pegged on the Bitcoin // main-chain to have them available on the Liquid side-chain. ClaimPegIn(context.Context, *ClaimPegInRequest) (*ClaimPegInResponse, error) // SignPsetWithSchnorrKey signs all taproot inputs of the provided tx with // the key at the given derivation path. SignPsetWithSchnorrKey(context.Context, *SignPsetWithSchnorrKeyRequest) (*SignPsetWithSchnorrKeyResponse, error) }
TransactionServiceServer is the server API for TransactionService service. All implementations should embed UnimplementedTransactionServiceServer for forward compatibility
type TransferRequest ¶
type TransferRequest struct { // Account name. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Receivers are the receivers of the funds. Receivers []*Output `protobuf:"bytes,2,rep,name=receivers,proto3" json:"receivers,omitempty"` // mSats/byte fee ratio. MillisatsPerByte uint64 `protobuf:"varint,3,opt,name=millisats_per_byte,json=millisatsPerByte,proto3" json:"millisats_per_byte,omitempty"` // contains filtered or unexported fields }
func (*TransferRequest) Descriptor
deprecated
func (*TransferRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferRequest.ProtoReflect.Descriptor instead.
func (*TransferRequest) GetAccountName ¶
func (x *TransferRequest) GetAccountName() string
func (*TransferRequest) GetMillisatsPerByte ¶
func (x *TransferRequest) GetMillisatsPerByte() uint64
func (*TransferRequest) GetReceivers ¶
func (x *TransferRequest) GetReceivers() []*Output
func (*TransferRequest) ProtoMessage ¶
func (*TransferRequest) ProtoMessage()
func (*TransferRequest) ProtoReflect ¶
func (x *TransferRequest) ProtoReflect() protoreflect.Message
func (*TransferRequest) Reset ¶
func (x *TransferRequest) Reset()
func (*TransferRequest) String ¶
func (x *TransferRequest) String() string
type TransferResponse ¶
type TransferResponse struct { // Signed tx in hex format. TxHex string `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // contains filtered or unexported fields }
func (*TransferResponse) Descriptor
deprecated
func (*TransferResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransferResponse.ProtoReflect.Descriptor instead.
func (*TransferResponse) GetTxHex ¶
func (x *TransferResponse) GetTxHex() string
func (*TransferResponse) ProtoMessage ¶
func (*TransferResponse) ProtoMessage()
func (*TransferResponse) ProtoReflect ¶
func (x *TransferResponse) ProtoReflect() protoreflect.Message
func (*TransferResponse) Reset ¶
func (x *TransferResponse) Reset()
func (*TransferResponse) String ¶
func (x *TransferResponse) String() string
type TxEventType ¶
type TxEventType int32
const ( TxEventType_TX_EVENT_TYPE_UNSPECIFIED TxEventType = 0 // Tx broadcasted. TxEventType_TX_EVENT_TYPE_BROADCASTED TxEventType = 1 // Tx unconfirmed. TxEventType_TX_EVENT_TYPE_UNCONFIRMED TxEventType = 2 // Tx confirmed. TxEventType_TX_EVENT_TYPE_CONFIRMED TxEventType = 3 )
func (TxEventType) Descriptor ¶
func (TxEventType) Descriptor() protoreflect.EnumDescriptor
func (TxEventType) Enum ¶
func (x TxEventType) Enum() *TxEventType
func (TxEventType) EnumDescriptor
deprecated
func (TxEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TxEventType.Descriptor instead.
func (TxEventType) Number ¶
func (x TxEventType) Number() protoreflect.EnumNumber
func (TxEventType) String ¶
func (x TxEventType) String() string
func (TxEventType) Type ¶
func (TxEventType) Type() protoreflect.EnumType
type UnblindedInput ¶ added in v0.1.3
type UnblindedInput struct { // Index of the pset input. Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // Revealed prevout asset. Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` // Revealed prevout amount. Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // Prevout asset blinder. AssetBlinder string `protobuf:"bytes,4,opt,name=asset_blinder,json=assetBlinder,proto3" json:"asset_blinder,omitempty"` // Prevout amount blinder. AmountBlinder string `protobuf:"bytes,5,opt,name=amount_blinder,json=amountBlinder,proto3" json:"amount_blinder,omitempty"` // contains filtered or unexported fields }
func (*UnblindedInput) Descriptor
deprecated
added in
v0.1.3
func (*UnblindedInput) Descriptor() ([]byte, []int)
Deprecated: Use UnblindedInput.ProtoReflect.Descriptor instead.
func (*UnblindedInput) GetAmount ¶ added in v0.1.3
func (x *UnblindedInput) GetAmount() uint64
func (*UnblindedInput) GetAmountBlinder ¶ added in v0.1.3
func (x *UnblindedInput) GetAmountBlinder() string
func (*UnblindedInput) GetAsset ¶ added in v0.1.3
func (x *UnblindedInput) GetAsset() string
func (*UnblindedInput) GetAssetBlinder ¶ added in v0.1.3
func (x *UnblindedInput) GetAssetBlinder() string
func (*UnblindedInput) GetIndex ¶ added in v0.1.3
func (x *UnblindedInput) GetIndex() uint32
func (*UnblindedInput) ProtoMessage ¶ added in v0.1.3
func (*UnblindedInput) ProtoMessage()
func (*UnblindedInput) ProtoReflect ¶ added in v0.1.3
func (x *UnblindedInput) ProtoReflect() protoreflect.Message
func (*UnblindedInput) Reset ¶ added in v0.1.3
func (x *UnblindedInput) Reset()
func (*UnblindedInput) String ¶ added in v0.1.3
func (x *UnblindedInput) String() string
type UnimplementedAccountServiceServer ¶
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAccountServiceServer) Balance ¶
func (UnimplementedAccountServiceServer) Balance(context.Context, *BalanceRequest) (*BalanceResponse, error)
func (UnimplementedAccountServiceServer) CreateAccountBIP44 ¶
func (UnimplementedAccountServiceServer) CreateAccountBIP44(context.Context, *CreateAccountBIP44Request) (*CreateAccountBIP44Response, error)
func (UnimplementedAccountServiceServer) CreateAccountCustom ¶
func (UnimplementedAccountServiceServer) CreateAccountCustom(context.Context, *CreateAccountCustomRequest) (*CreateAccountCustomResponse, error)
func (UnimplementedAccountServiceServer) CreateAccountMultiSig ¶ added in v0.1.7
func (UnimplementedAccountServiceServer) CreateAccountMultiSig(context.Context, *CreateAccountMultiSigRequest) (*CreateAccountMultiSigResponse, error)
func (UnimplementedAccountServiceServer) DeleteAccount ¶
func (UnimplementedAccountServiceServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*DeleteAccountResponse, error)
func (UnimplementedAccountServiceServer) DeriveAddresses ¶ added in v0.1.3
func (UnimplementedAccountServiceServer) DeriveAddresses(context.Context, *DeriveAddressesRequest) (*DeriveAddressesResponse, error)
func (UnimplementedAccountServiceServer) DeriveChangeAddresses ¶ added in v0.1.3
func (UnimplementedAccountServiceServer) DeriveChangeAddresses(context.Context, *DeriveChangeAddressesRequest) (*DeriveChangeAddressesResponse, error)
func (UnimplementedAccountServiceServer) ListAddresses ¶
func (UnimplementedAccountServiceServer) ListAddresses(context.Context, *ListAddressesRequest) (*ListAddressesResponse, error)
func (UnimplementedAccountServiceServer) ListUtxos ¶
func (UnimplementedAccountServiceServer) ListUtxos(context.Context, *ListUtxosRequest) (*ListUtxosResponse, error)
func (UnimplementedAccountServiceServer) SetAccountLabel ¶ added in v0.1.16
func (UnimplementedAccountServiceServer) SetAccountLabel(context.Context, *SetAccountLabelRequest) (*SetAccountLabelResponse, error)
func (UnimplementedAccountServiceServer) SetAccountTemplate ¶
func (UnimplementedAccountServiceServer) SetAccountTemplate(context.Context, *SetAccountTemplateRequest) (*SetAccountTemplateResponse, error)
type UnimplementedNotificationServiceServer ¶
type UnimplementedNotificationServiceServer struct { }
UnimplementedNotificationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedNotificationServiceServer) AddWebhook ¶
func (UnimplementedNotificationServiceServer) AddWebhook(context.Context, *AddWebhookRequest) (*AddWebhookResponse, error)
func (UnimplementedNotificationServiceServer) ListWebhooks ¶
func (UnimplementedNotificationServiceServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
func (UnimplementedNotificationServiceServer) RemoveWebhook ¶
func (UnimplementedNotificationServiceServer) RemoveWebhook(context.Context, *RemoveWebhookRequest) (*RemoveWebhookResponse, error)
func (UnimplementedNotificationServiceServer) TransactionNotifications ¶
func (UnimplementedNotificationServiceServer) TransactionNotifications(*TransactionNotificationsRequest, NotificationService_TransactionNotificationsServer) error
func (UnimplementedNotificationServiceServer) UnwatchExternalScript ¶ added in v0.2.0
func (UnimplementedNotificationServiceServer) UnwatchExternalScript(context.Context, *UnwatchExternalScriptRequest) (*UnwatchExternalScriptResponse, error)
func (UnimplementedNotificationServiceServer) UtxosNotifications ¶
func (UnimplementedNotificationServiceServer) UtxosNotifications(*UtxosNotificationsRequest, NotificationService_UtxosNotificationsServer) error
func (UnimplementedNotificationServiceServer) WatchExternalScript ¶ added in v0.2.0
func (UnimplementedNotificationServiceServer) WatchExternalScript(context.Context, *WatchExternalScriptRequest) (*WatchExternalScriptResponse, error)
type UnimplementedTransactionServiceServer ¶
type UnimplementedTransactionServiceServer struct { }
UnimplementedTransactionServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTransactionServiceServer) BlindPset ¶
func (UnimplementedTransactionServiceServer) BlindPset(context.Context, *BlindPsetRequest) (*BlindPsetResponse, error)
func (UnimplementedTransactionServiceServer) BroadcastTransaction ¶
func (UnimplementedTransactionServiceServer) BroadcastTransaction(context.Context, *BroadcastTransactionRequest) (*BroadcastTransactionResponse, error)
func (UnimplementedTransactionServiceServer) Burn ¶
func (UnimplementedTransactionServiceServer) Burn(context.Context, *BurnRequest) (*BurnResponse, error)
func (UnimplementedTransactionServiceServer) ClaimPegIn ¶
func (UnimplementedTransactionServiceServer) ClaimPegIn(context.Context, *ClaimPegInRequest) (*ClaimPegInResponse, error)
func (UnimplementedTransactionServiceServer) CreatePset ¶
func (UnimplementedTransactionServiceServer) CreatePset(context.Context, *CreatePsetRequest) (*CreatePsetResponse, error)
func (UnimplementedTransactionServiceServer) EstimateFees ¶
func (UnimplementedTransactionServiceServer) EstimateFees(context.Context, *EstimateFeesRequest) (*EstimateFeesResponse, error)
func (UnimplementedTransactionServiceServer) GetTransaction ¶
func (UnimplementedTransactionServiceServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
func (UnimplementedTransactionServiceServer) LockUtxos ¶ added in v0.2.8
func (UnimplementedTransactionServiceServer) LockUtxos(context.Context, *LockUtxosRequest) (*LockUtxosResponse, error)
func (UnimplementedTransactionServiceServer) Mint ¶
func (UnimplementedTransactionServiceServer) Mint(context.Context, *MintRequest) (*MintResponse, error)
func (UnimplementedTransactionServiceServer) PegInAddress ¶
func (UnimplementedTransactionServiceServer) PegInAddress(context.Context, *PegInAddressRequest) (*PegInAddressResponse, error)
func (UnimplementedTransactionServiceServer) Remint ¶
func (UnimplementedTransactionServiceServer) Remint(context.Context, *RemintRequest) (*RemintResponse, error)
func (UnimplementedTransactionServiceServer) SelectUtxos ¶
func (UnimplementedTransactionServiceServer) SelectUtxos(context.Context, *SelectUtxosRequest) (*SelectUtxosResponse, error)
func (UnimplementedTransactionServiceServer) SignPset ¶
func (UnimplementedTransactionServiceServer) SignPset(context.Context, *SignPsetRequest) (*SignPsetResponse, error)
func (UnimplementedTransactionServiceServer) SignPsetWithSchnorrKey ¶ added in v0.2.2
func (UnimplementedTransactionServiceServer) SignPsetWithSchnorrKey(context.Context, *SignPsetWithSchnorrKeyRequest) (*SignPsetWithSchnorrKeyResponse, error)
func (UnimplementedTransactionServiceServer) SignTransaction ¶
func (UnimplementedTransactionServiceServer) SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error)
func (UnimplementedTransactionServiceServer) Transfer ¶
func (UnimplementedTransactionServiceServer) Transfer(context.Context, *TransferRequest) (*TransferResponse, error)
func (UnimplementedTransactionServiceServer) UpdatePset ¶
func (UnimplementedTransactionServiceServer) UpdatePset(context.Context, *UpdatePsetRequest) (*UpdatePsetResponse, error)
type UnimplementedWalletServiceServer ¶
type UnimplementedWalletServiceServer struct { }
UnimplementedWalletServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedWalletServiceServer) Auth ¶ added in v0.1.14
func (UnimplementedWalletServiceServer) Auth(context.Context, *AuthRequest) (*AuthResponse, error)
func (UnimplementedWalletServiceServer) ChangePassword ¶
func (UnimplementedWalletServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (UnimplementedWalletServiceServer) CreateWallet ¶
func (UnimplementedWalletServiceServer) CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error)
func (UnimplementedWalletServiceServer) GenSeed ¶
func (UnimplementedWalletServiceServer) GenSeed(context.Context, *GenSeedRequest) (*GenSeedResponse, error)
func (UnimplementedWalletServiceServer) GetInfo ¶
func (UnimplementedWalletServiceServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
func (UnimplementedWalletServiceServer) Lock ¶
func (UnimplementedWalletServiceServer) Lock(context.Context, *LockRequest) (*LockResponse, error)
func (UnimplementedWalletServiceServer) RestoreWallet ¶
func (UnimplementedWalletServiceServer) RestoreWallet(*RestoreWalletRequest, WalletService_RestoreWalletServer) error
func (UnimplementedWalletServiceServer) Status ¶
func (UnimplementedWalletServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
func (UnimplementedWalletServiceServer) Unlock ¶
func (UnimplementedWalletServiceServer) Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error)
type UnlockRequest ¶
type UnlockRequest struct { // The password to unlock the wallet. 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 UnlockResponse ¶
type UnlockResponse struct {
// contains filtered or unexported fields
}
func (*UnlockResponse) Descriptor
deprecated
func (*UnlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnlockResponse.ProtoReflect.Descriptor instead.
func (*UnlockResponse) ProtoMessage ¶
func (*UnlockResponse) ProtoMessage()
func (*UnlockResponse) ProtoReflect ¶
func (x *UnlockResponse) ProtoReflect() protoreflect.Message
func (*UnlockResponse) Reset ¶
func (x *UnlockResponse) Reset()
func (*UnlockResponse) String ¶
func (x *UnlockResponse) String() string
type UnsafeAccountServiceServer ¶
type UnsafeAccountServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServiceServer will result in compilation errors.
type UnsafeNotificationServiceServer ¶
type UnsafeNotificationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNotificationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotificationServiceServer will result in compilation errors.
type UnsafeTransactionServiceServer ¶
type UnsafeTransactionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTransactionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransactionServiceServer will result in compilation errors.
type UnsafeWalletServiceServer ¶
type UnsafeWalletServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWalletServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletServiceServer will result in compilation errors.
type UnwatchExternalScriptRequest ¶ added in v0.2.0
type UnwatchExternalScriptRequest struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*UnwatchExternalScriptRequest) Descriptor
deprecated
added in
v0.2.0
func (*UnwatchExternalScriptRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnwatchExternalScriptRequest.ProtoReflect.Descriptor instead.
func (*UnwatchExternalScriptRequest) GetLabel ¶ added in v0.2.0
func (x *UnwatchExternalScriptRequest) GetLabel() string
func (*UnwatchExternalScriptRequest) ProtoMessage ¶ added in v0.2.0
func (*UnwatchExternalScriptRequest) ProtoMessage()
func (*UnwatchExternalScriptRequest) ProtoReflect ¶ added in v0.2.0
func (x *UnwatchExternalScriptRequest) ProtoReflect() protoreflect.Message
func (*UnwatchExternalScriptRequest) Reset ¶ added in v0.2.0
func (x *UnwatchExternalScriptRequest) Reset()
func (*UnwatchExternalScriptRequest) String ¶ added in v0.2.0
func (x *UnwatchExternalScriptRequest) String() string
type UnwatchExternalScriptResponse ¶ added in v0.2.0
type UnwatchExternalScriptResponse struct {
// contains filtered or unexported fields
}
func (*UnwatchExternalScriptResponse) Descriptor
deprecated
added in
v0.2.0
func (*UnwatchExternalScriptResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnwatchExternalScriptResponse.ProtoReflect.Descriptor instead.
func (*UnwatchExternalScriptResponse) ProtoMessage ¶ added in v0.2.0
func (*UnwatchExternalScriptResponse) ProtoMessage()
func (*UnwatchExternalScriptResponse) ProtoReflect ¶ added in v0.2.0
func (x *UnwatchExternalScriptResponse) ProtoReflect() protoreflect.Message
func (*UnwatchExternalScriptResponse) Reset ¶ added in v0.2.0
func (x *UnwatchExternalScriptResponse) Reset()
func (*UnwatchExternalScriptResponse) String ¶ added in v0.2.0
func (x *UnwatchExternalScriptResponse) String() string
type UpdatePsetRequest ¶
type UpdatePsetRequest struct { // The partial transaction to update in base64 format. Pset string `protobuf:"bytes,1,opt,name=pset,proto3" json:"pset,omitempty"` // Inputs to add to the partial transaction. Inputs []*Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` // Outputs to add to the partil transaction. Outputs []*Output `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
func (*UpdatePsetRequest) Descriptor
deprecated
func (*UpdatePsetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePsetRequest.ProtoReflect.Descriptor instead.
func (*UpdatePsetRequest) GetInputs ¶
func (x *UpdatePsetRequest) GetInputs() []*Input
func (*UpdatePsetRequest) GetOutputs ¶
func (x *UpdatePsetRequest) GetOutputs() []*Output
func (*UpdatePsetRequest) GetPset ¶
func (x *UpdatePsetRequest) GetPset() string
func (*UpdatePsetRequest) ProtoMessage ¶
func (*UpdatePsetRequest) ProtoMessage()
func (*UpdatePsetRequest) ProtoReflect ¶
func (x *UpdatePsetRequest) ProtoReflect() protoreflect.Message
func (*UpdatePsetRequest) Reset ¶
func (x *UpdatePsetRequest) Reset()
func (*UpdatePsetRequest) String ¶
func (x *UpdatePsetRequest) String() string
type UpdatePsetResponse ¶
type UpdatePsetResponse struct { // Updated partial transaction in base64 format. Pset string `protobuf:"bytes,1,opt,name=pset,proto3" json:"pset,omitempty"` // contains filtered or unexported fields }
func (*UpdatePsetResponse) Descriptor
deprecated
func (*UpdatePsetResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePsetResponse.ProtoReflect.Descriptor instead.
func (*UpdatePsetResponse) GetPset ¶
func (x *UpdatePsetResponse) GetPset() string
func (*UpdatePsetResponse) ProtoMessage ¶
func (*UpdatePsetResponse) ProtoMessage()
func (*UpdatePsetResponse) ProtoReflect ¶
func (x *UpdatePsetResponse) ProtoReflect() protoreflect.Message
func (*UpdatePsetResponse) Reset ¶
func (x *UpdatePsetResponse) Reset()
func (*UpdatePsetResponse) String ¶
func (x *UpdatePsetResponse) String() string
type Utxo ¶
type Utxo struct { // Txid of the uxo. Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // Output index. Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // Asset. Asset string `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` // Value. Value uint64 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"` // Script. Script string `protobuf:"bytes,5,opt,name=script,proto3" json:"script,omitempty"` // Asset blinder for confidential utxo. AssetBlinder string `protobuf:"bytes,6,opt,name=asset_blinder,json=assetBlinder,proto3" json:"asset_blinder,omitempty"` // Value blinder for confidential utxo. ValueBlinder string `protobuf:"bytes,7,opt,name=value_blinder,json=valueBlinder,proto3" json:"value_blinder,omitempty"` // Namespace of the account owning the utxo. AccountName string `protobuf:"bytes,8,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // Info about utxo's spent status. SpentStatus *UtxoStatus `protobuf:"bytes,9,opt,name=spent_status,json=spentStatus,proto3" json:"spent_status,omitempty"` // Info about utxo's confirmation status. ConfirmedStatus *UtxoStatus `protobuf:"bytes,10,opt,name=confirmed_status,json=confirmedStatus,proto3" json:"confirmed_status,omitempty"` // Redeem script locking the utxo in case its owned by a multisig account. RedeemScript string `protobuf:"bytes,11,opt,name=redeem_script,json=redeemScript,proto3" json:"redeem_script,omitempty"` // contains filtered or unexported fields }
func (*Utxo) Descriptor
deprecated
func (*Utxo) GetAccountName ¶
func (*Utxo) GetAssetBlinder ¶
func (*Utxo) GetConfirmedStatus ¶
func (x *Utxo) GetConfirmedStatus() *UtxoStatus
func (*Utxo) GetRedeemScript ¶ added in v0.1.8
func (*Utxo) GetSpentStatus ¶
func (x *Utxo) GetSpentStatus() *UtxoStatus
func (*Utxo) GetValueBlinder ¶
func (*Utxo) ProtoMessage ¶
func (*Utxo) ProtoMessage()
func (*Utxo) ProtoReflect ¶
func (x *Utxo) ProtoReflect() protoreflect.Message
type UtxoEventType ¶
type UtxoEventType int32
const ( UtxoEventType_UTXO_EVENT_TYPE_UNSPECIFIED UtxoEventType = 0 UtxoEventType_UTXO_EVENT_TYPE_NEW UtxoEventType = 1 UtxoEventType_UTXO_EVENT_TYPE_CONFIRMED UtxoEventType = 2 UtxoEventType_UTXO_EVENT_TYPE_LOCKED UtxoEventType = 3 UtxoEventType_UTXO_EVENT_TYPE_UNLOCKED UtxoEventType = 4 UtxoEventType_UTXO_EVENT_TYPE_SPENT UtxoEventType = 5 UtxoEventType_UTXO_EVENT_TYPE_CONFIRMED_SPENT UtxoEventType = 6 )
func (UtxoEventType) Descriptor ¶
func (UtxoEventType) Descriptor() protoreflect.EnumDescriptor
func (UtxoEventType) Enum ¶
func (x UtxoEventType) Enum() *UtxoEventType
func (UtxoEventType) EnumDescriptor
deprecated
func (UtxoEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UtxoEventType.Descriptor instead.
func (UtxoEventType) Number ¶
func (x UtxoEventType) Number() protoreflect.EnumNumber
func (UtxoEventType) String ¶
func (x UtxoEventType) String() string
func (UtxoEventType) Type ¶
func (UtxoEventType) Type() protoreflect.EnumType
type UtxoStatus ¶
type UtxoStatus struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` BlockInfo *BlockDetails `protobuf:"bytes,2,opt,name=block_info,json=blockInfo,proto3" json:"block_info,omitempty"` Txhex string `protobuf:"bytes,3,opt,name=txhex,proto3" json:"txhex,omitempty"` // contains filtered or unexported fields }
func (*UtxoStatus) Descriptor
deprecated
func (*UtxoStatus) Descriptor() ([]byte, []int)
Deprecated: Use UtxoStatus.ProtoReflect.Descriptor instead.
func (*UtxoStatus) GetBlockInfo ¶
func (x *UtxoStatus) GetBlockInfo() *BlockDetails
func (*UtxoStatus) GetTxhex ¶ added in v0.1.3
func (x *UtxoStatus) GetTxhex() string
func (*UtxoStatus) GetTxid ¶
func (x *UtxoStatus) GetTxid() string
func (*UtxoStatus) ProtoMessage ¶
func (*UtxoStatus) ProtoMessage()
func (*UtxoStatus) ProtoReflect ¶
func (x *UtxoStatus) ProtoReflect() protoreflect.Message
func (*UtxoStatus) Reset ¶
func (x *UtxoStatus) Reset()
func (*UtxoStatus) String ¶
func (x *UtxoStatus) String() string
type Utxos ¶
type Utxos struct { // Account namespace. AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` // List of utxos. Utxos []*Utxo `protobuf:"bytes,2,rep,name=utxos,proto3" json:"utxos,omitempty"` // contains filtered or unexported fields }
func (*Utxos) Descriptor
deprecated
func (*Utxos) GetAccountName ¶
func (*Utxos) ProtoMessage ¶
func (*Utxos) ProtoMessage()
func (*Utxos) ProtoReflect ¶
func (x *Utxos) ProtoReflect() protoreflect.Message
type UtxosNotificationsRequest ¶
type UtxosNotificationsRequest struct {
// contains filtered or unexported fields
}
func (*UtxosNotificationsRequest) Descriptor
deprecated
func (*UtxosNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UtxosNotificationsRequest.ProtoReflect.Descriptor instead.
func (*UtxosNotificationsRequest) ProtoMessage ¶
func (*UtxosNotificationsRequest) ProtoMessage()
func (*UtxosNotificationsRequest) ProtoReflect ¶
func (x *UtxosNotificationsRequest) ProtoReflect() protoreflect.Message
func (*UtxosNotificationsRequest) Reset ¶
func (x *UtxosNotificationsRequest) Reset()
func (*UtxosNotificationsRequest) String ¶
func (x *UtxosNotificationsRequest) String() string
type UtxosNotificationsResponse ¶
type UtxosNotificationsResponse struct { // The event's type occured for the utxos. EventType UtxoEventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=ocean.v1.UtxoEventType" json:"event_type,omitempty"` // List of utxos for which occured the event. Utxos []*Utxo `protobuf:"bytes,2,rep,name=utxos,proto3" json:"utxos,omitempty"` // contains filtered or unexported fields }
func (*UtxosNotificationsResponse) Descriptor
deprecated
func (*UtxosNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UtxosNotificationsResponse.ProtoReflect.Descriptor instead.
func (*UtxosNotificationsResponse) GetEventType ¶
func (x *UtxosNotificationsResponse) GetEventType() UtxoEventType
func (*UtxosNotificationsResponse) GetUtxos ¶
func (x *UtxosNotificationsResponse) GetUtxos() []*Utxo
func (*UtxosNotificationsResponse) ProtoMessage ¶
func (*UtxosNotificationsResponse) ProtoMessage()
func (*UtxosNotificationsResponse) ProtoReflect ¶
func (x *UtxosNotificationsResponse) ProtoReflect() protoreflect.Message
func (*UtxosNotificationsResponse) Reset ¶
func (x *UtxosNotificationsResponse) Reset()
func (*UtxosNotificationsResponse) String ¶
func (x *UtxosNotificationsResponse) String() string
type WalletServiceClient ¶
type WalletServiceClient interface { // GenSeed returns signing and blinding seed that should be used to create a // new HD Wallet. GenSeed(ctx context.Context, in *GenSeedRequest, opts ...grpc.CallOption) (*GenSeedResponse, error) // CreateWallet creates an HD Wallet based on signing, blinding seeds, // encrypts them with the password and persists the encrypted seeds. CreateWallet(ctx context.Context, in *CreateWalletRequest, opts ...grpc.CallOption) (*CreateWalletResponse, error) // Unlock tries to unlock the HD Wallet using the given password. Unlock(ctx context.Context, in *UnlockRequest, opts ...grpc.CallOption) (*UnlockResponse, error) // Lock locks the HD wallet. Lock(ctx context.Context, in *LockRequest, opts ...grpc.CallOption) (*LockResponse, error) // ChangePassword changes the password used to encrypt/decrypt the HD seeds. // It requires the wallet to be locked. ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error) // RestoreWallet restores an HD Wallet based on signing and blinding seeds, // encrypts them with the password and persists the encrypted seeds. RestoreWallet(ctx context.Context, in *RestoreWalletRequest, opts ...grpc.CallOption) (WalletService_RestoreWalletClient, error) // Status returns info about the status of the wallet. Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) // GetInfo returns info about the HD wallet. GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) // Auth verifies whether the given password is valid without unlocking the wallet Auth(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error) }
WalletServiceClient is the client API for WalletService 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 NewWalletServiceClient ¶
func NewWalletServiceClient(cc grpc.ClientConnInterface) WalletServiceClient
type WalletServiceServer ¶
type WalletServiceServer interface { // GenSeed returns signing and blinding seed that should be used to create a // new HD Wallet. GenSeed(context.Context, *GenSeedRequest) (*GenSeedResponse, error) // CreateWallet creates an HD Wallet based on signing, blinding seeds, // encrypts them with the password and persists the encrypted seeds. CreateWallet(context.Context, *CreateWalletRequest) (*CreateWalletResponse, error) // Unlock tries to unlock the HD Wallet using the given password. Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error) // Lock locks the HD wallet. Lock(context.Context, *LockRequest) (*LockResponse, error) // ChangePassword changes the password used to encrypt/decrypt the HD seeds. // It requires the wallet to be locked. ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error) // RestoreWallet restores an HD Wallet based on signing and blinding seeds, // encrypts them with the password and persists the encrypted seeds. RestoreWallet(*RestoreWalletRequest, WalletService_RestoreWalletServer) error // Status returns info about the status of the wallet. Status(context.Context, *StatusRequest) (*StatusResponse, error) // GetInfo returns info about the HD wallet. GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) // Auth verifies whether the given password is valid without unlocking the wallet Auth(context.Context, *AuthRequest) (*AuthResponse, error) }
WalletServiceServer is the server API for WalletService service. All implementations should embed UnimplementedWalletServiceServer for forward compatibility
type WalletService_RestoreWalletClient ¶ added in v0.1.16
type WalletService_RestoreWalletClient interface { Recv() (*RestoreWalletResponse, error) grpc.ClientStream }
type WalletService_RestoreWalletServer ¶ added in v0.1.16
type WalletService_RestoreWalletServer interface { Send(*RestoreWalletResponse) error grpc.ServerStream }
type WatchExternalScriptRequest ¶ added in v0.2.0
type WatchExternalScriptRequest struct { // The script to watch. Script string `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` // Optional: the private blinding key in case the script locks confidential utxos to unblind. BlindingKey string `protobuf:"bytes,2,opt,name=blinding_key,json=blindingKey,proto3" json:"blinding_key,omitempty"` // contains filtered or unexported fields }
func (*WatchExternalScriptRequest) Descriptor
deprecated
added in
v0.2.0
func (*WatchExternalScriptRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchExternalScriptRequest.ProtoReflect.Descriptor instead.
func (*WatchExternalScriptRequest) GetBlindingKey ¶ added in v0.2.0
func (x *WatchExternalScriptRequest) GetBlindingKey() string
func (*WatchExternalScriptRequest) GetScript ¶ added in v0.2.0
func (x *WatchExternalScriptRequest) GetScript() string
func (*WatchExternalScriptRequest) ProtoMessage ¶ added in v0.2.0
func (*WatchExternalScriptRequest) ProtoMessage()
func (*WatchExternalScriptRequest) ProtoReflect ¶ added in v0.2.0
func (x *WatchExternalScriptRequest) ProtoReflect() protoreflect.Message
func (*WatchExternalScriptRequest) Reset ¶ added in v0.2.0
func (x *WatchExternalScriptRequest) Reset()
func (*WatchExternalScriptRequest) String ¶ added in v0.2.0
func (x *WatchExternalScriptRequest) String() string
type WatchExternalScriptResponse ¶ added in v0.2.0
type WatchExternalScriptResponse struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*WatchExternalScriptResponse) Descriptor
deprecated
added in
v0.2.0
func (*WatchExternalScriptResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchExternalScriptResponse.ProtoReflect.Descriptor instead.
func (*WatchExternalScriptResponse) GetLabel ¶ added in v0.2.0
func (x *WatchExternalScriptResponse) GetLabel() string
func (*WatchExternalScriptResponse) ProtoMessage ¶ added in v0.2.0
func (*WatchExternalScriptResponse) ProtoMessage()
func (*WatchExternalScriptResponse) ProtoReflect ¶ added in v0.2.0
func (x *WatchExternalScriptResponse) ProtoReflect() protoreflect.Message
func (*WatchExternalScriptResponse) Reset ¶ added in v0.2.0
func (x *WatchExternalScriptResponse) Reset()
func (*WatchExternalScriptResponse) String ¶ added in v0.2.0
func (x *WatchExternalScriptResponse) String() string
type WebhookEventType ¶
type WebhookEventType int32
const ( WebhookEventType_WEBHOOK_EVENT_TYPE_UNSPECIFIED WebhookEventType = 0 // Receive notification about transactions. WebhookEventType_WEBHOOK_EVENT_TYPE_TRANSACTION WebhookEventType = 1 // Receive notifications about utxos. WebhookEventType_WEBHOOK_EVENT_TYPE_UTXO WebhookEventType = 2 )
func (WebhookEventType) Descriptor ¶
func (WebhookEventType) Descriptor() protoreflect.EnumDescriptor
func (WebhookEventType) Enum ¶
func (x WebhookEventType) Enum() *WebhookEventType
func (WebhookEventType) EnumDescriptor
deprecated
func (WebhookEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WebhookEventType.Descriptor instead.
func (WebhookEventType) Number ¶
func (x WebhookEventType) Number() protoreflect.EnumNumber
func (WebhookEventType) String ¶
func (x WebhookEventType) String() string
func (WebhookEventType) Type ¶
func (WebhookEventType) Type() protoreflect.EnumType
type WebhookInfo ¶
type WebhookInfo struct { // The id of the webhook. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The endpoint of the external service to reach. Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Whether the outgoing requests are authenticated. IsSecured bool `protobuf:"varint,3,opt,name=is_secured,json=isSecured,proto3" json:"is_secured,omitempty"` // contains filtered or unexported fields }
func (*WebhookInfo) Descriptor
deprecated
func (*WebhookInfo) Descriptor() ([]byte, []int)
Deprecated: Use WebhookInfo.ProtoReflect.Descriptor instead.
func (*WebhookInfo) GetEndpoint ¶
func (x *WebhookInfo) GetEndpoint() string
func (*WebhookInfo) GetId ¶
func (x *WebhookInfo) GetId() string
func (*WebhookInfo) GetIsSecured ¶
func (x *WebhookInfo) GetIsSecured() bool
func (*WebhookInfo) ProtoMessage ¶
func (*WebhookInfo) ProtoMessage()
func (*WebhookInfo) ProtoReflect ¶
func (x *WebhookInfo) ProtoReflect() protoreflect.Message
func (*WebhookInfo) Reset ¶
func (x *WebhookInfo) Reset()
func (*WebhookInfo) String ¶
func (x *WebhookInfo) String() string