Documentation ¶
Index ¶
- Variables
- type Confirmation
- func (*Confirmation) Descriptor() ([]byte, []int)deprecated
- func (x *Confirmation) GetHeight() uint32
- func (x *Confirmation) GetTimestamp() *timestamppb.Timestamp
- func (*Confirmation) ProtoMessage()
- func (x *Confirmation) ProtoReflect() protoreflect.Message
- func (x *Confirmation) Reset()
- func (x *Confirmation) String() string
- type CreateSidechainDepositRequest
- func (*CreateSidechainDepositRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSidechainDepositRequest) GetAmount() float64
- func (x *CreateSidechainDepositRequest) GetDestination() string
- func (x *CreateSidechainDepositRequest) GetFee() float64
- func (*CreateSidechainDepositRequest) ProtoMessage()
- func (x *CreateSidechainDepositRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSidechainDepositRequest) Reset()
- func (x *CreateSidechainDepositRequest) String() string
- type CreateSidechainDepositResponse
- func (*CreateSidechainDepositResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSidechainDepositResponse) GetTxid() string
- func (*CreateSidechainDepositResponse) ProtoMessage()
- func (x *CreateSidechainDepositResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSidechainDepositResponse) Reset()
- func (x *CreateSidechainDepositResponse) String() string
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceResponse) GetConfirmedSatoshi() uint64
- func (x *GetBalanceResponse) GetPendingSatoshi() uint64
- func (*GetBalanceResponse) ProtoMessage()
- func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetBalanceResponse) Reset()
- func (x *GetBalanceResponse) String() string
- type GetNewAddressResponse
- func (*GetNewAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNewAddressResponse) GetAddress() string
- func (x *GetNewAddressResponse) GetIndex() uint32
- func (*GetNewAddressResponse) ProtoMessage()
- func (x *GetNewAddressResponse) ProtoReflect() protoreflect.Message
- func (x *GetNewAddressResponse) Reset()
- func (x *GetNewAddressResponse) String() string
- type ListSidechainDepositsRequest
- func (*ListSidechainDepositsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSidechainDepositsRequest) GetSlot() int32
- func (*ListSidechainDepositsRequest) ProtoMessage()
- func (x *ListSidechainDepositsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSidechainDepositsRequest) Reset()
- func (x *ListSidechainDepositsRequest) String() string
- type ListSidechainDepositsResponse
- func (*ListSidechainDepositsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSidechainDepositsResponse) GetDeposits() []*ListSidechainDepositsResponse_SidechainDeposit
- func (*ListSidechainDepositsResponse) ProtoMessage()
- func (x *ListSidechainDepositsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSidechainDepositsResponse) Reset()
- func (x *ListSidechainDepositsResponse) String() string
- type ListSidechainDepositsResponse_SidechainDeposit
- func (*ListSidechainDepositsResponse_SidechainDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *ListSidechainDepositsResponse_SidechainDeposit) GetAddress() string
- func (x *ListSidechainDepositsResponse_SidechainDeposit) GetAmount() float64
- func (x *ListSidechainDepositsResponse_SidechainDeposit) GetConfirmations() int32
- func (x *ListSidechainDepositsResponse_SidechainDeposit) GetFee() float64
- func (x *ListSidechainDepositsResponse_SidechainDeposit) GetTxid() string
- func (*ListSidechainDepositsResponse_SidechainDeposit) ProtoMessage()
- func (x *ListSidechainDepositsResponse_SidechainDeposit) ProtoReflect() protoreflect.Message
- func (x *ListSidechainDepositsResponse_SidechainDeposit) Reset()
- func (x *ListSidechainDepositsResponse_SidechainDeposit) String() string
- type ListTransactionsResponse
- func (*ListTransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransactionsResponse) GetTransactions() []*WalletTransaction
- func (*ListTransactionsResponse) ProtoMessage()
- func (x *ListTransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTransactionsResponse) Reset()
- func (x *ListTransactionsResponse) String() string
- type SendTransactionRequest
- func (*SendTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendTransactionRequest) GetDestinations() map[string]uint64
- func (x *SendTransactionRequest) GetFeeRate() float64
- func (x *SendTransactionRequest) GetOpReturnMessage() string
- func (*SendTransactionRequest) ProtoMessage()
- func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SendTransactionRequest) Reset()
- func (x *SendTransactionRequest) String() string
- type SendTransactionResponse
- func (*SendTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendTransactionResponse) GetTxid() string
- func (*SendTransactionResponse) ProtoMessage()
- func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SendTransactionResponse) Reset()
- func (x *SendTransactionResponse) String() string
- type WalletTransaction
- func (*WalletTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *WalletTransaction) GetConfirmationTime() *Confirmation
- func (x *WalletTransaction) GetFeeSats() uint64
- func (x *WalletTransaction) GetReceivedSatoshi() uint64
- func (x *WalletTransaction) GetSentSatoshi() uint64
- func (x *WalletTransaction) GetTxid() string
- func (*WalletTransaction) ProtoMessage()
- func (x *WalletTransaction) ProtoReflect() protoreflect.Message
- func (x *WalletTransaction) Reset()
- func (x *WalletTransaction) String() string
Constants ¶
This section is empty.
Variables ¶
var File_wallet_v1_wallet_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Confirmation ¶
type Confirmation struct { Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Confirmation) Descriptor
deprecated
func (*Confirmation) Descriptor() ([]byte, []int)
Deprecated: Use Confirmation.ProtoReflect.Descriptor instead.
func (*Confirmation) GetHeight ¶
func (x *Confirmation) GetHeight() uint32
func (*Confirmation) GetTimestamp ¶
func (x *Confirmation) GetTimestamp() *timestamppb.Timestamp
func (*Confirmation) ProtoMessage ¶
func (*Confirmation) ProtoMessage()
func (*Confirmation) ProtoReflect ¶
func (x *Confirmation) ProtoReflect() protoreflect.Message
func (*Confirmation) Reset ¶
func (x *Confirmation) Reset()
func (*Confirmation) String ¶
func (x *Confirmation) String() string
type CreateSidechainDepositRequest ¶
type CreateSidechainDepositRequest struct { // The sidechain deposit address to send to. Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // The amount in BTC to send. eg 0.1 Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"` // The fee in BTC Fee float64 `protobuf:"fixed64,3,opt,name=fee,proto3" json:"fee,omitempty"` // contains filtered or unexported fields }
func (*CreateSidechainDepositRequest) Descriptor
deprecated
func (*CreateSidechainDepositRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSidechainDepositRequest.ProtoReflect.Descriptor instead.
func (*CreateSidechainDepositRequest) GetAmount ¶
func (x *CreateSidechainDepositRequest) GetAmount() float64
func (*CreateSidechainDepositRequest) GetDestination ¶
func (x *CreateSidechainDepositRequest) GetDestination() string
func (*CreateSidechainDepositRequest) GetFee ¶
func (x *CreateSidechainDepositRequest) GetFee() float64
func (*CreateSidechainDepositRequest) ProtoMessage ¶
func (*CreateSidechainDepositRequest) ProtoMessage()
func (*CreateSidechainDepositRequest) ProtoReflect ¶
func (x *CreateSidechainDepositRequest) ProtoReflect() protoreflect.Message
func (*CreateSidechainDepositRequest) Reset ¶
func (x *CreateSidechainDepositRequest) Reset()
func (*CreateSidechainDepositRequest) String ¶
func (x *CreateSidechainDepositRequest) String() string
type CreateSidechainDepositResponse ¶
type CreateSidechainDepositResponse struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // contains filtered or unexported fields }
func (*CreateSidechainDepositResponse) Descriptor
deprecated
func (*CreateSidechainDepositResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSidechainDepositResponse.ProtoReflect.Descriptor instead.
func (*CreateSidechainDepositResponse) GetTxid ¶
func (x *CreateSidechainDepositResponse) GetTxid() string
func (*CreateSidechainDepositResponse) ProtoMessage ¶
func (*CreateSidechainDepositResponse) ProtoMessage()
func (*CreateSidechainDepositResponse) ProtoReflect ¶
func (x *CreateSidechainDepositResponse) ProtoReflect() protoreflect.Message
func (*CreateSidechainDepositResponse) Reset ¶
func (x *CreateSidechainDepositResponse) Reset()
func (*CreateSidechainDepositResponse) String ¶
func (x *CreateSidechainDepositResponse) String() string
type GetBalanceResponse ¶
type GetBalanceResponse struct { ConfirmedSatoshi uint64 `protobuf:"varint,1,opt,name=confirmed_satoshi,json=confirmedSatoshi,proto3" json:"confirmed_satoshi,omitempty"` PendingSatoshi uint64 `protobuf:"varint,2,opt,name=pending_satoshi,json=pendingSatoshi,proto3" json:"pending_satoshi,omitempty"` // contains filtered or unexported fields }
func (*GetBalanceResponse) Descriptor
deprecated
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.
func (*GetBalanceResponse) GetConfirmedSatoshi ¶
func (x *GetBalanceResponse) GetConfirmedSatoshi() uint64
func (*GetBalanceResponse) GetPendingSatoshi ¶
func (x *GetBalanceResponse) GetPendingSatoshi() uint64
func (*GetBalanceResponse) ProtoMessage ¶
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) ProtoReflect ¶
func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
func (*GetBalanceResponse) Reset ¶
func (x *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶
func (x *GetBalanceResponse) String() string
type GetNewAddressResponse ¶
type GetNewAddressResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*GetNewAddressResponse) Descriptor
deprecated
func (*GetNewAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNewAddressResponse.ProtoReflect.Descriptor instead.
func (*GetNewAddressResponse) GetAddress ¶
func (x *GetNewAddressResponse) GetAddress() string
func (*GetNewAddressResponse) GetIndex ¶
func (x *GetNewAddressResponse) GetIndex() uint32
func (*GetNewAddressResponse) ProtoMessage ¶
func (*GetNewAddressResponse) ProtoMessage()
func (*GetNewAddressResponse) ProtoReflect ¶
func (x *GetNewAddressResponse) ProtoReflect() protoreflect.Message
func (*GetNewAddressResponse) Reset ¶
func (x *GetNewAddressResponse) Reset()
func (*GetNewAddressResponse) String ¶
func (x *GetNewAddressResponse) String() string
type ListSidechainDepositsRequest ¶
type ListSidechainDepositsRequest struct { Slot int32 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` // contains filtered or unexported fields }
func (*ListSidechainDepositsRequest) Descriptor
deprecated
func (*ListSidechainDepositsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSidechainDepositsRequest.ProtoReflect.Descriptor instead.
func (*ListSidechainDepositsRequest) GetSlot ¶
func (x *ListSidechainDepositsRequest) GetSlot() int32
func (*ListSidechainDepositsRequest) ProtoMessage ¶
func (*ListSidechainDepositsRequest) ProtoMessage()
func (*ListSidechainDepositsRequest) ProtoReflect ¶
func (x *ListSidechainDepositsRequest) ProtoReflect() protoreflect.Message
func (*ListSidechainDepositsRequest) Reset ¶
func (x *ListSidechainDepositsRequest) Reset()
func (*ListSidechainDepositsRequest) String ¶
func (x *ListSidechainDepositsRequest) String() string
type ListSidechainDepositsResponse ¶
type ListSidechainDepositsResponse struct { Deposits []*ListSidechainDepositsResponse_SidechainDeposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits,omitempty"` // contains filtered or unexported fields }
func (*ListSidechainDepositsResponse) Descriptor
deprecated
func (*ListSidechainDepositsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSidechainDepositsResponse.ProtoReflect.Descriptor instead.
func (*ListSidechainDepositsResponse) GetDeposits ¶
func (x *ListSidechainDepositsResponse) GetDeposits() []*ListSidechainDepositsResponse_SidechainDeposit
func (*ListSidechainDepositsResponse) ProtoMessage ¶
func (*ListSidechainDepositsResponse) ProtoMessage()
func (*ListSidechainDepositsResponse) ProtoReflect ¶
func (x *ListSidechainDepositsResponse) ProtoReflect() protoreflect.Message
func (*ListSidechainDepositsResponse) Reset ¶
func (x *ListSidechainDepositsResponse) Reset()
func (*ListSidechainDepositsResponse) String ¶
func (x *ListSidechainDepositsResponse) String() string
type ListSidechainDepositsResponse_SidechainDeposit ¶
type ListSidechainDepositsResponse_SidechainDeposit struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"` Fee float64 `protobuf:"fixed64,4,opt,name=fee,proto3" json:"fee,omitempty"` Confirmations int32 `protobuf:"varint,5,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // contains filtered or unexported fields }
func (*ListSidechainDepositsResponse_SidechainDeposit) Descriptor
deprecated
func (*ListSidechainDepositsResponse_SidechainDeposit) Descriptor() ([]byte, []int)
Deprecated: Use ListSidechainDepositsResponse_SidechainDeposit.ProtoReflect.Descriptor instead.
func (*ListSidechainDepositsResponse_SidechainDeposit) GetAddress ¶
func (x *ListSidechainDepositsResponse_SidechainDeposit) GetAddress() string
func (*ListSidechainDepositsResponse_SidechainDeposit) GetAmount ¶
func (x *ListSidechainDepositsResponse_SidechainDeposit) GetAmount() float64
func (*ListSidechainDepositsResponse_SidechainDeposit) GetConfirmations ¶
func (x *ListSidechainDepositsResponse_SidechainDeposit) GetConfirmations() int32
func (*ListSidechainDepositsResponse_SidechainDeposit) GetFee ¶
func (x *ListSidechainDepositsResponse_SidechainDeposit) GetFee() float64
func (*ListSidechainDepositsResponse_SidechainDeposit) GetTxid ¶
func (x *ListSidechainDepositsResponse_SidechainDeposit) GetTxid() string
func (*ListSidechainDepositsResponse_SidechainDeposit) ProtoMessage ¶
func (*ListSidechainDepositsResponse_SidechainDeposit) ProtoMessage()
func (*ListSidechainDepositsResponse_SidechainDeposit) ProtoReflect ¶
func (x *ListSidechainDepositsResponse_SidechainDeposit) ProtoReflect() protoreflect.Message
func (*ListSidechainDepositsResponse_SidechainDeposit) Reset ¶
func (x *ListSidechainDepositsResponse_SidechainDeposit) Reset()
func (*ListSidechainDepositsResponse_SidechainDeposit) String ¶
func (x *ListSidechainDepositsResponse_SidechainDeposit) String() string
type ListTransactionsResponse ¶
type ListTransactionsResponse struct { Transactions []*WalletTransaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*ListTransactionsResponse) Descriptor
deprecated
func (*ListTransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTransactionsResponse.ProtoReflect.Descriptor instead.
func (*ListTransactionsResponse) GetTransactions ¶
func (x *ListTransactionsResponse) GetTransactions() []*WalletTransaction
func (*ListTransactionsResponse) ProtoMessage ¶
func (*ListTransactionsResponse) ProtoMessage()
func (*ListTransactionsResponse) ProtoReflect ¶
func (x *ListTransactionsResponse) ProtoReflect() protoreflect.Message
func (*ListTransactionsResponse) Reset ¶
func (x *ListTransactionsResponse) Reset()
func (*ListTransactionsResponse) String ¶
func (x *ListTransactionsResponse) String() string
type SendTransactionRequest ¶
type SendTransactionRequest struct { // Address -> satoshi amount Destinations map[string]uint64 `` /* 166-byte string literal not displayed */ // Fee rate, measured in BTC/kvB. If set to zero, a reasonable // rate is used by asking Core for an estimate. FeeRate float64 `protobuf:"fixed64,2,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"` // Message to include as an OP_RETURN output OpReturnMessage *string `protobuf:"bytes,3,opt,name=op_return_message,json=opReturnMessage,proto3,oneof" json:"op_return_message,omitempty"` // contains filtered or unexported fields }
func (*SendTransactionRequest) Descriptor
deprecated
func (*SendTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendTransactionRequest.ProtoReflect.Descriptor instead.
func (*SendTransactionRequest) GetDestinations ¶
func (x *SendTransactionRequest) GetDestinations() map[string]uint64
func (*SendTransactionRequest) GetFeeRate ¶
func (x *SendTransactionRequest) GetFeeRate() float64
func (*SendTransactionRequest) GetOpReturnMessage ¶
func (x *SendTransactionRequest) GetOpReturnMessage() string
func (*SendTransactionRequest) ProtoMessage ¶
func (*SendTransactionRequest) ProtoMessage()
func (*SendTransactionRequest) ProtoReflect ¶
func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message
func (*SendTransactionRequest) Reset ¶
func (x *SendTransactionRequest) Reset()
func (*SendTransactionRequest) String ¶
func (x *SendTransactionRequest) String() string
type SendTransactionResponse ¶
type SendTransactionResponse struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // contains filtered or unexported fields }
func (*SendTransactionResponse) Descriptor
deprecated
func (*SendTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendTransactionResponse.ProtoReflect.Descriptor instead.
func (*SendTransactionResponse) GetTxid ¶
func (x *SendTransactionResponse) GetTxid() string
func (*SendTransactionResponse) ProtoMessage ¶
func (*SendTransactionResponse) ProtoMessage()
func (*SendTransactionResponse) ProtoReflect ¶
func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message
func (*SendTransactionResponse) Reset ¶
func (x *SendTransactionResponse) Reset()
func (*SendTransactionResponse) String ¶
func (x *SendTransactionResponse) String() string
type WalletTransaction ¶
type WalletTransaction struct { Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` FeeSats uint64 `protobuf:"varint,2,opt,name=fee_sats,json=feeSatoshi,proto3" json:"fee_sats,omitempty"` ReceivedSatoshi uint64 `protobuf:"varint,3,opt,name=received_satoshi,json=receivedSatoshi,proto3" json:"received_satoshi,omitempty"` SentSatoshi uint64 `protobuf:"varint,4,opt,name=sent_satoshi,json=sentSatoshi,proto3" json:"sent_satoshi,omitempty"` ConfirmationTime *Confirmation `protobuf:"bytes,5,opt,name=confirmation_time,json=confirmationTime,proto3" json:"confirmation_time,omitempty"` // contains filtered or unexported fields }
func (*WalletTransaction) Descriptor
deprecated
func (*WalletTransaction) Descriptor() ([]byte, []int)
Deprecated: Use WalletTransaction.ProtoReflect.Descriptor instead.
func (*WalletTransaction) GetConfirmationTime ¶
func (x *WalletTransaction) GetConfirmationTime() *Confirmation
func (*WalletTransaction) GetFeeSats ¶
func (x *WalletTransaction) GetFeeSats() uint64
func (*WalletTransaction) GetReceivedSatoshi ¶
func (x *WalletTransaction) GetReceivedSatoshi() uint64
func (*WalletTransaction) GetSentSatoshi ¶
func (x *WalletTransaction) GetSentSatoshi() uint64
func (*WalletTransaction) GetTxid ¶
func (x *WalletTransaction) GetTxid() string
func (*WalletTransaction) ProtoMessage ¶
func (*WalletTransaction) ProtoMessage()
func (*WalletTransaction) ProtoReflect ¶
func (x *WalletTransaction) ProtoReflect() protoreflect.Message
func (*WalletTransaction) Reset ¶
func (x *WalletTransaction) Reset()
func (*WalletTransaction) String ¶
func (x *WalletTransaction) String() string