Documentation ¶
Overview ¶
Package alicev1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAliceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAliceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AliceServiceClient) error
- func RegisterAliceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAliceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AliceServiceServer) error
- func RegisterAliceServiceServer(s grpc.ServiceRegistrar, srv AliceServiceServer)
- type AliceServiceClient
- type AliceServiceServer
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetChainId() uint32
- func (x *Block) GetGroupSignatureHash() string
- func (x *Block) GetHeaderRootHash() string
- func (x *Block) GetHeight() uint32
- func (x *Block) GetObserveTime() *timestamppb.Timestamp
- func (x *Block) GetPreviousBlockHash() string
- func (x *Block) GetStateRootHash() string
- func (x *Block) GetTransactionCount() uint32
- func (x *Block) GetTransactionHashes() []string
- func (x *Block) GetTransactionRootHash() string
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- func (m *Block) Validate() error
- func (m *Block) ValidateAll() error
- type BlockMultiError
- type BlockValidationError
- type GetBalanceRequest
- func (*GetBalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceRequest) GetAddress() string
- func (*GetBalanceRequest) ProtoMessage()
- func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message
- func (x *GetBalanceRequest) Reset()
- func (x *GetBalanceRequest) String() string
- func (m *GetBalanceRequest) Validate() error
- func (m *GetBalanceRequest) ValidateAll() error
- type GetBalanceRequestMultiError
- type GetBalanceRequestValidationError
- func (e GetBalanceRequestValidationError) Cause() error
- func (e GetBalanceRequestValidationError) Error() string
- func (e GetBalanceRequestValidationError) ErrorName() string
- func (e GetBalanceRequestValidationError) Field() string
- func (e GetBalanceRequestValidationError) Key() bool
- func (e GetBalanceRequestValidationError) Reason() string
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBalanceResponse) GetBalance() string
- func (*GetBalanceResponse) ProtoMessage()
- func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetBalanceResponse) Reset()
- func (x *GetBalanceResponse) String() string
- func (m *GetBalanceResponse) Validate() error
- func (m *GetBalanceResponse) ValidateAll() error
- type GetBalanceResponseMultiError
- type GetBalanceResponseValidationError
- func (e GetBalanceResponseValidationError) Cause() error
- func (e GetBalanceResponseValidationError) Error() string
- func (e GetBalanceResponseValidationError) ErrorName() string
- func (e GetBalanceResponseValidationError) Field() string
- func (e GetBalanceResponseValidationError) Key() bool
- func (e GetBalanceResponseValidationError) Reason() string
- type GetBlockRequest
- func (*GetBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockRequest) GetHeight() uint32
- func (*GetBlockRequest) ProtoMessage()
- func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockRequest) Reset()
- func (x *GetBlockRequest) String() string
- func (m *GetBlockRequest) Validate() error
- func (m *GetBlockRequest) ValidateAll() error
- type GetBlockRequestMultiError
- type GetBlockRequestValidationError
- func (e GetBlockRequestValidationError) Cause() error
- func (e GetBlockRequestValidationError) Error() string
- func (e GetBlockRequestValidationError) ErrorName() string
- func (e GetBlockRequestValidationError) Field() string
- func (e GetBlockRequestValidationError) Key() bool
- func (e GetBlockRequestValidationError) Reason() string
- type GetBlockResponse
- func (*GetBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockResponse) GetBlock() *Block
- func (*GetBlockResponse) ProtoMessage()
- func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockResponse) Reset()
- func (x *GetBlockResponse) String() string
- func (m *GetBlockResponse) Validate() error
- func (m *GetBlockResponse) ValidateAll() error
- type GetBlockResponseMultiError
- type GetBlockResponseValidationError
- func (e GetBlockResponseValidationError) Cause() error
- func (e GetBlockResponseValidationError) Error() string
- func (e GetBlockResponseValidationError) ErrorName() string
- func (e GetBlockResponseValidationError) Field() string
- func (e GetBlockResponseValidationError) Key() bool
- func (e GetBlockResponseValidationError) Reason() string
- type GetStoreValueRequest
- func (*GetStoreValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStoreValueRequest) GetAddress() string
- func (x *GetStoreValueRequest) GetIndex() string
- func (*GetStoreValueRequest) ProtoMessage()
- func (x *GetStoreValueRequest) ProtoReflect() protoreflect.Message
- func (x *GetStoreValueRequest) Reset()
- func (x *GetStoreValueRequest) String() string
- func (m *GetStoreValueRequest) Validate() error
- func (m *GetStoreValueRequest) ValidateAll() error
- type GetStoreValueRequestMultiError
- type GetStoreValueRequestValidationError
- func (e GetStoreValueRequestValidationError) Cause() error
- func (e GetStoreValueRequestValidationError) Error() string
- func (e GetStoreValueRequestValidationError) ErrorName() string
- func (e GetStoreValueRequestValidationError) Field() string
- func (e GetStoreValueRequestValidationError) Key() bool
- func (e GetStoreValueRequestValidationError) Reason() string
- type GetStoreValueResponse
- func (*GetStoreValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStoreValueResponse) GetIssuedAt() uint32
- func (x *GetStoreValueResponse) GetValue() string
- func (*GetStoreValueResponse) ProtoMessage()
- func (x *GetStoreValueResponse) ProtoReflect() protoreflect.Message
- func (x *GetStoreValueResponse) Reset()
- func (x *GetStoreValueResponse) String() string
- func (m *GetStoreValueResponse) Validate() error
- func (m *GetStoreValueResponse) ValidateAll() error
- type GetStoreValueResponseMultiError
- type GetStoreValueResponseValidationError
- func (e GetStoreValueResponseValidationError) Cause() error
- func (e GetStoreValueResponseValidationError) Error() string
- func (e GetStoreValueResponseValidationError) ErrorName() string
- func (e GetStoreValueResponseValidationError) Field() string
- func (e GetStoreValueResponseValidationError) Key() bool
- func (e GetStoreValueResponseValidationError) Reason() string
- type GetTransactionRequest
- func (*GetTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionRequest) GetTransaction() string
- func (*GetTransactionRequest) ProtoMessage()
- func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionRequest) Reset()
- func (x *GetTransactionRequest) String() string
- func (m *GetTransactionRequest) Validate() error
- func (m *GetTransactionRequest) ValidateAll() error
- type GetTransactionRequestMultiError
- type GetTransactionRequestValidationError
- func (e GetTransactionRequestValidationError) Cause() error
- func (e GetTransactionRequestValidationError) Error() string
- func (e GetTransactionRequestValidationError) ErrorName() string
- func (e GetTransactionRequestValidationError) Field() string
- func (e GetTransactionRequestValidationError) Key() bool
- func (e GetTransactionRequestValidationError) Reason() string
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionResponse) GetTransaction() *Transaction
- func (*GetTransactionResponse) ProtoMessage()
- func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionResponse) Reset()
- func (x *GetTransactionResponse) String() string
- func (m *GetTransactionResponse) Validate() error
- func (m *GetTransactionResponse) ValidateAll() error
- type GetTransactionResponseMultiError
- type GetTransactionResponseValidationError
- func (e GetTransactionResponseValidationError) Cause() error
- func (e GetTransactionResponseValidationError) Error() string
- func (e GetTransactionResponseValidationError) ErrorName() string
- func (e GetTransactionResponseValidationError) Field() string
- func (e GetTransactionResponseValidationError) Key() bool
- func (e GetTransactionResponseValidationError) Reason() string
- type ListBlocksRequest
- func (*ListBlocksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlocksRequest) GetLimit() int64
- func (x *ListBlocksRequest) GetOffset() int64
- func (*ListBlocksRequest) ProtoMessage()
- func (x *ListBlocksRequest) ProtoReflect() protoreflect.Message
- func (x *ListBlocksRequest) Reset()
- func (x *ListBlocksRequest) String() string
- func (m *ListBlocksRequest) Validate() error
- func (m *ListBlocksRequest) ValidateAll() error
- type ListBlocksRequestMultiError
- type ListBlocksRequestValidationError
- func (e ListBlocksRequestValidationError) Cause() error
- func (e ListBlocksRequestValidationError) Error() string
- func (e ListBlocksRequestValidationError) ErrorName() string
- func (e ListBlocksRequestValidationError) Field() string
- func (e ListBlocksRequestValidationError) Key() bool
- func (e ListBlocksRequestValidationError) Reason() string
- type ListBlocksResponse
- func (*ListBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlocksResponse) GetHeights() []uint32
- func (*ListBlocksResponse) ProtoMessage()
- func (x *ListBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *ListBlocksResponse) Reset()
- func (x *ListBlocksResponse) String() string
- func (m *ListBlocksResponse) Validate() error
- func (m *ListBlocksResponse) ValidateAll() error
- type ListBlocksResponseMultiError
- type ListBlocksResponseValidationError
- func (e ListBlocksResponseValidationError) Cause() error
- func (e ListBlocksResponseValidationError) Error() string
- func (e ListBlocksResponseValidationError) ErrorName() string
- func (e ListBlocksResponseValidationError) Field() string
- func (e ListBlocksResponseValidationError) Key() bool
- func (e ListBlocksResponseValidationError) Reason() string
- type ListStoresRequest
- func (*ListStoresRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStoresRequest) GetAddress() string
- func (*ListStoresRequest) ProtoMessage()
- func (x *ListStoresRequest) ProtoReflect() protoreflect.Message
- func (x *ListStoresRequest) Reset()
- func (x *ListStoresRequest) String() string
- func (m *ListStoresRequest) Validate() error
- func (m *ListStoresRequest) ValidateAll() error
- type ListStoresRequestMultiError
- type ListStoresRequestValidationError
- func (e ListStoresRequestValidationError) Cause() error
- func (e ListStoresRequestValidationError) Error() string
- func (e ListStoresRequestValidationError) ErrorName() string
- func (e ListStoresRequestValidationError) Field() string
- func (e ListStoresRequestValidationError) Key() bool
- func (e ListStoresRequestValidationError) Reason() string
- type ListStoresResponse
- func (*ListStoresResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStoresResponse) GetIndexes() []string
- func (*ListStoresResponse) ProtoMessage()
- func (x *ListStoresResponse) ProtoReflect() protoreflect.Message
- func (x *ListStoresResponse) Reset()
- func (x *ListStoresResponse) String() string
- func (m *ListStoresResponse) Validate() error
- func (m *ListStoresResponse) ValidateAll() error
- type ListStoresResponseMultiError
- type ListStoresResponseValidationError
- func (e ListStoresResponseValidationError) Cause() error
- func (e ListStoresResponseValidationError) Error() string
- func (e ListStoresResponseValidationError) ErrorName() string
- func (e ListStoresResponseValidationError) Field() string
- func (e ListStoresResponseValidationError) Key() bool
- func (e ListStoresResponseValidationError) Reason() string
- type ListTransactionsForAddressRequest
- func (*ListTransactionsForAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransactionsForAddressRequest) GetAddress() string
- func (x *ListTransactionsForAddressRequest) GetLimit() int64
- func (x *ListTransactionsForAddressRequest) GetOffset() int64
- func (*ListTransactionsForAddressRequest) ProtoMessage()
- func (x *ListTransactionsForAddressRequest) ProtoReflect() protoreflect.Message
- func (x *ListTransactionsForAddressRequest) Reset()
- func (x *ListTransactionsForAddressRequest) String() string
- func (m *ListTransactionsForAddressRequest) Validate() error
- func (m *ListTransactionsForAddressRequest) ValidateAll() error
- type ListTransactionsForAddressRequestMultiError
- type ListTransactionsForAddressRequestValidationError
- func (e ListTransactionsForAddressRequestValidationError) Cause() error
- func (e ListTransactionsForAddressRequestValidationError) Error() string
- func (e ListTransactionsForAddressRequestValidationError) ErrorName() string
- func (e ListTransactionsForAddressRequestValidationError) Field() string
- func (e ListTransactionsForAddressRequestValidationError) Key() bool
- func (e ListTransactionsForAddressRequestValidationError) Reason() string
- type ListTransactionsForAddressResponse
- func (*ListTransactionsForAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransactionsForAddressResponse) GetTransactionHashes() []string
- func (*ListTransactionsForAddressResponse) ProtoMessage()
- func (x *ListTransactionsForAddressResponse) ProtoReflect() protoreflect.Message
- func (x *ListTransactionsForAddressResponse) Reset()
- func (x *ListTransactionsForAddressResponse) String() string
- func (m *ListTransactionsForAddressResponse) Validate() error
- func (m *ListTransactionsForAddressResponse) ValidateAll() error
- type ListTransactionsForAddressResponseMultiError
- type ListTransactionsForAddressResponseValidationError
- func (e ListTransactionsForAddressResponseValidationError) Cause() error
- func (e ListTransactionsForAddressResponseValidationError) Error() string
- func (e ListTransactionsForAddressResponseValidationError) ErrorName() string
- func (e ListTransactionsForAddressResponseValidationError) Field() string
- func (e ListTransactionsForAddressResponseValidationError) Key() bool
- func (e ListTransactionsForAddressResponseValidationError) Reason() string
- type ListTransactionsRequest
- func (*ListTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransactionsRequest) GetLimit() int64
- func (x *ListTransactionsRequest) GetOffset() int64
- func (*ListTransactionsRequest) ProtoMessage()
- func (x *ListTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTransactionsRequest) Reset()
- func (x *ListTransactionsRequest) String() string
- func (m *ListTransactionsRequest) Validate() error
- func (m *ListTransactionsRequest) ValidateAll() error
- type ListTransactionsRequestMultiError
- type ListTransactionsRequestValidationError
- func (e ListTransactionsRequestValidationError) Cause() error
- func (e ListTransactionsRequestValidationError) Error() string
- func (e ListTransactionsRequestValidationError) ErrorName() string
- func (e ListTransactionsRequestValidationError) Field() string
- func (e ListTransactionsRequestValidationError) Key() bool
- func (e ListTransactionsRequestValidationError) Reason() string
- type ListTransactionsResponse
- func (*ListTransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransactionsResponse) GetTransactionHashes() []string
- func (*ListTransactionsResponse) ProtoMessage()
- func (x *ListTransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTransactionsResponse) Reset()
- func (x *ListTransactionsResponse) String() string
- func (m *ListTransactionsResponse) Validate() error
- func (m *ListTransactionsResponse) ValidateAll() error
- type ListTransactionsResponseMultiError
- type ListTransactionsResponseValidationError
- func (e ListTransactionsResponseValidationError) Cause() error
- func (e ListTransactionsResponseValidationError) Error() string
- func (e ListTransactionsResponseValidationError) ErrorName() string
- func (e ListTransactionsResponseValidationError) Field() string
- func (e ListTransactionsResponseValidationError) Key() bool
- func (e ListTransactionsResponseValidationError) Reason() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetHash() string
- func (x *Transaction) GetHeight() uint32
- func (x *Transaction) GetInputs() []*Transaction_Input
- func (x *Transaction) GetObserveTime() *timestamppb.Timestamp
- func (x *Transaction) GetOutputs() []*Transaction_Output
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- func (m *Transaction) Validate() error
- func (m *Transaction) ValidateAll() error
- type TransactionMultiError
- type TransactionValidationError
- func (e TransactionValidationError) Cause() error
- func (e TransactionValidationError) Error() string
- func (e TransactionValidationError) ErrorName() string
- func (e TransactionValidationError) Field() string
- func (e TransactionValidationError) Key() bool
- func (e TransactionValidationError) Reason() string
- type Transaction_Input
- func (*Transaction_Input) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Input) GetChainId() uint32
- func (x *Transaction_Input) GetConsumedTransactionHash() string
- func (x *Transaction_Input) GetConsumedTransactionIndex() int64
- func (x *Transaction_Input) GetSignature() string
- func (x *Transaction_Input) GetTransactionHash() string
- func (x *Transaction_Input) GetTransactionIndex() int64
- func (*Transaction_Input) ProtoMessage()
- func (x *Transaction_Input) ProtoReflect() protoreflect.Message
- func (x *Transaction_Input) Reset()
- func (x *Transaction_Input) String() string
- func (m *Transaction_Input) Validate() error
- func (m *Transaction_Input) ValidateAll() error
- type Transaction_InputMultiError
- type Transaction_InputValidationError
- func (e Transaction_InputValidationError) Cause() error
- func (e Transaction_InputValidationError) Error() string
- func (e Transaction_InputValidationError) ErrorName() string
- func (e Transaction_InputValidationError) Field() string
- func (e Transaction_InputValidationError) Key() bool
- func (e Transaction_InputValidationError) Reason() string
- type Transaction_Output
- func (*Transaction_Output) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Output) GetDataStore() *Transaction_Output_DataStore
- func (m *Transaction_Output) GetUnspectTransactionOutput() isTransaction_Output_UnspectTransactionOutput
- func (x *Transaction_Output) GetValueStore() *Transaction_Output_ValueStore
- func (*Transaction_Output) ProtoMessage()
- func (x *Transaction_Output) ProtoReflect() protoreflect.Message
- func (x *Transaction_Output) Reset()
- func (x *Transaction_Output) String() string
- func (m *Transaction_Output) Validate() error
- func (m *Transaction_Output) ValidateAll() error
- type Transaction_OutputMultiError
- type Transaction_OutputValidationError
- func (e Transaction_OutputValidationError) Cause() error
- func (e Transaction_OutputValidationError) Error() string
- func (e Transaction_OutputValidationError) ErrorName() string
- func (e Transaction_OutputValidationError) Field() string
- func (e Transaction_OutputValidationError) Key() bool
- func (e Transaction_OutputValidationError) Reason() string
- type Transaction_Output_DataStore
- func (*Transaction_Output_DataStore) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Output_DataStore) GetChainId() uint32
- func (x *Transaction_Output_DataStore) GetDeposit() string
- func (x *Transaction_Output_DataStore) GetFee() string
- func (x *Transaction_Output_DataStore) GetIndex() string
- func (x *Transaction_Output_DataStore) GetIssuedAt() uint32
- func (x *Transaction_Output_DataStore) GetOwner() string
- func (x *Transaction_Output_DataStore) GetRawData() string
- func (x *Transaction_Output_DataStore) GetSignature() string
- func (x *Transaction_Output_DataStore) GetTransactionHash() string
- func (x *Transaction_Output_DataStore) GetTransactionOutIndex() uint32
- func (*Transaction_Output_DataStore) ProtoMessage()
- func (x *Transaction_Output_DataStore) ProtoReflect() protoreflect.Message
- func (x *Transaction_Output_DataStore) Reset()
- func (x *Transaction_Output_DataStore) String() string
- func (m *Transaction_Output_DataStore) Validate() error
- func (m *Transaction_Output_DataStore) ValidateAll() error
- type Transaction_Output_DataStoreMultiError
- type Transaction_Output_DataStoreValidationError
- func (e Transaction_Output_DataStoreValidationError) Cause() error
- func (e Transaction_Output_DataStoreValidationError) Error() string
- func (e Transaction_Output_DataStoreValidationError) ErrorName() string
- func (e Transaction_Output_DataStoreValidationError) Field() string
- func (e Transaction_Output_DataStoreValidationError) Key() bool
- func (e Transaction_Output_DataStoreValidationError) Reason() string
- type Transaction_Output_DataStore_
- type Transaction_Output_ValueStore
- func (*Transaction_Output_ValueStore) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Output_ValueStore) GetChainId() uint32
- func (x *Transaction_Output_ValueStore) GetFee() string
- func (x *Transaction_Output_ValueStore) GetOwner() string
- func (x *Transaction_Output_ValueStore) GetTransactionHash() string
- func (x *Transaction_Output_ValueStore) GetTransactionOutIndex() uint32
- func (x *Transaction_Output_ValueStore) GetValue() string
- func (*Transaction_Output_ValueStore) ProtoMessage()
- func (x *Transaction_Output_ValueStore) ProtoReflect() protoreflect.Message
- func (x *Transaction_Output_ValueStore) Reset()
- func (x *Transaction_Output_ValueStore) String() string
- func (m *Transaction_Output_ValueStore) Validate() error
- func (m *Transaction_Output_ValueStore) ValidateAll() error
- type Transaction_Output_ValueStoreMultiError
- type Transaction_Output_ValueStoreValidationError
- func (e Transaction_Output_ValueStoreValidationError) Cause() error
- func (e Transaction_Output_ValueStoreValidationError) Error() string
- func (e Transaction_Output_ValueStoreValidationError) ErrorName() string
- func (e Transaction_Output_ValueStoreValidationError) Field() string
- func (e Transaction_Output_ValueStoreValidationError) Key() bool
- func (e Transaction_Output_ValueStoreValidationError) Reason() string
- type Transaction_Output_ValueStore_
- type UnimplementedAliceServiceServer
- func (UnimplementedAliceServiceServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
- func (UnimplementedAliceServiceServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
- func (UnimplementedAliceServiceServer) GetStoreValue(context.Context, *GetStoreValueRequest) (*GetStoreValueResponse, error)
- func (UnimplementedAliceServiceServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
- func (UnimplementedAliceServiceServer) ListBlocks(context.Context, *ListBlocksRequest) (*ListBlocksResponse, error)
- func (UnimplementedAliceServiceServer) ListStores(context.Context, *ListStoresRequest) (*ListStoresResponse, error)
- func (UnimplementedAliceServiceServer) ListTransactions(context.Context, *ListTransactionsRequest) (*ListTransactionsResponse, error)
- func (UnimplementedAliceServiceServer) ListTransactionsForAddress(context.Context, *ListTransactionsForAddressRequest) (*ListTransactionsForAddressResponse, error)
- type UnsafeAliceServiceServer
Constants ¶
This section is empty.
Variables ¶
var AliceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.alice.v1.AliceService", HandlerType: (*AliceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListStores", Handler: _AliceService_ListStores_Handler, }, { MethodName: "GetStoreValue", Handler: _AliceService_GetStoreValue_Handler, }, { MethodName: "ListTransactionsForAddress", Handler: _AliceService_ListTransactionsForAddress_Handler, }, { MethodName: "GetBalance", Handler: _AliceService_GetBalance_Handler, }, { MethodName: "GetTransaction", Handler: _AliceService_GetTransaction_Handler, }, { MethodName: "GetBlock", Handler: _AliceService_GetBlock_Handler, }, { MethodName: "ListBlocks", Handler: _AliceService_ListBlocks_Handler, }, { MethodName: "ListTransactions", Handler: _AliceService_ListTransactions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/alice/v1/alice.proto", }
AliceService_ServiceDesc is the grpc.ServiceDesc for AliceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_alice_v1_alice_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAliceServiceHandler ¶
func RegisterAliceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAliceServiceHandler registers the http handlers for service AliceService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAliceServiceHandlerClient ¶
func RegisterAliceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AliceServiceClient) error
RegisterAliceServiceHandlerClient registers the http handlers for service AliceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AliceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AliceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AliceServiceClient" to call the correct interceptors.
func RegisterAliceServiceHandlerFromEndpoint ¶
func RegisterAliceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAliceServiceHandlerFromEndpoint is same as RegisterAliceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAliceServiceHandlerServer ¶
func RegisterAliceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AliceServiceServer) error
RegisterAliceServiceHandlerServer registers the http handlers for service AliceService to "mux". UnaryRPC :call AliceServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAliceServiceHandlerFromEndpoint instead.
func RegisterAliceServiceServer ¶
func RegisterAliceServiceServer(s grpc.ServiceRegistrar, srv AliceServiceServer)
Types ¶
type AliceServiceClient ¶
type AliceServiceClient interface { // ListStores for a given address. ListStores(ctx context.Context, in *ListStoresRequest, opts ...grpc.CallOption) (*ListStoresResponse, error) // GetStoreValue for a given address, data store and index. GetStoreValue(ctx context.Context, in *GetStoreValueRequest, opts ...grpc.CallOption) (*GetStoreValueResponse, error) // ListTransactionsForAddress that an address has participated in. ListTransactionsForAddress(ctx context.Context, in *ListTransactionsForAddressRequest, opts ...grpc.CallOption) (*ListTransactionsForAddressResponse, error) // GetBalance for an address. GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error) // GetTransaction contents. GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) // GetBlock contents. GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error) // ListBlocks starting at the most recent. ListBlocks(ctx context.Context, in *ListBlocksRequest, opts ...grpc.CallOption) (*ListBlocksResponse, error) // ListTransactions starting at the most recent. ListTransactions(ctx context.Context, in *ListTransactionsRequest, opts ...grpc.CallOption) (*ListTransactionsResponse, error) }
AliceServiceClient is the client API for AliceService 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 NewAliceServiceClient ¶
func NewAliceServiceClient(cc grpc.ClientConnInterface) AliceServiceClient
type AliceServiceServer ¶
type AliceServiceServer interface { // ListStores for a given address. ListStores(context.Context, *ListStoresRequest) (*ListStoresResponse, error) // GetStoreValue for a given address, data store and index. GetStoreValue(context.Context, *GetStoreValueRequest) (*GetStoreValueResponse, error) // ListTransactionsForAddress that an address has participated in. ListTransactionsForAddress(context.Context, *ListTransactionsForAddressRequest) (*ListTransactionsForAddressResponse, error) // GetBalance for an address. GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error) // GetTransaction contents. GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error) // GetBlock contents. GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error) // ListBlocks starting at the most recent. ListBlocks(context.Context, *ListBlocksRequest) (*ListBlocksResponse, error) // ListTransactions starting at the most recent. ListTransactions(context.Context, *ListTransactionsRequest) (*ListTransactionsResponse, error) }
AliceServiceServer is the server API for AliceService service. All implementations should embed UnimplementedAliceServiceServer for forward compatibility
type Block ¶
type Block struct { // The ID of the chain holding this block. ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The height of this block since genesis. Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // The number of transactions contained in this block. TransactionCount uint32 `protobuf:"varint,3,opt,name=transaction_count,json=transactionCount,proto3" json:"transaction_count,omitempty"` // The hash of the previous block. PreviousBlockHash string `protobuf:"bytes,4,opt,name=previous_block_hash,json=previousBlockHash,proto3" json:"previous_block_hash,omitempty"` // The hash of the transaction root. TransactionRootHash string `protobuf:"bytes,5,opt,name=transaction_root_hash,json=transactionRootHash,proto3" json:"transaction_root_hash,omitempty"` // The hash of the state root. StateRootHash string `protobuf:"bytes,6,opt,name=state_root_hash,json=stateRootHash,proto3" json:"state_root_hash,omitempty"` // The hash of the header root. HeaderRootHash string `protobuf:"bytes,7,opt,name=header_root_hash,json=headerRootHash,proto3" json:"header_root_hash,omitempty"` // The group signature hash. GroupSignatureHash string `protobuf:"bytes,8,opt,name=group_signature_hash,json=groupSignatureHash,proto3" json:"group_signature_hash,omitempty"` // A list of transaction hashes contained in this block. TransactionHashes []string `protobuf:"bytes,9,rep,name=transaction_hashes,json=transactionHashes,proto3" json:"transaction_hashes,omitempty"` // The observed time of this block. It is when it was indexed, not when it happened. ObserveTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=observe_time,json=observeTime,proto3" json:"observe_time,omitempty"` // contains filtered or unexported fields }
A Block on the AliceNet chain.
func (*Block) Descriptor
deprecated
func (*Block) GetChainId ¶
func (*Block) GetGroupSignatureHash ¶
func (*Block) GetHeaderRootHash ¶
func (*Block) GetObserveTime ¶
func (x *Block) GetObserveTime() *timestamppb.Timestamp
func (*Block) GetPreviousBlockHash ¶
func (*Block) GetStateRootHash ¶
func (*Block) GetTransactionCount ¶
func (*Block) GetTransactionHashes ¶
func (*Block) GetTransactionRootHash ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
func (*Block) Validate ¶
Validate checks the field values on Block with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Block) ValidateAll ¶
ValidateAll checks the field values on Block with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BlockMultiError, or nil if none found.
type BlockMultiError ¶
type BlockMultiError []error
BlockMultiError is an error wrapping multiple validation errors returned by Block.ValidateAll() if the designated constraints aren't met.
func (BlockMultiError) AllErrors ¶
func (m BlockMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BlockMultiError) Error ¶
func (m BlockMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BlockValidationError ¶
type BlockValidationError struct {
// contains filtered or unexported fields
}
BlockValidationError is the validation error returned by Block.Validate if the designated constraints aren't met.
func (BlockValidationError) Cause ¶
func (e BlockValidationError) Cause() error
Cause function returns cause value.
func (BlockValidationError) Error ¶
func (e BlockValidationError) Error() string
Error satisfies the builtin error interface
func (BlockValidationError) ErrorName ¶
func (e BlockValidationError) ErrorName() string
ErrorName returns error name.
func (BlockValidationError) Field ¶
func (e BlockValidationError) Field() string
Field function returns field value.
func (BlockValidationError) Key ¶
func (e BlockValidationError) Key() bool
Key function returns key value.
func (BlockValidationError) Reason ¶
func (e BlockValidationError) Reason() string
Reason function returns reason value.
type GetBalanceRequest ¶
type GetBalanceRequest struct { // The address to get the balance for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
GetBalanceRequest to call the service.
func (*GetBalanceRequest) Descriptor
deprecated
func (*GetBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.
func (*GetBalanceRequest) GetAddress ¶
func (x *GetBalanceRequest) GetAddress() string
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
func (*GetBalanceRequest) Validate ¶
func (m *GetBalanceRequest) Validate() error
Validate checks the field values on GetBalanceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetBalanceRequest) ValidateAll ¶
func (m *GetBalanceRequest) ValidateAll() error
ValidateAll checks the field values on GetBalanceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBalanceRequestMultiError, or nil if none found.
type GetBalanceRequestMultiError ¶
type GetBalanceRequestMultiError []error
GetBalanceRequestMultiError is an error wrapping multiple validation errors returned by GetBalanceRequest.ValidateAll() if the designated constraints aren't met.
func (GetBalanceRequestMultiError) AllErrors ¶
func (m GetBalanceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBalanceRequestMultiError) Error ¶
func (m GetBalanceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBalanceRequestValidationError ¶
type GetBalanceRequestValidationError struct {
// contains filtered or unexported fields
}
GetBalanceRequestValidationError is the validation error returned by GetBalanceRequest.Validate if the designated constraints aren't met.
func (GetBalanceRequestValidationError) Cause ¶
func (e GetBalanceRequestValidationError) Cause() error
Cause function returns cause value.
func (GetBalanceRequestValidationError) Error ¶
func (e GetBalanceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetBalanceRequestValidationError) ErrorName ¶
func (e GetBalanceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetBalanceRequestValidationError) Field ¶
func (e GetBalanceRequestValidationError) Field() string
Field function returns field value.
func (GetBalanceRequestValidationError) Key ¶
func (e GetBalanceRequestValidationError) Key() bool
Key function returns key value.
func (GetBalanceRequestValidationError) Reason ¶
func (e GetBalanceRequestValidationError) Reason() string
Reason function returns reason value.
type GetBalanceResponse ¶
type GetBalanceResponse struct { // The balance of the requested address. Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
GetBalanceResponse from the service.
func (*GetBalanceResponse) Descriptor
deprecated
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.
func (*GetBalanceResponse) GetBalance ¶
func (x *GetBalanceResponse) GetBalance() string
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
func (*GetBalanceResponse) Validate ¶
func (m *GetBalanceResponse) Validate() error
Validate checks the field values on GetBalanceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetBalanceResponse) ValidateAll ¶
func (m *GetBalanceResponse) ValidateAll() error
ValidateAll checks the field values on GetBalanceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBalanceResponseMultiError, or nil if none found.
type GetBalanceResponseMultiError ¶
type GetBalanceResponseMultiError []error
GetBalanceResponseMultiError is an error wrapping multiple validation errors returned by GetBalanceResponse.ValidateAll() if the designated constraints aren't met.
func (GetBalanceResponseMultiError) AllErrors ¶
func (m GetBalanceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBalanceResponseMultiError) Error ¶
func (m GetBalanceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBalanceResponseValidationError ¶
type GetBalanceResponseValidationError struct {
// contains filtered or unexported fields
}
GetBalanceResponseValidationError is the validation error returned by GetBalanceResponse.Validate if the designated constraints aren't met.
func (GetBalanceResponseValidationError) Cause ¶
func (e GetBalanceResponseValidationError) Cause() error
Cause function returns cause value.
func (GetBalanceResponseValidationError) Error ¶
func (e GetBalanceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetBalanceResponseValidationError) ErrorName ¶
func (e GetBalanceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetBalanceResponseValidationError) Field ¶
func (e GetBalanceResponseValidationError) Field() string
Field function returns field value.
func (GetBalanceResponseValidationError) Key ¶
func (e GetBalanceResponseValidationError) Key() bool
Key function returns key value.
func (GetBalanceResponseValidationError) Reason ¶
func (e GetBalanceResponseValidationError) Reason() string
Reason function returns reason value.
type GetBlockRequest ¶
type GetBlockRequest struct { // The height of the block to request. Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
GetBlockRequest to call the service.
func (*GetBlockRequest) Descriptor
deprecated
func (*GetBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.
func (*GetBlockRequest) GetHeight ¶
func (x *GetBlockRequest) GetHeight() uint32
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) ProtoReflect ¶
func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
func (*GetBlockRequest) Reset ¶
func (x *GetBlockRequest) Reset()
func (*GetBlockRequest) String ¶
func (x *GetBlockRequest) String() string
func (*GetBlockRequest) Validate ¶
func (m *GetBlockRequest) Validate() error
Validate checks the field values on GetBlockRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetBlockRequest) ValidateAll ¶
func (m *GetBlockRequest) ValidateAll() error
ValidateAll checks the field values on GetBlockRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBlockRequestMultiError, or nil if none found.
type GetBlockRequestMultiError ¶
type GetBlockRequestMultiError []error
GetBlockRequestMultiError is an error wrapping multiple validation errors returned by GetBlockRequest.ValidateAll() if the designated constraints aren't met.
func (GetBlockRequestMultiError) AllErrors ¶
func (m GetBlockRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBlockRequestMultiError) Error ¶
func (m GetBlockRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBlockRequestValidationError ¶
type GetBlockRequestValidationError struct {
// contains filtered or unexported fields
}
GetBlockRequestValidationError is the validation error returned by GetBlockRequest.Validate if the designated constraints aren't met.
func (GetBlockRequestValidationError) Cause ¶
func (e GetBlockRequestValidationError) Cause() error
Cause function returns cause value.
func (GetBlockRequestValidationError) Error ¶
func (e GetBlockRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetBlockRequestValidationError) ErrorName ¶
func (e GetBlockRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetBlockRequestValidationError) Field ¶
func (e GetBlockRequestValidationError) Field() string
Field function returns field value.
func (GetBlockRequestValidationError) Key ¶
func (e GetBlockRequestValidationError) Key() bool
Key function returns key value.
func (GetBlockRequestValidationError) Reason ¶
func (e GetBlockRequestValidationError) Reason() string
Reason function returns reason value.
type GetBlockResponse ¶
type GetBlockResponse struct { // The block corresponding to the specified height. Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
GetBlockResponse from the service.
func (*GetBlockResponse) Descriptor
deprecated
func (*GetBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.
func (*GetBlockResponse) GetBlock ¶
func (x *GetBlockResponse) GetBlock() *Block
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) ProtoReflect ¶
func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
func (*GetBlockResponse) Reset ¶
func (x *GetBlockResponse) Reset()
func (*GetBlockResponse) String ¶
func (x *GetBlockResponse) String() string
func (*GetBlockResponse) Validate ¶
func (m *GetBlockResponse) Validate() error
Validate checks the field values on GetBlockResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetBlockResponse) ValidateAll ¶
func (m *GetBlockResponse) ValidateAll() error
ValidateAll checks the field values on GetBlockResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBlockResponseMultiError, or nil if none found.
type GetBlockResponseMultiError ¶
type GetBlockResponseMultiError []error
GetBlockResponseMultiError is an error wrapping multiple validation errors returned by GetBlockResponse.ValidateAll() if the designated constraints aren't met.
func (GetBlockResponseMultiError) AllErrors ¶
func (m GetBlockResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBlockResponseMultiError) Error ¶
func (m GetBlockResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBlockResponseValidationError ¶
type GetBlockResponseValidationError struct {
// contains filtered or unexported fields
}
GetBlockResponseValidationError is the validation error returned by GetBlockResponse.Validate if the designated constraints aren't met.
func (GetBlockResponseValidationError) Cause ¶
func (e GetBlockResponseValidationError) Cause() error
Cause function returns cause value.
func (GetBlockResponseValidationError) Error ¶
func (e GetBlockResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetBlockResponseValidationError) ErrorName ¶
func (e GetBlockResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetBlockResponseValidationError) Field ¶
func (e GetBlockResponseValidationError) Field() string
Field function returns field value.
func (GetBlockResponseValidationError) Key ¶
func (e GetBlockResponseValidationError) Key() bool
Key function returns key value.
func (GetBlockResponseValidationError) Reason ¶
func (e GetBlockResponseValidationError) Reason() string
Reason function returns reason value.
type GetStoreValueRequest ¶
type GetStoreValueRequest struct { // The address to get the stored value for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The index in the data_store to pull the value from. Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
GetStoreValueRequest to call the service.
func (*GetStoreValueRequest) Descriptor
deprecated
func (*GetStoreValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStoreValueRequest.ProtoReflect.Descriptor instead.
func (*GetStoreValueRequest) GetAddress ¶
func (x *GetStoreValueRequest) GetAddress() string
func (*GetStoreValueRequest) GetIndex ¶
func (x *GetStoreValueRequest) GetIndex() string
func (*GetStoreValueRequest) ProtoMessage ¶
func (*GetStoreValueRequest) ProtoMessage()
func (*GetStoreValueRequest) ProtoReflect ¶
func (x *GetStoreValueRequest) ProtoReflect() protoreflect.Message
func (*GetStoreValueRequest) Reset ¶
func (x *GetStoreValueRequest) Reset()
func (*GetStoreValueRequest) String ¶
func (x *GetStoreValueRequest) String() string
func (*GetStoreValueRequest) Validate ¶
func (m *GetStoreValueRequest) Validate() error
Validate checks the field values on GetStoreValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetStoreValueRequest) ValidateAll ¶
func (m *GetStoreValueRequest) ValidateAll() error
ValidateAll checks the field values on GetStoreValueRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetStoreValueRequestMultiError, or nil if none found.
type GetStoreValueRequestMultiError ¶
type GetStoreValueRequestMultiError []error
GetStoreValueRequestMultiError is an error wrapping multiple validation errors returned by GetStoreValueRequest.ValidateAll() if the designated constraints aren't met.
func (GetStoreValueRequestMultiError) AllErrors ¶
func (m GetStoreValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetStoreValueRequestMultiError) Error ¶
func (m GetStoreValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetStoreValueRequestValidationError ¶
type GetStoreValueRequestValidationError struct {
// contains filtered or unexported fields
}
GetStoreValueRequestValidationError is the validation error returned by GetStoreValueRequest.Validate if the designated constraints aren't met.
func (GetStoreValueRequestValidationError) Cause ¶
func (e GetStoreValueRequestValidationError) Cause() error
Cause function returns cause value.
func (GetStoreValueRequestValidationError) Error ¶
func (e GetStoreValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetStoreValueRequestValidationError) ErrorName ¶
func (e GetStoreValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetStoreValueRequestValidationError) Field ¶
func (e GetStoreValueRequestValidationError) Field() string
Field function returns field value.
func (GetStoreValueRequestValidationError) Key ¶
func (e GetStoreValueRequestValidationError) Key() bool
Key function returns key value.
func (GetStoreValueRequestValidationError) Reason ¶
func (e GetStoreValueRequestValidationError) Reason() string
Reason function returns reason value.
type GetStoreValueResponse ¶
type GetStoreValueResponse struct { // The value stored for a given address/index. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // When this data store was issued at. IssuedAt uint32 `protobuf:"varint,2,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` // contains filtered or unexported fields }
GetStoreValueResponse from the service.
func (*GetStoreValueResponse) Descriptor
deprecated
func (*GetStoreValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStoreValueResponse.ProtoReflect.Descriptor instead.
func (*GetStoreValueResponse) GetIssuedAt ¶
func (x *GetStoreValueResponse) GetIssuedAt() uint32
func (*GetStoreValueResponse) GetValue ¶
func (x *GetStoreValueResponse) GetValue() string
func (*GetStoreValueResponse) ProtoMessage ¶
func (*GetStoreValueResponse) ProtoMessage()
func (*GetStoreValueResponse) ProtoReflect ¶
func (x *GetStoreValueResponse) ProtoReflect() protoreflect.Message
func (*GetStoreValueResponse) Reset ¶
func (x *GetStoreValueResponse) Reset()
func (*GetStoreValueResponse) String ¶
func (x *GetStoreValueResponse) String() string
func (*GetStoreValueResponse) Validate ¶
func (m *GetStoreValueResponse) Validate() error
Validate checks the field values on GetStoreValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetStoreValueResponse) ValidateAll ¶
func (m *GetStoreValueResponse) ValidateAll() error
ValidateAll checks the field values on GetStoreValueResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetStoreValueResponseMultiError, or nil if none found.
type GetStoreValueResponseMultiError ¶
type GetStoreValueResponseMultiError []error
GetStoreValueResponseMultiError is an error wrapping multiple validation errors returned by GetStoreValueResponse.ValidateAll() if the designated constraints aren't met.
func (GetStoreValueResponseMultiError) AllErrors ¶
func (m GetStoreValueResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetStoreValueResponseMultiError) Error ¶
func (m GetStoreValueResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetStoreValueResponseValidationError ¶
type GetStoreValueResponseValidationError struct {
// contains filtered or unexported fields
}
GetStoreValueResponseValidationError is the validation error returned by GetStoreValueResponse.Validate if the designated constraints aren't met.
func (GetStoreValueResponseValidationError) Cause ¶
func (e GetStoreValueResponseValidationError) Cause() error
Cause function returns cause value.
func (GetStoreValueResponseValidationError) Error ¶
func (e GetStoreValueResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetStoreValueResponseValidationError) ErrorName ¶
func (e GetStoreValueResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetStoreValueResponseValidationError) Field ¶
func (e GetStoreValueResponseValidationError) Field() string
Field function returns field value.
func (GetStoreValueResponseValidationError) Key ¶
func (e GetStoreValueResponseValidationError) Key() bool
Key function returns key value.
func (GetStoreValueResponseValidationError) Reason ¶
func (e GetStoreValueResponseValidationError) Reason() string
Reason function returns reason value.
type GetTransactionRequest ¶
type GetTransactionRequest struct { // The transaction hash to request. Transaction string `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
GetTransactionRequest to call the service.
func (*GetTransactionRequest) Descriptor
deprecated
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionRequest) GetTransaction ¶
func (x *GetTransactionRequest) GetTransaction() 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
func (*GetTransactionRequest) Validate ¶
func (m *GetTransactionRequest) Validate() error
Validate checks the field values on GetTransactionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTransactionRequest) ValidateAll ¶
func (m *GetTransactionRequest) ValidateAll() error
ValidateAll checks the field values on GetTransactionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTransactionRequestMultiError, or nil if none found.
type GetTransactionRequestMultiError ¶
type GetTransactionRequestMultiError []error
GetTransactionRequestMultiError is an error wrapping multiple validation errors returned by GetTransactionRequest.ValidateAll() if the designated constraints aren't met.
func (GetTransactionRequestMultiError) AllErrors ¶
func (m GetTransactionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTransactionRequestMultiError) Error ¶
func (m GetTransactionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTransactionRequestValidationError ¶
type GetTransactionRequestValidationError struct {
// contains filtered or unexported fields
}
GetTransactionRequestValidationError is the validation error returned by GetTransactionRequest.Validate if the designated constraints aren't met.
func (GetTransactionRequestValidationError) Cause ¶
func (e GetTransactionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTransactionRequestValidationError) Error ¶
func (e GetTransactionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTransactionRequestValidationError) ErrorName ¶
func (e GetTransactionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTransactionRequestValidationError) Field ¶
func (e GetTransactionRequestValidationError) Field() string
Field function returns field value.
func (GetTransactionRequestValidationError) Key ¶
func (e GetTransactionRequestValidationError) Key() bool
Key function returns key value.
func (GetTransactionRequestValidationError) Reason ¶
func (e GetTransactionRequestValidationError) Reason() string
Reason function returns reason value.
type GetTransactionResponse ¶
type GetTransactionResponse struct { // The transaction for the given hash. Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
GetTransactionResponse from the service.
func (*GetTransactionResponse) Descriptor
deprecated
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionResponse) GetTransaction ¶
func (x *GetTransactionResponse) GetTransaction() *Transaction
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
func (*GetTransactionResponse) Validate ¶
func (m *GetTransactionResponse) Validate() error
Validate checks the field values on GetTransactionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTransactionResponse) ValidateAll ¶
func (m *GetTransactionResponse) ValidateAll() error
ValidateAll checks the field values on GetTransactionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTransactionResponseMultiError, or nil if none found.
type GetTransactionResponseMultiError ¶
type GetTransactionResponseMultiError []error
GetTransactionResponseMultiError is an error wrapping multiple validation errors returned by GetTransactionResponse.ValidateAll() if the designated constraints aren't met.
func (GetTransactionResponseMultiError) AllErrors ¶
func (m GetTransactionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTransactionResponseMultiError) Error ¶
func (m GetTransactionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTransactionResponseValidationError ¶
type GetTransactionResponseValidationError struct {
// contains filtered or unexported fields
}
GetTransactionResponseValidationError is the validation error returned by GetTransactionResponse.Validate if the designated constraints aren't met.
func (GetTransactionResponseValidationError) Cause ¶
func (e GetTransactionResponseValidationError) Cause() error
Cause function returns cause value.
func (GetTransactionResponseValidationError) Error ¶
func (e GetTransactionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetTransactionResponseValidationError) ErrorName ¶
func (e GetTransactionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetTransactionResponseValidationError) Field ¶
func (e GetTransactionResponseValidationError) Field() string
Field function returns field value.
func (GetTransactionResponseValidationError) Key ¶
func (e GetTransactionResponseValidationError) Key() bool
Key function returns key value.
func (GetTransactionResponseValidationError) Reason ¶
func (e GetTransactionResponseValidationError) Reason() string
Reason function returns reason value.
type ListBlocksRequest ¶
type ListBlocksRequest struct { // The pagination limit in the List request. Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // The pagination offset in the List request. Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
ListBlocksRequest to call the service.
func (*ListBlocksRequest) Descriptor
deprecated
func (*ListBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBlocksRequest.ProtoReflect.Descriptor instead.
func (*ListBlocksRequest) GetLimit ¶
func (x *ListBlocksRequest) GetLimit() int64
func (*ListBlocksRequest) GetOffset ¶
func (x *ListBlocksRequest) GetOffset() int64
func (*ListBlocksRequest) ProtoMessage ¶
func (*ListBlocksRequest) ProtoMessage()
func (*ListBlocksRequest) ProtoReflect ¶
func (x *ListBlocksRequest) ProtoReflect() protoreflect.Message
func (*ListBlocksRequest) Reset ¶
func (x *ListBlocksRequest) Reset()
func (*ListBlocksRequest) String ¶
func (x *ListBlocksRequest) String() string
func (*ListBlocksRequest) Validate ¶
func (m *ListBlocksRequest) Validate() error
Validate checks the field values on ListBlocksRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListBlocksRequest) ValidateAll ¶
func (m *ListBlocksRequest) ValidateAll() error
ValidateAll checks the field values on ListBlocksRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBlocksRequestMultiError, or nil if none found.
type ListBlocksRequestMultiError ¶
type ListBlocksRequestMultiError []error
ListBlocksRequestMultiError is an error wrapping multiple validation errors returned by ListBlocksRequest.ValidateAll() if the designated constraints aren't met.
func (ListBlocksRequestMultiError) AllErrors ¶
func (m ListBlocksRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBlocksRequestMultiError) Error ¶
func (m ListBlocksRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBlocksRequestValidationError ¶
type ListBlocksRequestValidationError struct {
// contains filtered or unexported fields
}
ListBlocksRequestValidationError is the validation error returned by ListBlocksRequest.Validate if the designated constraints aren't met.
func (ListBlocksRequestValidationError) Cause ¶
func (e ListBlocksRequestValidationError) Cause() error
Cause function returns cause value.
func (ListBlocksRequestValidationError) Error ¶
func (e ListBlocksRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListBlocksRequestValidationError) ErrorName ¶
func (e ListBlocksRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListBlocksRequestValidationError) Field ¶
func (e ListBlocksRequestValidationError) Field() string
Field function returns field value.
func (ListBlocksRequestValidationError) Key ¶
func (e ListBlocksRequestValidationError) Key() bool
Key function returns key value.
func (ListBlocksRequestValidationError) Reason ¶
func (e ListBlocksRequestValidationError) Reason() string
Reason function returns reason value.
type ListBlocksResponse ¶
type ListBlocksResponse struct { // The heights of the most recent blocks. Heights []uint32 `protobuf:"varint,1,rep,packed,name=heights,proto3" json:"heights,omitempty"` // contains filtered or unexported fields }
ListBlocksResponse from the service.
func (*ListBlocksResponse) Descriptor
deprecated
func (*ListBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBlocksResponse.ProtoReflect.Descriptor instead.
func (*ListBlocksResponse) GetHeights ¶
func (x *ListBlocksResponse) GetHeights() []uint32
func (*ListBlocksResponse) ProtoMessage ¶
func (*ListBlocksResponse) ProtoMessage()
func (*ListBlocksResponse) ProtoReflect ¶
func (x *ListBlocksResponse) ProtoReflect() protoreflect.Message
func (*ListBlocksResponse) Reset ¶
func (x *ListBlocksResponse) Reset()
func (*ListBlocksResponse) String ¶
func (x *ListBlocksResponse) String() string
func (*ListBlocksResponse) Validate ¶
func (m *ListBlocksResponse) Validate() error
Validate checks the field values on ListBlocksResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListBlocksResponse) ValidateAll ¶
func (m *ListBlocksResponse) ValidateAll() error
ValidateAll checks the field values on ListBlocksResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBlocksResponseMultiError, or nil if none found.
type ListBlocksResponseMultiError ¶
type ListBlocksResponseMultiError []error
ListBlocksResponseMultiError is an error wrapping multiple validation errors returned by ListBlocksResponse.ValidateAll() if the designated constraints aren't met.
func (ListBlocksResponseMultiError) AllErrors ¶
func (m ListBlocksResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBlocksResponseMultiError) Error ¶
func (m ListBlocksResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBlocksResponseValidationError ¶
type ListBlocksResponseValidationError struct {
// contains filtered or unexported fields
}
ListBlocksResponseValidationError is the validation error returned by ListBlocksResponse.Validate if the designated constraints aren't met.
func (ListBlocksResponseValidationError) Cause ¶
func (e ListBlocksResponseValidationError) Cause() error
Cause function returns cause value.
func (ListBlocksResponseValidationError) Error ¶
func (e ListBlocksResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListBlocksResponseValidationError) ErrorName ¶
func (e ListBlocksResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListBlocksResponseValidationError) Field ¶
func (e ListBlocksResponseValidationError) Field() string
Field function returns field value.
func (ListBlocksResponseValidationError) Key ¶
func (e ListBlocksResponseValidationError) Key() bool
Key function returns key value.
func (ListBlocksResponseValidationError) Reason ¶
func (e ListBlocksResponseValidationError) Reason() string
Reason function returns reason value.
type ListStoresRequest ¶
type ListStoresRequest struct { // The address to list the stores for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
ListStoresRequest to call the service.
func (*ListStoresRequest) Descriptor
deprecated
func (*ListStoresRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStoresRequest.ProtoReflect.Descriptor instead.
func (*ListStoresRequest) GetAddress ¶
func (x *ListStoresRequest) GetAddress() string
func (*ListStoresRequest) ProtoMessage ¶
func (*ListStoresRequest) ProtoMessage()
func (*ListStoresRequest) ProtoReflect ¶
func (x *ListStoresRequest) ProtoReflect() protoreflect.Message
func (*ListStoresRequest) Reset ¶
func (x *ListStoresRequest) Reset()
func (*ListStoresRequest) String ¶
func (x *ListStoresRequest) String() string
func (*ListStoresRequest) Validate ¶
func (m *ListStoresRequest) Validate() error
Validate checks the field values on ListStoresRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListStoresRequest) ValidateAll ¶
func (m *ListStoresRequest) ValidateAll() error
ValidateAll checks the field values on ListStoresRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListStoresRequestMultiError, or nil if none found.
type ListStoresRequestMultiError ¶
type ListStoresRequestMultiError []error
ListStoresRequestMultiError is an error wrapping multiple validation errors returned by ListStoresRequest.ValidateAll() if the designated constraints aren't met.
func (ListStoresRequestMultiError) AllErrors ¶
func (m ListStoresRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListStoresRequestMultiError) Error ¶
func (m ListStoresRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListStoresRequestValidationError ¶
type ListStoresRequestValidationError struct {
// contains filtered or unexported fields
}
ListStoresRequestValidationError is the validation error returned by ListStoresRequest.Validate if the designated constraints aren't met.
func (ListStoresRequestValidationError) Cause ¶
func (e ListStoresRequestValidationError) Cause() error
Cause function returns cause value.
func (ListStoresRequestValidationError) Error ¶
func (e ListStoresRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListStoresRequestValidationError) ErrorName ¶
func (e ListStoresRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListStoresRequestValidationError) Field ¶
func (e ListStoresRequestValidationError) Field() string
Field function returns field value.
func (ListStoresRequestValidationError) Key ¶
func (e ListStoresRequestValidationError) Key() bool
Key function returns key value.
func (ListStoresRequestValidationError) Reason ¶
func (e ListStoresRequestValidationError) Reason() string
Reason function returns reason value.
type ListStoresResponse ¶
type ListStoresResponse struct { // A list of indexes stored for the given address. Indexes []string `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"` // contains filtered or unexported fields }
ListStoresResponse from the service.
func (*ListStoresResponse) Descriptor
deprecated
func (*ListStoresResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStoresResponse.ProtoReflect.Descriptor instead.
func (*ListStoresResponse) GetIndexes ¶
func (x *ListStoresResponse) GetIndexes() []string
func (*ListStoresResponse) ProtoMessage ¶
func (*ListStoresResponse) ProtoMessage()
func (*ListStoresResponse) ProtoReflect ¶
func (x *ListStoresResponse) ProtoReflect() protoreflect.Message
func (*ListStoresResponse) Reset ¶
func (x *ListStoresResponse) Reset()
func (*ListStoresResponse) String ¶
func (x *ListStoresResponse) String() string
func (*ListStoresResponse) Validate ¶
func (m *ListStoresResponse) Validate() error
Validate checks the field values on ListStoresResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListStoresResponse) ValidateAll ¶
func (m *ListStoresResponse) ValidateAll() error
ValidateAll checks the field values on ListStoresResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListStoresResponseMultiError, or nil if none found.
type ListStoresResponseMultiError ¶
type ListStoresResponseMultiError []error
ListStoresResponseMultiError is an error wrapping multiple validation errors returned by ListStoresResponse.ValidateAll() if the designated constraints aren't met.
func (ListStoresResponseMultiError) AllErrors ¶
func (m ListStoresResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListStoresResponseMultiError) Error ¶
func (m ListStoresResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListStoresResponseValidationError ¶
type ListStoresResponseValidationError struct {
// contains filtered or unexported fields
}
ListStoresResponseValidationError is the validation error returned by ListStoresResponse.Validate if the designated constraints aren't met.
func (ListStoresResponseValidationError) Cause ¶
func (e ListStoresResponseValidationError) Cause() error
Cause function returns cause value.
func (ListStoresResponseValidationError) Error ¶
func (e ListStoresResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListStoresResponseValidationError) ErrorName ¶
func (e ListStoresResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListStoresResponseValidationError) Field ¶
func (e ListStoresResponseValidationError) Field() string
Field function returns field value.
func (ListStoresResponseValidationError) Key ¶
func (e ListStoresResponseValidationError) Key() bool
Key function returns key value.
func (ListStoresResponseValidationError) Reason ¶
func (e ListStoresResponseValidationError) Reason() string
Reason function returns reason value.
type ListTransactionsForAddressRequest ¶
type ListTransactionsForAddressRequest struct { // The address to list the transactions for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The pagination limit in the List request. Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // The pagination offset in the List request. Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
ListTransactionsForAddressRequest to call the service.
func (*ListTransactionsForAddressRequest) Descriptor
deprecated
func (*ListTransactionsForAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTransactionsForAddressRequest.ProtoReflect.Descriptor instead.
func (*ListTransactionsForAddressRequest) GetAddress ¶
func (x *ListTransactionsForAddressRequest) GetAddress() string
func (*ListTransactionsForAddressRequest) GetLimit ¶
func (x *ListTransactionsForAddressRequest) GetLimit() int64
func (*ListTransactionsForAddressRequest) GetOffset ¶
func (x *ListTransactionsForAddressRequest) GetOffset() int64
func (*ListTransactionsForAddressRequest) ProtoMessage ¶
func (*ListTransactionsForAddressRequest) ProtoMessage()
func (*ListTransactionsForAddressRequest) ProtoReflect ¶
func (x *ListTransactionsForAddressRequest) ProtoReflect() protoreflect.Message
func (*ListTransactionsForAddressRequest) Reset ¶
func (x *ListTransactionsForAddressRequest) Reset()
func (*ListTransactionsForAddressRequest) String ¶
func (x *ListTransactionsForAddressRequest) String() string
func (*ListTransactionsForAddressRequest) Validate ¶
func (m *ListTransactionsForAddressRequest) Validate() error
Validate checks the field values on ListTransactionsForAddressRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTransactionsForAddressRequest) ValidateAll ¶
func (m *ListTransactionsForAddressRequest) ValidateAll() error
ValidateAll checks the field values on ListTransactionsForAddressRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTransactionsForAddressRequestMultiError, or nil if none found.
type ListTransactionsForAddressRequestMultiError ¶
type ListTransactionsForAddressRequestMultiError []error
ListTransactionsForAddressRequestMultiError is an error wrapping multiple validation errors returned by ListTransactionsForAddressRequest.ValidateAll() if the designated constraints aren't met.
func (ListTransactionsForAddressRequestMultiError) AllErrors ¶
func (m ListTransactionsForAddressRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTransactionsForAddressRequestMultiError) Error ¶
func (m ListTransactionsForAddressRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTransactionsForAddressRequestValidationError ¶
type ListTransactionsForAddressRequestValidationError struct {
// contains filtered or unexported fields
}
ListTransactionsForAddressRequestValidationError is the validation error returned by ListTransactionsForAddressRequest.Validate if the designated constraints aren't met.
func (ListTransactionsForAddressRequestValidationError) Cause ¶
func (e ListTransactionsForAddressRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTransactionsForAddressRequestValidationError) Error ¶
func (e ListTransactionsForAddressRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTransactionsForAddressRequestValidationError) ErrorName ¶
func (e ListTransactionsForAddressRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTransactionsForAddressRequestValidationError) Field ¶
func (e ListTransactionsForAddressRequestValidationError) Field() string
Field function returns field value.
func (ListTransactionsForAddressRequestValidationError) Key ¶
func (e ListTransactionsForAddressRequestValidationError) Key() bool
Key function returns key value.
func (ListTransactionsForAddressRequestValidationError) Reason ¶
func (e ListTransactionsForAddressRequestValidationError) Reason() string
Reason function returns reason value.
type ListTransactionsForAddressResponse ¶
type ListTransactionsForAddressResponse struct { // A list of transaction hashes contained for the address. TransactionHashes []string `protobuf:"bytes,1,rep,name=transaction_hashes,json=transactionHashes,proto3" json:"transaction_hashes,omitempty"` // contains filtered or unexported fields }
ListTransactionsForAddressResponse from the service.
func (*ListTransactionsForAddressResponse) Descriptor
deprecated
func (*ListTransactionsForAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTransactionsForAddressResponse.ProtoReflect.Descriptor instead.
func (*ListTransactionsForAddressResponse) GetTransactionHashes ¶
func (x *ListTransactionsForAddressResponse) GetTransactionHashes() []string
func (*ListTransactionsForAddressResponse) ProtoMessage ¶
func (*ListTransactionsForAddressResponse) ProtoMessage()
func (*ListTransactionsForAddressResponse) ProtoReflect ¶
func (x *ListTransactionsForAddressResponse) ProtoReflect() protoreflect.Message
func (*ListTransactionsForAddressResponse) Reset ¶
func (x *ListTransactionsForAddressResponse) Reset()
func (*ListTransactionsForAddressResponse) String ¶
func (x *ListTransactionsForAddressResponse) String() string
func (*ListTransactionsForAddressResponse) Validate ¶
func (m *ListTransactionsForAddressResponse) Validate() error
Validate checks the field values on ListTransactionsForAddressResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTransactionsForAddressResponse) ValidateAll ¶
func (m *ListTransactionsForAddressResponse) ValidateAll() error
ValidateAll checks the field values on ListTransactionsForAddressResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTransactionsForAddressResponseMultiError, or nil if none found.
type ListTransactionsForAddressResponseMultiError ¶
type ListTransactionsForAddressResponseMultiError []error
ListTransactionsForAddressResponseMultiError is an error wrapping multiple validation errors returned by ListTransactionsForAddressResponse.ValidateAll() if the designated constraints aren't met.
func (ListTransactionsForAddressResponseMultiError) AllErrors ¶
func (m ListTransactionsForAddressResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTransactionsForAddressResponseMultiError) Error ¶
func (m ListTransactionsForAddressResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTransactionsForAddressResponseValidationError ¶
type ListTransactionsForAddressResponseValidationError struct {
// contains filtered or unexported fields
}
ListTransactionsForAddressResponseValidationError is the validation error returned by ListTransactionsForAddressResponse.Validate if the designated constraints aren't met.
func (ListTransactionsForAddressResponseValidationError) Cause ¶
func (e ListTransactionsForAddressResponseValidationError) Cause() error
Cause function returns cause value.
func (ListTransactionsForAddressResponseValidationError) Error ¶
func (e ListTransactionsForAddressResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListTransactionsForAddressResponseValidationError) ErrorName ¶
func (e ListTransactionsForAddressResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListTransactionsForAddressResponseValidationError) Field ¶
func (e ListTransactionsForAddressResponseValidationError) Field() string
Field function returns field value.
func (ListTransactionsForAddressResponseValidationError) Key ¶
func (e ListTransactionsForAddressResponseValidationError) Key() bool
Key function returns key value.
func (ListTransactionsForAddressResponseValidationError) Reason ¶
func (e ListTransactionsForAddressResponseValidationError) Reason() string
Reason function returns reason value.
type ListTransactionsRequest ¶
type ListTransactionsRequest struct { // The pagination limit in the List request. Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // The pagination offset in the List request. Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
ListTransactionsRequest to call the service.
func (*ListTransactionsRequest) Descriptor
deprecated
func (*ListTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTransactionsRequest.ProtoReflect.Descriptor instead.
func (*ListTransactionsRequest) GetLimit ¶
func (x *ListTransactionsRequest) GetLimit() int64
func (*ListTransactionsRequest) GetOffset ¶
func (x *ListTransactionsRequest) GetOffset() int64
func (*ListTransactionsRequest) ProtoMessage ¶
func (*ListTransactionsRequest) ProtoMessage()
func (*ListTransactionsRequest) ProtoReflect ¶
func (x *ListTransactionsRequest) ProtoReflect() protoreflect.Message
func (*ListTransactionsRequest) Reset ¶
func (x *ListTransactionsRequest) Reset()
func (*ListTransactionsRequest) String ¶
func (x *ListTransactionsRequest) String() string
func (*ListTransactionsRequest) Validate ¶
func (m *ListTransactionsRequest) Validate() error
Validate checks the field values on ListTransactionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTransactionsRequest) ValidateAll ¶
func (m *ListTransactionsRequest) ValidateAll() error
ValidateAll checks the field values on ListTransactionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTransactionsRequestMultiError, or nil if none found.
type ListTransactionsRequestMultiError ¶
type ListTransactionsRequestMultiError []error
ListTransactionsRequestMultiError is an error wrapping multiple validation errors returned by ListTransactionsRequest.ValidateAll() if the designated constraints aren't met.
func (ListTransactionsRequestMultiError) AllErrors ¶
func (m ListTransactionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTransactionsRequestMultiError) Error ¶
func (m ListTransactionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTransactionsRequestValidationError ¶
type ListTransactionsRequestValidationError struct {
// contains filtered or unexported fields
}
ListTransactionsRequestValidationError is the validation error returned by ListTransactionsRequest.Validate if the designated constraints aren't met.
func (ListTransactionsRequestValidationError) Cause ¶
func (e ListTransactionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTransactionsRequestValidationError) Error ¶
func (e ListTransactionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTransactionsRequestValidationError) ErrorName ¶
func (e ListTransactionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTransactionsRequestValidationError) Field ¶
func (e ListTransactionsRequestValidationError) Field() string
Field function returns field value.
func (ListTransactionsRequestValidationError) Key ¶
func (e ListTransactionsRequestValidationError) Key() bool
Key function returns key value.
func (ListTransactionsRequestValidationError) Reason ¶
func (e ListTransactionsRequestValidationError) Reason() string
Reason function returns reason value.
type ListTransactionsResponse ¶
type ListTransactionsResponse struct { // The hashes of the most recent transactions. TransactionHashes []string `protobuf:"bytes,1,rep,name=transaction_hashes,json=transactionHashes,proto3" json:"transaction_hashes,omitempty"` // contains filtered or unexported fields }
ListTransactionsResponse from the service.
func (*ListTransactionsResponse) Descriptor
deprecated
func (*ListTransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTransactionsResponse.ProtoReflect.Descriptor instead.
func (*ListTransactionsResponse) GetTransactionHashes ¶
func (x *ListTransactionsResponse) GetTransactionHashes() []string
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
func (*ListTransactionsResponse) Validate ¶
func (m *ListTransactionsResponse) Validate() error
Validate checks the field values on ListTransactionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTransactionsResponse) ValidateAll ¶
func (m *ListTransactionsResponse) ValidateAll() error
ValidateAll checks the field values on ListTransactionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTransactionsResponseMultiError, or nil if none found.
type ListTransactionsResponseMultiError ¶
type ListTransactionsResponseMultiError []error
ListTransactionsResponseMultiError is an error wrapping multiple validation errors returned by ListTransactionsResponse.ValidateAll() if the designated constraints aren't met.
func (ListTransactionsResponseMultiError) AllErrors ¶
func (m ListTransactionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTransactionsResponseMultiError) Error ¶
func (m ListTransactionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTransactionsResponseValidationError ¶
type ListTransactionsResponseValidationError struct {
// contains filtered or unexported fields
}
ListTransactionsResponseValidationError is the validation error returned by ListTransactionsResponse.Validate if the designated constraints aren't met.
func (ListTransactionsResponseValidationError) Cause ¶
func (e ListTransactionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListTransactionsResponseValidationError) Error ¶
func (e ListTransactionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListTransactionsResponseValidationError) ErrorName ¶
func (e ListTransactionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListTransactionsResponseValidationError) Field ¶
func (e ListTransactionsResponseValidationError) Field() string
Field function returns field value.
func (ListTransactionsResponseValidationError) Key ¶
func (e ListTransactionsResponseValidationError) Key() bool
Key function returns key value.
func (ListTransactionsResponseValidationError) Reason ¶
func (e ListTransactionsResponseValidationError) Reason() string
Reason function returns reason value.
type Transaction ¶
type Transaction struct { // The hash of this transaction. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The inputs to this transaction. Inputs []*Transaction_Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` // The outputs from this transaction. Outputs []*Transaction_Output `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` // The block containing the transaction. Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // The observed time of this transaction. It is when it was indexed, not when it happened. ObserveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=observe_time,json=observeTime,proto3" json:"observe_time,omitempty"` // contains filtered or unexported fields }
A Transaction on the AliceNet chain.
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetHash ¶
func (x *Transaction) GetHash() string
func (*Transaction) GetHeight ¶
func (x *Transaction) GetHeight() uint32
func (*Transaction) GetInputs ¶
func (x *Transaction) GetInputs() []*Transaction_Input
func (*Transaction) GetObserveTime ¶
func (x *Transaction) GetObserveTime() *timestamppb.Timestamp
func (*Transaction) GetOutputs ¶
func (x *Transaction) GetOutputs() []*Transaction_Output
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
func (*Transaction) Validate ¶
func (m *Transaction) Validate() error
Validate checks the field values on Transaction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Transaction) ValidateAll ¶
func (m *Transaction) ValidateAll() error
ValidateAll checks the field values on Transaction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransactionMultiError, or nil if none found.
type TransactionMultiError ¶
type TransactionMultiError []error
TransactionMultiError is an error wrapping multiple validation errors returned by Transaction.ValidateAll() if the designated constraints aren't met.
func (TransactionMultiError) AllErrors ¶
func (m TransactionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TransactionMultiError) Error ¶
func (m TransactionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TransactionValidationError ¶
type TransactionValidationError struct {
// contains filtered or unexported fields
}
TransactionValidationError is the validation error returned by Transaction.Validate if the designated constraints aren't met.
func (TransactionValidationError) Cause ¶
func (e TransactionValidationError) Cause() error
Cause function returns cause value.
func (TransactionValidationError) Error ¶
func (e TransactionValidationError) Error() string
Error satisfies the builtin error interface
func (TransactionValidationError) ErrorName ¶
func (e TransactionValidationError) ErrorName() string
ErrorName returns error name.
func (TransactionValidationError) Field ¶
func (e TransactionValidationError) Field() string
Field function returns field value.
func (TransactionValidationError) Key ¶
func (e TransactionValidationError) Key() bool
Key function returns key value.
func (TransactionValidationError) Reason ¶
func (e TransactionValidationError) Reason() string
Reason function returns reason value.
type Transaction_Input ¶
type Transaction_Input struct { // The ID of the chain contianing this transaction. ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The hash of this transaction. TransactionHash string `protobuf:"bytes,2,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` // The index of this transaction. TransactionIndex int64 `protobuf:"varint,3,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` // The hash of the consumed transaction. ConsumedTransactionHash string `` /* 132-byte string literal not displayed */ // The index of the consumed transaction. ConsumedTransactionIndex int64 `` /* 136-byte string literal not displayed */ // A signature of the input. Signature string `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
Input to the transaction.
func (*Transaction_Input) Descriptor
deprecated
func (*Transaction_Input) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Input.ProtoReflect.Descriptor instead.
func (*Transaction_Input) GetChainId ¶
func (x *Transaction_Input) GetChainId() uint32
func (*Transaction_Input) GetConsumedTransactionHash ¶
func (x *Transaction_Input) GetConsumedTransactionHash() string
func (*Transaction_Input) GetConsumedTransactionIndex ¶
func (x *Transaction_Input) GetConsumedTransactionIndex() int64
func (*Transaction_Input) GetSignature ¶
func (x *Transaction_Input) GetSignature() string
func (*Transaction_Input) GetTransactionHash ¶
func (x *Transaction_Input) GetTransactionHash() string
func (*Transaction_Input) GetTransactionIndex ¶
func (x *Transaction_Input) GetTransactionIndex() int64
func (*Transaction_Input) ProtoMessage ¶
func (*Transaction_Input) ProtoMessage()
func (*Transaction_Input) ProtoReflect ¶
func (x *Transaction_Input) ProtoReflect() protoreflect.Message
func (*Transaction_Input) Reset ¶
func (x *Transaction_Input) Reset()
func (*Transaction_Input) String ¶
func (x *Transaction_Input) String() string
func (*Transaction_Input) Validate ¶
func (m *Transaction_Input) Validate() error
Validate checks the field values on Transaction_Input with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Transaction_Input) ValidateAll ¶
func (m *Transaction_Input) ValidateAll() error
ValidateAll checks the field values on Transaction_Input with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Transaction_InputMultiError, or nil if none found.
type Transaction_InputMultiError ¶
type Transaction_InputMultiError []error
Transaction_InputMultiError is an error wrapping multiple validation errors returned by Transaction_Input.ValidateAll() if the designated constraints aren't met.
func (Transaction_InputMultiError) AllErrors ¶
func (m Transaction_InputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Transaction_InputMultiError) Error ¶
func (m Transaction_InputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Transaction_InputValidationError ¶
type Transaction_InputValidationError struct {
// contains filtered or unexported fields
}
Transaction_InputValidationError is the validation error returned by Transaction_Input.Validate if the designated constraints aren't met.
func (Transaction_InputValidationError) Cause ¶
func (e Transaction_InputValidationError) Cause() error
Cause function returns cause value.
func (Transaction_InputValidationError) Error ¶
func (e Transaction_InputValidationError) Error() string
Error satisfies the builtin error interface
func (Transaction_InputValidationError) ErrorName ¶
func (e Transaction_InputValidationError) ErrorName() string
ErrorName returns error name.
func (Transaction_InputValidationError) Field ¶
func (e Transaction_InputValidationError) Field() string
Field function returns field value.
func (Transaction_InputValidationError) Key ¶
func (e Transaction_InputValidationError) Key() bool
Key function returns key value.
func (Transaction_InputValidationError) Reason ¶
func (e Transaction_InputValidationError) Reason() string
Reason function returns reason value.
type Transaction_Output ¶
type Transaction_Output struct { // Unspect transaction outputs can be one of several types. // // Types that are assignable to UnspectTransactionOutput: // *Transaction_Output_ValueStore_ // *Transaction_Output_DataStore_ UnspectTransactionOutput isTransaction_Output_UnspectTransactionOutput `protobuf_oneof:"unspect_transaction_output"` // contains filtered or unexported fields }
Output from the transaction.
func (*Transaction_Output) Descriptor
deprecated
func (*Transaction_Output) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Output.ProtoReflect.Descriptor instead.
func (*Transaction_Output) GetDataStore ¶
func (x *Transaction_Output) GetDataStore() *Transaction_Output_DataStore
func (*Transaction_Output) GetUnspectTransactionOutput ¶
func (m *Transaction_Output) GetUnspectTransactionOutput() isTransaction_Output_UnspectTransactionOutput
func (*Transaction_Output) GetValueStore ¶
func (x *Transaction_Output) GetValueStore() *Transaction_Output_ValueStore
func (*Transaction_Output) ProtoMessage ¶
func (*Transaction_Output) ProtoMessage()
func (*Transaction_Output) ProtoReflect ¶
func (x *Transaction_Output) ProtoReflect() protoreflect.Message
func (*Transaction_Output) Reset ¶
func (x *Transaction_Output) Reset()
func (*Transaction_Output) String ¶
func (x *Transaction_Output) String() string
func (*Transaction_Output) Validate ¶
func (m *Transaction_Output) Validate() error
Validate checks the field values on Transaction_Output with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Transaction_Output) ValidateAll ¶
func (m *Transaction_Output) ValidateAll() error
ValidateAll checks the field values on Transaction_Output with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Transaction_OutputMultiError, or nil if none found.
type Transaction_OutputMultiError ¶
type Transaction_OutputMultiError []error
Transaction_OutputMultiError is an error wrapping multiple validation errors returned by Transaction_Output.ValidateAll() if the designated constraints aren't met.
func (Transaction_OutputMultiError) AllErrors ¶
func (m Transaction_OutputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Transaction_OutputMultiError) Error ¶
func (m Transaction_OutputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Transaction_OutputValidationError ¶
type Transaction_OutputValidationError struct {
// contains filtered or unexported fields
}
Transaction_OutputValidationError is the validation error returned by Transaction_Output.Validate if the designated constraints aren't met.
func (Transaction_OutputValidationError) Cause ¶
func (e Transaction_OutputValidationError) Cause() error
Cause function returns cause value.
func (Transaction_OutputValidationError) Error ¶
func (e Transaction_OutputValidationError) Error() string
Error satisfies the builtin error interface
func (Transaction_OutputValidationError) ErrorName ¶
func (e Transaction_OutputValidationError) ErrorName() string
ErrorName returns error name.
func (Transaction_OutputValidationError) Field ¶
func (e Transaction_OutputValidationError) Field() string
Field function returns field value.
func (Transaction_OutputValidationError) Key ¶
func (e Transaction_OutputValidationError) Key() bool
Key function returns key value.
func (Transaction_OutputValidationError) Reason ¶
func (e Transaction_OutputValidationError) Reason() string
Reason function returns reason value.
type Transaction_Output_DataStore ¶
type Transaction_Output_DataStore struct { // The signature of this data store. Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // The hash of the transaction. TransactionHash string `protobuf:"bytes,2,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` // The ID of the chain containing this transaction. ChainId uint32 `protobuf:"varint,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The index of this data store. Index string `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"` // When this data store was issued at. IssuedAt uint32 `protobuf:"varint,5,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` // The deposit for this data store. Deposit string `protobuf:"bytes,6,opt,name=deposit,proto3" json:"deposit,omitempty"` // The raw data to be stored. RawData string `protobuf:"bytes,7,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` // The transaction out index. TransactionOutIndex uint32 `protobuf:"varint,8,opt,name=transaction_out_index,json=transactionOutIndex,proto3" json:"transaction_out_index,omitempty"` // The owner of the data store. Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"` // The fee paid for this store. Fee string `protobuf:"bytes,10,opt,name=fee,proto3" json:"fee,omitempty"` // contains filtered or unexported fields }
A DataStore on the AliceNet chain.
func (*Transaction_Output_DataStore) Descriptor
deprecated
func (*Transaction_Output_DataStore) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Output_DataStore.ProtoReflect.Descriptor instead.
func (*Transaction_Output_DataStore) GetChainId ¶
func (x *Transaction_Output_DataStore) GetChainId() uint32
func (*Transaction_Output_DataStore) GetDeposit ¶
func (x *Transaction_Output_DataStore) GetDeposit() string
func (*Transaction_Output_DataStore) GetFee ¶
func (x *Transaction_Output_DataStore) GetFee() string
func (*Transaction_Output_DataStore) GetIndex ¶
func (x *Transaction_Output_DataStore) GetIndex() string
func (*Transaction_Output_DataStore) GetIssuedAt ¶
func (x *Transaction_Output_DataStore) GetIssuedAt() uint32
func (*Transaction_Output_DataStore) GetOwner ¶
func (x *Transaction_Output_DataStore) GetOwner() string
func (*Transaction_Output_DataStore) GetRawData ¶
func (x *Transaction_Output_DataStore) GetRawData() string
func (*Transaction_Output_DataStore) GetSignature ¶
func (x *Transaction_Output_DataStore) GetSignature() string
func (*Transaction_Output_DataStore) GetTransactionHash ¶
func (x *Transaction_Output_DataStore) GetTransactionHash() string
func (*Transaction_Output_DataStore) GetTransactionOutIndex ¶
func (x *Transaction_Output_DataStore) GetTransactionOutIndex() uint32
func (*Transaction_Output_DataStore) ProtoMessage ¶
func (*Transaction_Output_DataStore) ProtoMessage()
func (*Transaction_Output_DataStore) ProtoReflect ¶
func (x *Transaction_Output_DataStore) ProtoReflect() protoreflect.Message
func (*Transaction_Output_DataStore) Reset ¶
func (x *Transaction_Output_DataStore) Reset()
func (*Transaction_Output_DataStore) String ¶
func (x *Transaction_Output_DataStore) String() string
func (*Transaction_Output_DataStore) Validate ¶
func (m *Transaction_Output_DataStore) Validate() error
Validate checks the field values on Transaction_Output_DataStore with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Transaction_Output_DataStore) ValidateAll ¶
func (m *Transaction_Output_DataStore) ValidateAll() error
ValidateAll checks the field values on Transaction_Output_DataStore with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Transaction_Output_DataStoreMultiError, or nil if none found.
type Transaction_Output_DataStoreMultiError ¶
type Transaction_Output_DataStoreMultiError []error
Transaction_Output_DataStoreMultiError is an error wrapping multiple validation errors returned by Transaction_Output_DataStore.ValidateAll() if the designated constraints aren't met.
func (Transaction_Output_DataStoreMultiError) AllErrors ¶
func (m Transaction_Output_DataStoreMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Transaction_Output_DataStoreMultiError) Error ¶
func (m Transaction_Output_DataStoreMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Transaction_Output_DataStoreValidationError ¶
type Transaction_Output_DataStoreValidationError struct {
// contains filtered or unexported fields
}
Transaction_Output_DataStoreValidationError is the validation error returned by Transaction_Output_DataStore.Validate if the designated constraints aren't met.
func (Transaction_Output_DataStoreValidationError) Cause ¶
func (e Transaction_Output_DataStoreValidationError) Cause() error
Cause function returns cause value.
func (Transaction_Output_DataStoreValidationError) Error ¶
func (e Transaction_Output_DataStoreValidationError) Error() string
Error satisfies the builtin error interface
func (Transaction_Output_DataStoreValidationError) ErrorName ¶
func (e Transaction_Output_DataStoreValidationError) ErrorName() string
ErrorName returns error name.
func (Transaction_Output_DataStoreValidationError) Field ¶
func (e Transaction_Output_DataStoreValidationError) Field() string
Field function returns field value.
func (Transaction_Output_DataStoreValidationError) Key ¶
func (e Transaction_Output_DataStoreValidationError) Key() bool
Key function returns key value.
func (Transaction_Output_DataStoreValidationError) Reason ¶
func (e Transaction_Output_DataStoreValidationError) Reason() string
Reason function returns reason value.
type Transaction_Output_DataStore_ ¶
type Transaction_Output_DataStore_ struct { // A data store. DataStore *Transaction_Output_DataStore `protobuf:"bytes,3,opt,name=data_store,json=dataStore,proto3,oneof"` }
type Transaction_Output_ValueStore ¶
type Transaction_Output_ValueStore struct { // The hash of the transaction. TransactionHash string `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` // The ID of the chain containing this transaction. ChainId uint32 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // The value of the store. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // The index of the output transaction. TransactionOutIndex uint32 `protobuf:"varint,4,opt,name=transaction_out_index,json=transactionOutIndex,proto3" json:"transaction_out_index,omitempty"` // The owner of the value store. Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` // The fee paid for this store. Fee string `protobuf:"bytes,6,opt,name=fee,proto3" json:"fee,omitempty"` // contains filtered or unexported fields }
A ValueStore on the AliceNet chain.
func (*Transaction_Output_ValueStore) Descriptor
deprecated
func (*Transaction_Output_ValueStore) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Output_ValueStore.ProtoReflect.Descriptor instead.
func (*Transaction_Output_ValueStore) GetChainId ¶
func (x *Transaction_Output_ValueStore) GetChainId() uint32
func (*Transaction_Output_ValueStore) GetFee ¶
func (x *Transaction_Output_ValueStore) GetFee() string
func (*Transaction_Output_ValueStore) GetOwner ¶
func (x *Transaction_Output_ValueStore) GetOwner() string
func (*Transaction_Output_ValueStore) GetTransactionHash ¶
func (x *Transaction_Output_ValueStore) GetTransactionHash() string
func (*Transaction_Output_ValueStore) GetTransactionOutIndex ¶
func (x *Transaction_Output_ValueStore) GetTransactionOutIndex() uint32
func (*Transaction_Output_ValueStore) GetValue ¶
func (x *Transaction_Output_ValueStore) GetValue() string
func (*Transaction_Output_ValueStore) ProtoMessage ¶
func (*Transaction_Output_ValueStore) ProtoMessage()
func (*Transaction_Output_ValueStore) ProtoReflect ¶
func (x *Transaction_Output_ValueStore) ProtoReflect() protoreflect.Message
func (*Transaction_Output_ValueStore) Reset ¶
func (x *Transaction_Output_ValueStore) Reset()
func (*Transaction_Output_ValueStore) String ¶
func (x *Transaction_Output_ValueStore) String() string
func (*Transaction_Output_ValueStore) Validate ¶
func (m *Transaction_Output_ValueStore) Validate() error
Validate checks the field values on Transaction_Output_ValueStore with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Transaction_Output_ValueStore) ValidateAll ¶
func (m *Transaction_Output_ValueStore) ValidateAll() error
ValidateAll checks the field values on Transaction_Output_ValueStore with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Transaction_Output_ValueStoreMultiError, or nil if none found.
type Transaction_Output_ValueStoreMultiError ¶
type Transaction_Output_ValueStoreMultiError []error
Transaction_Output_ValueStoreMultiError is an error wrapping multiple validation errors returned by Transaction_Output_ValueStore.ValidateAll() if the designated constraints aren't met.
func (Transaction_Output_ValueStoreMultiError) AllErrors ¶
func (m Transaction_Output_ValueStoreMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Transaction_Output_ValueStoreMultiError) Error ¶
func (m Transaction_Output_ValueStoreMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Transaction_Output_ValueStoreValidationError ¶
type Transaction_Output_ValueStoreValidationError struct {
// contains filtered or unexported fields
}
Transaction_Output_ValueStoreValidationError is the validation error returned by Transaction_Output_ValueStore.Validate if the designated constraints aren't met.
func (Transaction_Output_ValueStoreValidationError) Cause ¶
func (e Transaction_Output_ValueStoreValidationError) Cause() error
Cause function returns cause value.
func (Transaction_Output_ValueStoreValidationError) Error ¶
func (e Transaction_Output_ValueStoreValidationError) Error() string
Error satisfies the builtin error interface
func (Transaction_Output_ValueStoreValidationError) ErrorName ¶
func (e Transaction_Output_ValueStoreValidationError) ErrorName() string
ErrorName returns error name.
func (Transaction_Output_ValueStoreValidationError) Field ¶
func (e Transaction_Output_ValueStoreValidationError) Field() string
Field function returns field value.
func (Transaction_Output_ValueStoreValidationError) Key ¶
func (e Transaction_Output_ValueStoreValidationError) Key() bool
Key function returns key value.
func (Transaction_Output_ValueStoreValidationError) Reason ¶
func (e Transaction_Output_ValueStoreValidationError) Reason() string
Reason function returns reason value.
type Transaction_Output_ValueStore_ ¶
type Transaction_Output_ValueStore_ struct { // A value store. ValueStore *Transaction_Output_ValueStore `protobuf:"bytes,2,opt,name=value_store,json=valueStore,proto3,oneof"` }
type UnimplementedAliceServiceServer ¶
type UnimplementedAliceServiceServer struct { }
UnimplementedAliceServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAliceServiceServer) GetBalance ¶
func (UnimplementedAliceServiceServer) GetBalance(context.Context, *GetBalanceRequest) (*GetBalanceResponse, error)
func (UnimplementedAliceServiceServer) GetBlock ¶
func (UnimplementedAliceServiceServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
func (UnimplementedAliceServiceServer) GetStoreValue ¶
func (UnimplementedAliceServiceServer) GetStoreValue(context.Context, *GetStoreValueRequest) (*GetStoreValueResponse, error)
func (UnimplementedAliceServiceServer) GetTransaction ¶
func (UnimplementedAliceServiceServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
func (UnimplementedAliceServiceServer) ListBlocks ¶
func (UnimplementedAliceServiceServer) ListBlocks(context.Context, *ListBlocksRequest) (*ListBlocksResponse, error)
func (UnimplementedAliceServiceServer) ListStores ¶
func (UnimplementedAliceServiceServer) ListStores(context.Context, *ListStoresRequest) (*ListStoresResponse, error)
func (UnimplementedAliceServiceServer) ListTransactions ¶
func (UnimplementedAliceServiceServer) ListTransactions(context.Context, *ListTransactionsRequest) (*ListTransactionsResponse, error)
func (UnimplementedAliceServiceServer) ListTransactionsForAddress ¶
func (UnimplementedAliceServiceServer) ListTransactionsForAddress(context.Context, *ListTransactionsForAddressRequest) (*ListTransactionsForAddressResponse, error)
type UnsafeAliceServiceServer ¶
type UnsafeAliceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAliceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AliceServiceServer will result in compilation errors.