Documentation ¶
Index ¶
- Variables
- func RegisterKaspawalletdServer(s grpc.ServiceRegistrar, srv KaspawalletdServer)
- type AddressBalances
- func (*AddressBalances) Descriptor() ([]byte, []int)deprecated
- func (x *AddressBalances) GetAddress() string
- func (x *AddressBalances) GetAvailable() uint64
- func (x *AddressBalances) GetPending() uint64
- func (*AddressBalances) ProtoMessage()
- func (x *AddressBalances) ProtoReflect() protoreflect.Message
- func (x *AddressBalances) Reset()
- func (x *AddressBalances) String() string
- type BroadcastRequest
- func (*BroadcastRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastRequest) GetIsDomain() bool
- func (x *BroadcastRequest) GetTransactions() [][]byte
- func (*BroadcastRequest) ProtoMessage()
- func (x *BroadcastRequest) ProtoReflect() protoreflect.Message
- func (x *BroadcastRequest) Reset()
- func (x *BroadcastRequest) String() string
- type BroadcastResponse
- type CreateUnsignedTransactionsRequest
- func (*CreateUnsignedTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUnsignedTransactionsRequest) GetAddress() string
- func (x *CreateUnsignedTransactionsRequest) GetAmount() uint64
- func (x *CreateUnsignedTransactionsRequest) GetFrom() []string
- func (*CreateUnsignedTransactionsRequest) ProtoMessage()
- func (x *CreateUnsignedTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUnsignedTransactionsRequest) Reset()
- func (x *CreateUnsignedTransactionsRequest) String() string
- type CreateUnsignedTransactionsResponse
- func (*CreateUnsignedTransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUnsignedTransactionsResponse) GetUnsignedTransactions() [][]byte
- func (*CreateUnsignedTransactionsResponse) ProtoMessage()
- func (x *CreateUnsignedTransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUnsignedTransactionsResponse) Reset()
- func (x *CreateUnsignedTransactionsResponse) String() string
- type GetBalanceRequest
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceResponse) GetAddressBalances() []*AddressBalances
- func (x *GetBalanceResponse) GetAvailable() uint64
- func (x *GetBalanceResponse) GetPending() uint64
- func (*GetBalanceResponse) ProtoMessage()
- func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetBalanceResponse) Reset()
- func (x *GetBalanceResponse) String() string
- type GetExternalSpendableUTXOsRequest
- func (*GetExternalSpendableUTXOsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExternalSpendableUTXOsRequest) GetAddress() string
- func (*GetExternalSpendableUTXOsRequest) ProtoMessage()
- func (x *GetExternalSpendableUTXOsRequest) ProtoReflect() protoreflect.Message
- func (x *GetExternalSpendableUTXOsRequest) Reset()
- func (x *GetExternalSpendableUTXOsRequest) String() string
- type GetExternalSpendableUTXOsResponse
- func (*GetExternalSpendableUTXOsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetExternalSpendableUTXOsResponse) GetEntries() []*UtxosByAddressesEntry
- func (*GetExternalSpendableUTXOsResponse) ProtoMessage()
- func (x *GetExternalSpendableUTXOsResponse) ProtoReflect() protoreflect.Message
- func (x *GetExternalSpendableUTXOsResponse) Reset()
- func (x *GetExternalSpendableUTXOsResponse) String() string
- type KaspawalletdClient
- type KaspawalletdServer
- type NewAddressRequest
- type NewAddressResponse
- func (*NewAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NewAddressResponse) GetAddress() string
- func (*NewAddressResponse) ProtoMessage()
- func (x *NewAddressResponse) ProtoReflect() protoreflect.Message
- func (x *NewAddressResponse) Reset()
- func (x *NewAddressResponse) String() string
- type Outpoint
- type ScriptPublicKey
- func (*ScriptPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptPublicKey) GetScriptPublicKey() string
- func (x *ScriptPublicKey) GetVersion() uint32
- func (*ScriptPublicKey) ProtoMessage()
- func (x *ScriptPublicKey) ProtoReflect() protoreflect.Message
- func (x *ScriptPublicKey) Reset()
- func (x *ScriptPublicKey) String() string
- type SendRequest
- func (*SendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendRequest) GetAmount() uint64
- func (x *SendRequest) GetFrom() []string
- func (x *SendRequest) GetPassword() string
- func (x *SendRequest) GetToAddress() string
- func (*SendRequest) ProtoMessage()
- func (x *SendRequest) ProtoReflect() protoreflect.Message
- func (x *SendRequest) Reset()
- func (x *SendRequest) String() string
- type SendResponse
- type ShowAddressesRequest
- type ShowAddressesResponse
- func (*ShowAddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShowAddressesResponse) GetAddress() []string
- func (*ShowAddressesResponse) ProtoMessage()
- func (x *ShowAddressesResponse) ProtoReflect() protoreflect.Message
- func (x *ShowAddressesResponse) Reset()
- func (x *ShowAddressesResponse) String() string
- type ShutdownRequest
- type ShutdownResponse
- type SignRequest
- func (*SignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignRequest) GetPassword() string
- func (x *SignRequest) GetUnsignedTransactions() [][]byte
- func (*SignRequest) ProtoMessage()
- func (x *SignRequest) ProtoReflect() protoreflect.Message
- func (x *SignRequest) Reset()
- func (x *SignRequest) String() string
- type SignResponse
- type UnimplementedKaspawalletdServer
- func (UnimplementedKaspawalletdServer) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error)
- func (UnimplementedKaspawalletdServer) CreateUnsignedTransactions(context.Context, *CreateUnsignedTransactionsRequest) (*CreateUnsignedTransactionsResponse, error)
- func (UnimplementedKaspawalletdServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
- func (UnimplementedKaspawalletdServer) GetExternalSpendableUTXOs(context.Context, *GetExternalSpendableUTXOsRequest) (*GetExternalSpendableUTXOsResponse, error)
- func (UnimplementedKaspawalletdServer) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
- func (UnimplementedKaspawalletdServer) Send(context.Context, *SendRequest) (*SendResponse, error)
- func (UnimplementedKaspawalletdServer) ShowAddresses(context.Context, *ShowAddressesRequest) (*ShowAddressesResponse, error)
- func (UnimplementedKaspawalletdServer) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
- func (UnimplementedKaspawalletdServer) Sign(context.Context, *SignRequest) (*SignResponse, error)
- type UnsafeKaspawalletdServer
- type UtxoEntry
- func (*UtxoEntry) Descriptor() ([]byte, []int)deprecated
- func (x *UtxoEntry) GetAmount() uint64
- func (x *UtxoEntry) GetBlockDaaScore() uint64
- func (x *UtxoEntry) GetIsCoinbase() bool
- func (x *UtxoEntry) GetScriptPublicKey() *ScriptPublicKey
- func (*UtxoEntry) ProtoMessage()
- func (x *UtxoEntry) ProtoReflect() protoreflect.Message
- func (x *UtxoEntry) Reset()
- func (x *UtxoEntry) String() string
- type UtxosByAddressesEntry
- func (*UtxosByAddressesEntry) Descriptor() ([]byte, []int)deprecated
- func (x *UtxosByAddressesEntry) GetAddress() string
- func (x *UtxosByAddressesEntry) GetOutpoint() *Outpoint
- func (x *UtxosByAddressesEntry) GetUtxoEntry() *UtxoEntry
- func (*UtxosByAddressesEntry) ProtoMessage()
- func (x *UtxosByAddressesEntry) ProtoReflect() protoreflect.Message
- func (x *UtxosByAddressesEntry) Reset()
- func (x *UtxosByAddressesEntry) String() string
Constants ¶
This section is empty.
Variables ¶
var File_kaspawalletd_proto protoreflect.FileDescriptor
var Kaspawalletd_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kaspawalletd.kaspawalletd", HandlerType: (*KaspawalletdServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBalance", Handler: _Kaspawalletd_GetBalance_Handler, }, { MethodName: "GetExternalSpendableUTXOs", Handler: _Kaspawalletd_GetExternalSpendableUTXOs_Handler, }, { MethodName: "CreateUnsignedTransactions", Handler: _Kaspawalletd_CreateUnsignedTransactions_Handler, }, { MethodName: "ShowAddresses", Handler: _Kaspawalletd_ShowAddresses_Handler, }, { MethodName: "NewAddress", Handler: _Kaspawalletd_NewAddress_Handler, }, { MethodName: "Shutdown", Handler: _Kaspawalletd_Shutdown_Handler, }, { MethodName: "Broadcast", Handler: _Kaspawalletd_Broadcast_Handler, }, { MethodName: "Send", Handler: _Kaspawalletd_Send_Handler, }, { MethodName: "Sign", Handler: _Kaspawalletd_Sign_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kaspawalletd.proto", }
Kaspawalletd_ServiceDesc is the grpc.ServiceDesc for Kaspawalletd service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKaspawalletdServer ¶
func RegisterKaspawalletdServer(s grpc.ServiceRegistrar, srv KaspawalletdServer)
Types ¶
type AddressBalances ¶ added in v0.11.9
type AddressBalances struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Available uint64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` Pending uint64 `protobuf:"varint,3,opt,name=pending,proto3" json:"pending,omitempty"` // contains filtered or unexported fields }
func (*AddressBalances) Descriptor
deprecated
added in
v0.11.9
func (*AddressBalances) Descriptor() ([]byte, []int)
Deprecated: Use AddressBalances.ProtoReflect.Descriptor instead.
func (*AddressBalances) GetAddress ¶ added in v0.11.9
func (x *AddressBalances) GetAddress() string
func (*AddressBalances) GetAvailable ¶ added in v0.11.9
func (x *AddressBalances) GetAvailable() uint64
func (*AddressBalances) GetPending ¶ added in v0.11.9
func (x *AddressBalances) GetPending() uint64
func (*AddressBalances) ProtoMessage ¶ added in v0.11.9
func (*AddressBalances) ProtoMessage()
func (*AddressBalances) ProtoReflect ¶ added in v0.11.9
func (x *AddressBalances) ProtoReflect() protoreflect.Message
func (*AddressBalances) Reset ¶ added in v0.11.9
func (x *AddressBalances) Reset()
func (*AddressBalances) String ¶ added in v0.11.9
func (x *AddressBalances) String() string
type BroadcastRequest ¶
type BroadcastRequest struct { IsDomain bool `protobuf:"varint,1,opt,name=isDomain,proto3" json:"isDomain,omitempty"` Transactions [][]byte `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*BroadcastRequest) Descriptor
deprecated
func (*BroadcastRequest) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastRequest.ProtoReflect.Descriptor instead.
func (*BroadcastRequest) GetIsDomain ¶ added in v0.12.0
func (x *BroadcastRequest) GetIsDomain() bool
func (*BroadcastRequest) GetTransactions ¶ added in v0.12.0
func (x *BroadcastRequest) GetTransactions() [][]byte
func (*BroadcastRequest) ProtoMessage ¶
func (*BroadcastRequest) ProtoMessage()
func (*BroadcastRequest) ProtoReflect ¶
func (x *BroadcastRequest) ProtoReflect() protoreflect.Message
func (*BroadcastRequest) Reset ¶
func (x *BroadcastRequest) Reset()
func (*BroadcastRequest) String ¶
func (x *BroadcastRequest) String() string
type BroadcastResponse ¶
type BroadcastResponse struct { TxIDs []string `protobuf:"bytes,1,rep,name=txIDs,proto3" json:"txIDs,omitempty"` // contains filtered or unexported fields }
func (*BroadcastResponse) Descriptor
deprecated
func (*BroadcastResponse) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastResponse.ProtoReflect.Descriptor instead.
func (*BroadcastResponse) GetTxIDs ¶ added in v0.12.0
func (x *BroadcastResponse) GetTxIDs() []string
func (*BroadcastResponse) ProtoMessage ¶
func (*BroadcastResponse) ProtoMessage()
func (*BroadcastResponse) ProtoReflect ¶
func (x *BroadcastResponse) ProtoReflect() protoreflect.Message
func (*BroadcastResponse) Reset ¶
func (x *BroadcastResponse) Reset()
func (*BroadcastResponse) String ¶
func (x *BroadcastResponse) String() string
type CreateUnsignedTransactionsRequest ¶ added in v0.11.15
type CreateUnsignedTransactionsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` From []string `protobuf:"bytes,3,rep,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
func (*CreateUnsignedTransactionsRequest) Descriptor
deprecated
added in
v0.11.15
func (*CreateUnsignedTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUnsignedTransactionsRequest.ProtoReflect.Descriptor instead.
func (*CreateUnsignedTransactionsRequest) GetAddress ¶ added in v0.11.15
func (x *CreateUnsignedTransactionsRequest) GetAddress() string
func (*CreateUnsignedTransactionsRequest) GetAmount ¶ added in v0.11.15
func (x *CreateUnsignedTransactionsRequest) GetAmount() uint64
func (*CreateUnsignedTransactionsRequest) GetFrom ¶ added in v0.12.1
func (x *CreateUnsignedTransactionsRequest) GetFrom() []string
func (*CreateUnsignedTransactionsRequest) ProtoMessage ¶ added in v0.11.15
func (*CreateUnsignedTransactionsRequest) ProtoMessage()
func (*CreateUnsignedTransactionsRequest) ProtoReflect ¶ added in v0.11.15
func (x *CreateUnsignedTransactionsRequest) ProtoReflect() protoreflect.Message
func (*CreateUnsignedTransactionsRequest) Reset ¶ added in v0.11.15
func (x *CreateUnsignedTransactionsRequest) Reset()
func (*CreateUnsignedTransactionsRequest) String ¶ added in v0.11.15
func (x *CreateUnsignedTransactionsRequest) String() string
type CreateUnsignedTransactionsResponse ¶ added in v0.11.15
type CreateUnsignedTransactionsResponse struct { UnsignedTransactions [][]byte `protobuf:"bytes,1,rep,name=unsignedTransactions,proto3" json:"unsignedTransactions,omitempty"` // contains filtered or unexported fields }
func (*CreateUnsignedTransactionsResponse) Descriptor
deprecated
added in
v0.11.15
func (*CreateUnsignedTransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUnsignedTransactionsResponse.ProtoReflect.Descriptor instead.
func (*CreateUnsignedTransactionsResponse) GetUnsignedTransactions ¶ added in v0.11.15
func (x *CreateUnsignedTransactionsResponse) GetUnsignedTransactions() [][]byte
func (*CreateUnsignedTransactionsResponse) ProtoMessage ¶ added in v0.11.15
func (*CreateUnsignedTransactionsResponse) ProtoMessage()
func (*CreateUnsignedTransactionsResponse) ProtoReflect ¶ added in v0.11.15
func (x *CreateUnsignedTransactionsResponse) ProtoReflect() protoreflect.Message
func (*CreateUnsignedTransactionsResponse) Reset ¶ added in v0.11.15
func (x *CreateUnsignedTransactionsResponse) Reset()
func (*CreateUnsignedTransactionsResponse) String ¶ added in v0.11.15
func (x *CreateUnsignedTransactionsResponse) String() string
type GetBalanceRequest ¶
type GetBalanceRequest struct {
// contains filtered or unexported fields
}
func (*GetBalanceRequest) Descriptor
deprecated
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.
func (*GetBalanceRequest) ProtoMessage ¶
func (*GetBalanceRequest) ProtoMessage()
func (*GetBalanceRequest) ProtoReflect ¶
func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message
func (*GetBalanceRequest) Reset ¶
func (x *GetBalanceRequest) Reset()
func (*GetBalanceRequest) String ¶
func (x *GetBalanceRequest) String() string
type GetBalanceResponse ¶
type GetBalanceResponse struct { Available uint64 `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"` Pending uint64 `protobuf:"varint,2,opt,name=pending,proto3" json:"pending,omitempty"` AddressBalances []*AddressBalances `protobuf:"bytes,3,rep,name=addressBalances,proto3" json:"addressBalances,omitempty"` // contains filtered or unexported fields }
func (*GetBalanceResponse) Descriptor
deprecated
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.
func (*GetBalanceResponse) GetAddressBalances ¶ added in v0.11.9
func (x *GetBalanceResponse) GetAddressBalances() []*AddressBalances
func (*GetBalanceResponse) GetAvailable ¶
func (x *GetBalanceResponse) GetAvailable() uint64
func (*GetBalanceResponse) GetPending ¶
func (x *GetBalanceResponse) GetPending() 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 GetExternalSpendableUTXOsRequest ¶ added in v0.12.0
type GetExternalSpendableUTXOsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetExternalSpendableUTXOsRequest) Descriptor
deprecated
added in
v0.12.0
func (*GetExternalSpendableUTXOsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExternalSpendableUTXOsRequest.ProtoReflect.Descriptor instead.
func (*GetExternalSpendableUTXOsRequest) GetAddress ¶ added in v0.12.0
func (x *GetExternalSpendableUTXOsRequest) GetAddress() string
func (*GetExternalSpendableUTXOsRequest) ProtoMessage ¶ added in v0.12.0
func (*GetExternalSpendableUTXOsRequest) ProtoMessage()
func (*GetExternalSpendableUTXOsRequest) ProtoReflect ¶ added in v0.12.0
func (x *GetExternalSpendableUTXOsRequest) ProtoReflect() protoreflect.Message
func (*GetExternalSpendableUTXOsRequest) Reset ¶ added in v0.12.0
func (x *GetExternalSpendableUTXOsRequest) Reset()
func (*GetExternalSpendableUTXOsRequest) String ¶ added in v0.12.0
func (x *GetExternalSpendableUTXOsRequest) String() string
type GetExternalSpendableUTXOsResponse ¶ added in v0.12.0
type GetExternalSpendableUTXOsResponse struct { Entries []*UtxosByAddressesEntry `protobuf:"bytes,1,rep,name=Entries,proto3" json:"Entries,omitempty"` // contains filtered or unexported fields }
func (*GetExternalSpendableUTXOsResponse) Descriptor
deprecated
added in
v0.12.0
func (*GetExternalSpendableUTXOsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetExternalSpendableUTXOsResponse.ProtoReflect.Descriptor instead.
func (*GetExternalSpendableUTXOsResponse) GetEntries ¶ added in v0.12.0
func (x *GetExternalSpendableUTXOsResponse) GetEntries() []*UtxosByAddressesEntry
func (*GetExternalSpendableUTXOsResponse) ProtoMessage ¶ added in v0.12.0
func (*GetExternalSpendableUTXOsResponse) ProtoMessage()
func (*GetExternalSpendableUTXOsResponse) ProtoReflect ¶ added in v0.12.0
func (x *GetExternalSpendableUTXOsResponse) ProtoReflect() protoreflect.Message
func (*GetExternalSpendableUTXOsResponse) Reset ¶ added in v0.12.0
func (x *GetExternalSpendableUTXOsResponse) Reset()
func (*GetExternalSpendableUTXOsResponse) String ¶ added in v0.12.0
func (x *GetExternalSpendableUTXOsResponse) String() string
type KaspawalletdClient ¶
type KaspawalletdClient interface { GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error) GetExternalSpendableUTXOs(ctx context.Context, in *GetExternalSpendableUTXOsRequest, opts ...grpc.CallOption) (*GetExternalSpendableUTXOsResponse, error) CreateUnsignedTransactions(ctx context.Context, in *CreateUnsignedTransactionsRequest, opts ...grpc.CallOption) (*CreateUnsignedTransactionsResponse, error) ShowAddresses(ctx context.Context, in *ShowAddressesRequest, opts ...grpc.CallOption) (*ShowAddressesResponse, error) NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error) Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error) Broadcast(ctx context.Context, in *BroadcastRequest, opts ...grpc.CallOption) (*BroadcastResponse, error) // Since SendRequest contains a password - this command should only be used on a trusted or secure connection Send(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error) // Since SignRequest contains a password - this command should only be used on a trusted or secure connection Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) }
KaspawalletdClient is the client API for Kaspawalletd 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 NewKaspawalletdClient ¶
func NewKaspawalletdClient(cc grpc.ClientConnInterface) KaspawalletdClient
type KaspawalletdServer ¶
type KaspawalletdServer interface { GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error) GetExternalSpendableUTXOs(context.Context, *GetExternalSpendableUTXOsRequest) (*GetExternalSpendableUTXOsResponse, error) CreateUnsignedTransactions(context.Context, *CreateUnsignedTransactionsRequest) (*CreateUnsignedTransactionsResponse, error) ShowAddresses(context.Context, *ShowAddressesRequest) (*ShowAddressesResponse, error) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error) // Since SendRequest contains a password - this command should only be used on a trusted or secure connection Send(context.Context, *SendRequest) (*SendResponse, error) // Since SignRequest contains a password - this command should only be used on a trusted or secure connection Sign(context.Context, *SignRequest) (*SignResponse, error) // contains filtered or unexported methods }
KaspawalletdServer is the server API for Kaspawalletd service. All implementations must embed UnimplementedKaspawalletdServer for forward compatibility
type NewAddressRequest ¶ added in v0.11.7
type NewAddressRequest struct {
// contains filtered or unexported fields
}
func (*NewAddressRequest) Descriptor
deprecated
added in
v0.11.7
func (*NewAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewAddressRequest.ProtoReflect.Descriptor instead.
func (*NewAddressRequest) ProtoMessage ¶ added in v0.11.7
func (*NewAddressRequest) ProtoMessage()
func (*NewAddressRequest) ProtoReflect ¶ added in v0.11.7
func (x *NewAddressRequest) ProtoReflect() protoreflect.Message
func (*NewAddressRequest) Reset ¶ added in v0.11.7
func (x *NewAddressRequest) Reset()
func (*NewAddressRequest) String ¶ added in v0.11.7
func (x *NewAddressRequest) String() string
type NewAddressResponse ¶ added in v0.11.7
type NewAddressResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*NewAddressResponse) Descriptor
deprecated
added in
v0.11.7
func (*NewAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewAddressResponse.ProtoReflect.Descriptor instead.
func (*NewAddressResponse) GetAddress ¶ added in v0.11.7
func (x *NewAddressResponse) GetAddress() string
func (*NewAddressResponse) ProtoMessage ¶ added in v0.11.7
func (*NewAddressResponse) ProtoMessage()
func (*NewAddressResponse) ProtoReflect ¶ added in v0.11.7
func (x *NewAddressResponse) ProtoReflect() protoreflect.Message
func (*NewAddressResponse) Reset ¶ added in v0.11.7
func (x *NewAddressResponse) Reset()
func (*NewAddressResponse) String ¶ added in v0.11.7
func (x *NewAddressResponse) String() string
type Outpoint ¶ added in v0.12.0
type Outpoint struct { TransactionId string `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*Outpoint) Descriptor
deprecated
added in
v0.12.0
func (*Outpoint) GetTransactionId ¶ added in v0.12.0
func (*Outpoint) ProtoMessage ¶ added in v0.12.0
func (*Outpoint) ProtoMessage()
func (*Outpoint) ProtoReflect ¶ added in v0.12.0
func (x *Outpoint) ProtoReflect() protoreflect.Message
type ScriptPublicKey ¶ added in v0.12.0
type ScriptPublicKey struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ScriptPublicKey string `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"` // contains filtered or unexported fields }
func (*ScriptPublicKey) Descriptor
deprecated
added in
v0.12.0
func (*ScriptPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use ScriptPublicKey.ProtoReflect.Descriptor instead.
func (*ScriptPublicKey) GetScriptPublicKey ¶ added in v0.12.0
func (x *ScriptPublicKey) GetScriptPublicKey() string
func (*ScriptPublicKey) GetVersion ¶ added in v0.12.0
func (x *ScriptPublicKey) GetVersion() uint32
func (*ScriptPublicKey) ProtoMessage ¶ added in v0.12.0
func (*ScriptPublicKey) ProtoMessage()
func (*ScriptPublicKey) ProtoReflect ¶ added in v0.12.0
func (x *ScriptPublicKey) ProtoReflect() protoreflect.Message
func (*ScriptPublicKey) Reset ¶ added in v0.12.0
func (x *ScriptPublicKey) Reset()
func (*ScriptPublicKey) String ¶ added in v0.12.0
func (x *ScriptPublicKey) String() string
type SendRequest ¶ added in v0.12.0
type SendRequest struct { ToAddress string `protobuf:"bytes,1,opt,name=toAddress,proto3" json:"toAddress,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` From []string `protobuf:"bytes,4,rep,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
Since SendRequest contains a password - this command should only be used on a trusted or secure connection
func (*SendRequest) Descriptor
deprecated
added in
v0.12.0
func (*SendRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.
func (*SendRequest) GetAmount ¶ added in v0.12.0
func (x *SendRequest) GetAmount() uint64
func (*SendRequest) GetFrom ¶ added in v0.12.1
func (x *SendRequest) GetFrom() []string
func (*SendRequest) GetPassword ¶ added in v0.12.0
func (x *SendRequest) GetPassword() string
func (*SendRequest) GetToAddress ¶ added in v0.12.0
func (x *SendRequest) GetToAddress() string
func (*SendRequest) ProtoMessage ¶ added in v0.12.0
func (*SendRequest) ProtoMessage()
func (*SendRequest) ProtoReflect ¶ added in v0.12.0
func (x *SendRequest) ProtoReflect() protoreflect.Message
func (*SendRequest) Reset ¶ added in v0.12.0
func (x *SendRequest) Reset()
func (*SendRequest) String ¶ added in v0.12.0
func (x *SendRequest) String() string
type SendResponse ¶ added in v0.12.0
type SendResponse struct { TxIDs []string `protobuf:"bytes,1,rep,name=txIDs,proto3" json:"txIDs,omitempty"` // contains filtered or unexported fields }
func (*SendResponse) Descriptor
deprecated
added in
v0.12.0
func (*SendResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.
func (*SendResponse) GetTxIDs ¶ added in v0.12.0
func (x *SendResponse) GetTxIDs() []string
func (*SendResponse) ProtoMessage ¶ added in v0.12.0
func (*SendResponse) ProtoMessage()
func (*SendResponse) ProtoReflect ¶ added in v0.12.0
func (x *SendResponse) ProtoReflect() protoreflect.Message
func (*SendResponse) Reset ¶ added in v0.12.0
func (x *SendResponse) Reset()
func (*SendResponse) String ¶ added in v0.12.0
func (x *SendResponse) String() string
type ShowAddressesRequest ¶ added in v0.11.7
type ShowAddressesRequest struct {
// contains filtered or unexported fields
}
func (*ShowAddressesRequest) Descriptor
deprecated
added in
v0.11.7
func (*ShowAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowAddressesRequest.ProtoReflect.Descriptor instead.
func (*ShowAddressesRequest) ProtoMessage ¶ added in v0.11.7
func (*ShowAddressesRequest) ProtoMessage()
func (*ShowAddressesRequest) ProtoReflect ¶ added in v0.11.7
func (x *ShowAddressesRequest) ProtoReflect() protoreflect.Message
func (*ShowAddressesRequest) Reset ¶ added in v0.11.7
func (x *ShowAddressesRequest) Reset()
func (*ShowAddressesRequest) String ¶ added in v0.11.7
func (x *ShowAddressesRequest) String() string
type ShowAddressesResponse ¶ added in v0.11.7
type ShowAddressesResponse struct { Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ShowAddressesResponse) Descriptor
deprecated
added in
v0.11.7
func (*ShowAddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowAddressesResponse.ProtoReflect.Descriptor instead.
func (*ShowAddressesResponse) GetAddress ¶ added in v0.11.7
func (x *ShowAddressesResponse) GetAddress() []string
func (*ShowAddressesResponse) ProtoMessage ¶ added in v0.11.7
func (*ShowAddressesResponse) ProtoMessage()
func (*ShowAddressesResponse) ProtoReflect ¶ added in v0.11.7
func (x *ShowAddressesResponse) ProtoReflect() protoreflect.Message
func (*ShowAddressesResponse) Reset ¶ added in v0.11.7
func (x *ShowAddressesResponse) Reset()
func (*ShowAddressesResponse) String ¶ added in v0.11.7
func (x *ShowAddressesResponse) String() string
type ShutdownRequest ¶
type ShutdownRequest struct {
// contains filtered or unexported fields
}
func (*ShutdownRequest) Descriptor
deprecated
func (*ShutdownRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.
func (*ShutdownRequest) ProtoMessage ¶
func (*ShutdownRequest) ProtoMessage()
func (*ShutdownRequest) ProtoReflect ¶
func (x *ShutdownRequest) ProtoReflect() protoreflect.Message
func (*ShutdownRequest) Reset ¶
func (x *ShutdownRequest) Reset()
func (*ShutdownRequest) String ¶
func (x *ShutdownRequest) String() string
type ShutdownResponse ¶
type ShutdownResponse struct {
// contains filtered or unexported fields
}
func (*ShutdownResponse) Descriptor
deprecated
func (*ShutdownResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.
func (*ShutdownResponse) ProtoMessage ¶
func (*ShutdownResponse) ProtoMessage()
func (*ShutdownResponse) ProtoReflect ¶
func (x *ShutdownResponse) ProtoReflect() protoreflect.Message
func (*ShutdownResponse) Reset ¶
func (x *ShutdownResponse) Reset()
func (*ShutdownResponse) String ¶
func (x *ShutdownResponse) String() string
type SignRequest ¶ added in v0.12.0
type SignRequest struct { UnsignedTransactions [][]byte `protobuf:"bytes,1,rep,name=unsignedTransactions,proto3" json:"unsignedTransactions,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
Since SignRequest contains a password - this command should only be used on a trusted or secure connection
func (*SignRequest) Descriptor
deprecated
added in
v0.12.0
func (*SignRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
func (*SignRequest) GetPassword ¶ added in v0.12.0
func (x *SignRequest) GetPassword() string
func (*SignRequest) GetUnsignedTransactions ¶ added in v0.12.0
func (x *SignRequest) GetUnsignedTransactions() [][]byte
func (*SignRequest) ProtoMessage ¶ added in v0.12.0
func (*SignRequest) ProtoMessage()
func (*SignRequest) ProtoReflect ¶ added in v0.12.0
func (x *SignRequest) ProtoReflect() protoreflect.Message
func (*SignRequest) Reset ¶ added in v0.12.0
func (x *SignRequest) Reset()
func (*SignRequest) String ¶ added in v0.12.0
func (x *SignRequest) String() string
type SignResponse ¶ added in v0.12.0
type SignResponse struct { SignedTransactions [][]byte `protobuf:"bytes,1,rep,name=signedTransactions,proto3" json:"signedTransactions,omitempty"` // contains filtered or unexported fields }
func (*SignResponse) Descriptor
deprecated
added in
v0.12.0
func (*SignResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignResponse.ProtoReflect.Descriptor instead.
func (*SignResponse) GetSignedTransactions ¶ added in v0.12.0
func (x *SignResponse) GetSignedTransactions() [][]byte
func (*SignResponse) ProtoMessage ¶ added in v0.12.0
func (*SignResponse) ProtoMessage()
func (*SignResponse) ProtoReflect ¶ added in v0.12.0
func (x *SignResponse) ProtoReflect() protoreflect.Message
func (*SignResponse) Reset ¶ added in v0.12.0
func (x *SignResponse) Reset()
func (*SignResponse) String ¶ added in v0.12.0
func (x *SignResponse) String() string
type UnimplementedKaspawalletdServer ¶
type UnimplementedKaspawalletdServer struct { }
UnimplementedKaspawalletdServer must be embedded to have forward compatible implementations.
func (UnimplementedKaspawalletdServer) Broadcast ¶
func (UnimplementedKaspawalletdServer) Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error)
func (UnimplementedKaspawalletdServer) CreateUnsignedTransactions ¶ added in v0.11.15
func (UnimplementedKaspawalletdServer) CreateUnsignedTransactions(context.Context, *CreateUnsignedTransactionsRequest) (*CreateUnsignedTransactionsResponse, error)
func (UnimplementedKaspawalletdServer) GetBalance ¶
func (UnimplementedKaspawalletdServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
func (UnimplementedKaspawalletdServer) GetExternalSpendableUTXOs ¶ added in v0.12.0
func (UnimplementedKaspawalletdServer) GetExternalSpendableUTXOs(context.Context, *GetExternalSpendableUTXOsRequest) (*GetExternalSpendableUTXOsResponse, error)
func (UnimplementedKaspawalletdServer) NewAddress ¶ added in v0.11.7
func (UnimplementedKaspawalletdServer) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
func (UnimplementedKaspawalletdServer) Send ¶ added in v0.12.0
func (UnimplementedKaspawalletdServer) Send(context.Context, *SendRequest) (*SendResponse, error)
func (UnimplementedKaspawalletdServer) ShowAddresses ¶ added in v0.11.7
func (UnimplementedKaspawalletdServer) ShowAddresses(context.Context, *ShowAddressesRequest) (*ShowAddressesResponse, error)
func (UnimplementedKaspawalletdServer) Shutdown ¶
func (UnimplementedKaspawalletdServer) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
func (UnimplementedKaspawalletdServer) Sign ¶ added in v0.12.0
func (UnimplementedKaspawalletdServer) Sign(context.Context, *SignRequest) (*SignResponse, error)
type UnsafeKaspawalletdServer ¶ added in v0.11.7
type UnsafeKaspawalletdServer interface {
// contains filtered or unexported methods
}
UnsafeKaspawalletdServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KaspawalletdServer will result in compilation errors.
type UtxoEntry ¶ added in v0.12.0
type UtxoEntry struct { Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` ScriptPublicKey *ScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"` BlockDaaScore uint64 `protobuf:"varint,3,opt,name=blockDaaScore,proto3" json:"blockDaaScore,omitempty"` IsCoinbase bool `protobuf:"varint,4,opt,name=isCoinbase,proto3" json:"isCoinbase,omitempty"` // contains filtered or unexported fields }
func (*UtxoEntry) Descriptor
deprecated
added in
v0.12.0
func (*UtxoEntry) GetBlockDaaScore ¶ added in v0.12.0
func (*UtxoEntry) GetIsCoinbase ¶ added in v0.12.0
func (*UtxoEntry) GetScriptPublicKey ¶ added in v0.12.0
func (x *UtxoEntry) GetScriptPublicKey() *ScriptPublicKey
func (*UtxoEntry) ProtoMessage ¶ added in v0.12.0
func (*UtxoEntry) ProtoMessage()
func (*UtxoEntry) ProtoReflect ¶ added in v0.12.0
func (x *UtxoEntry) ProtoReflect() protoreflect.Message
type UtxosByAddressesEntry ¶ added in v0.12.0
type UtxosByAddressesEntry struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Outpoint *Outpoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` UtxoEntry *UtxoEntry `protobuf:"bytes,3,opt,name=utxoEntry,proto3" json:"utxoEntry,omitempty"` // contains filtered or unexported fields }
func (*UtxosByAddressesEntry) Descriptor
deprecated
added in
v0.12.0
func (*UtxosByAddressesEntry) Descriptor() ([]byte, []int)
Deprecated: Use UtxosByAddressesEntry.ProtoReflect.Descriptor instead.
func (*UtxosByAddressesEntry) GetAddress ¶ added in v0.12.0
func (x *UtxosByAddressesEntry) GetAddress() string
func (*UtxosByAddressesEntry) GetOutpoint ¶ added in v0.12.0
func (x *UtxosByAddressesEntry) GetOutpoint() *Outpoint
func (*UtxosByAddressesEntry) GetUtxoEntry ¶ added in v0.12.0
func (x *UtxosByAddressesEntry) GetUtxoEntry() *UtxoEntry
func (*UtxosByAddressesEntry) ProtoMessage ¶ added in v0.12.0
func (*UtxosByAddressesEntry) ProtoMessage()
func (*UtxosByAddressesEntry) ProtoReflect ¶ added in v0.12.0
func (x *UtxosByAddressesEntry) ProtoReflect() protoreflect.Message
func (*UtxosByAddressesEntry) Reset ¶ added in v0.12.0
func (x *UtxosByAddressesEntry) Reset()
func (*UtxosByAddressesEntry) String ¶ added in v0.12.0
func (x *UtxosByAddressesEntry) String() string