Documentation
¶
Overview ¶
Package iotexapi is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterAPIServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAPIServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client APIServiceClient) error
- func RegisterAPIServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
- type APIServiceClient
- type APIServiceServer
- type APIService_StreamBlocksClient
- type APIService_StreamBlocksServer
- type APIService_StreamLogsClient
- type APIService_StreamLogsServer
- type ActionInfo
- func (*ActionInfo) Descriptor() ([]byte, []int)
- func (m *ActionInfo) GetActHash() string
- func (m *ActionInfo) GetAction() *iotextypes.Action
- func (m *ActionInfo) GetBlkHash() string
- func (m *ActionInfo) GetBlkHeight() uint64
- func (m *ActionInfo) GetGasFee() string
- func (m *ActionInfo) GetSender() string
- func (m *ActionInfo) GetTimestamp() *timestamp.Timestamp
- func (*ActionInfo) ProtoMessage()
- func (m *ActionInfo) Reset()
- func (m *ActionInfo) String() string
- func (m *ActionInfo) XXX_DiscardUnknown()
- func (m *ActionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionInfo) XXX_Merge(src proto.Message)
- func (m *ActionInfo) XXX_Size() int
- func (m *ActionInfo) XXX_Unmarshal(b []byte) error
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)
- func (m *BlockInfo) GetBlock() *iotextypes.Block
- func (m *BlockInfo) GetReceipts() []*iotextypes.Receipt
- func (*BlockInfo) ProtoMessage()
- func (m *BlockInfo) Reset()
- func (m *BlockInfo) String() string
- func (m *BlockInfo) XXX_DiscardUnknown()
- func (m *BlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockInfo) XXX_Merge(src proto.Message)
- func (m *BlockInfo) XXX_Size() int
- func (m *BlockInfo) XXX_Unmarshal(b []byte) error
- type BlockProducerInfo
- func (*BlockProducerInfo) Descriptor() ([]byte, []int)
- func (m *BlockProducerInfo) GetActive() bool
- func (m *BlockProducerInfo) GetAddress() string
- func (m *BlockProducerInfo) GetProduction() uint64
- func (m *BlockProducerInfo) GetVotes() string
- func (*BlockProducerInfo) ProtoMessage()
- func (m *BlockProducerInfo) Reset()
- func (m *BlockProducerInfo) String() string
- func (m *BlockProducerInfo) XXX_DiscardUnknown()
- func (m *BlockProducerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockProducerInfo) XXX_Merge(src proto.Message)
- func (m *BlockProducerInfo) XXX_Size() int
- func (m *BlockProducerInfo) XXX_Unmarshal(b []byte) error
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)
- func (m *Bucket) GetRemainingDuration() string
- func (m *Bucket) GetVoter() string
- func (m *Bucket) GetVotes() string
- func (m *Bucket) GetWeightedVotes() string
- func (*Bucket) ProtoMessage()
- func (m *Bucket) Reset()
- func (m *Bucket) String() string
- func (m *Bucket) XXX_DiscardUnknown()
- func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket) XXX_Merge(src proto.Message)
- func (m *Bucket) XXX_Size() int
- func (m *Bucket) XXX_Unmarshal(b []byte) error
- type EstimateActionGasConsumptionRequest
- func (*EstimateActionGasConsumptionRequest) Descriptor() ([]byte, []int)
- func (m *EstimateActionGasConsumptionRequest) GetAction() isEstimateActionGasConsumptionRequest_Action
- func (m *EstimateActionGasConsumptionRequest) GetCallerAddress() string
- func (m *EstimateActionGasConsumptionRequest) GetExecution() *iotextypes.Execution
- func (m *EstimateActionGasConsumptionRequest) GetTransfer() *iotextypes.Transfer
- func (*EstimateActionGasConsumptionRequest) ProtoMessage()
- func (m *EstimateActionGasConsumptionRequest) Reset()
- func (m *EstimateActionGasConsumptionRequest) String() string
- func (m *EstimateActionGasConsumptionRequest) XXX_DiscardUnknown()
- func (m *EstimateActionGasConsumptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateActionGasConsumptionRequest) XXX_Merge(src proto.Message)
- func (*EstimateActionGasConsumptionRequest) XXX_OneofWrappers() []interface{}
- func (m *EstimateActionGasConsumptionRequest) XXX_Size() int
- func (m *EstimateActionGasConsumptionRequest) XXX_Unmarshal(b []byte) error
- type EstimateActionGasConsumptionRequest_Execution
- type EstimateActionGasConsumptionRequest_Transfer
- type EstimateActionGasConsumptionResponse
- func (*EstimateActionGasConsumptionResponse) Descriptor() ([]byte, []int)
- func (m *EstimateActionGasConsumptionResponse) GetGas() uint64
- func (*EstimateActionGasConsumptionResponse) ProtoMessage()
- func (m *EstimateActionGasConsumptionResponse) Reset()
- func (m *EstimateActionGasConsumptionResponse) String() string
- func (m *EstimateActionGasConsumptionResponse) XXX_DiscardUnknown()
- func (m *EstimateActionGasConsumptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateActionGasConsumptionResponse) XXX_Merge(src proto.Message)
- func (m *EstimateActionGasConsumptionResponse) XXX_Size() int
- func (m *EstimateActionGasConsumptionResponse) XXX_Unmarshal(b []byte) error
- type EstimateGasForActionRequest
- func (*EstimateGasForActionRequest) Descriptor() ([]byte, []int)
- func (m *EstimateGasForActionRequest) GetAction() *iotextypes.Action
- func (*EstimateGasForActionRequest) ProtoMessage()
- func (m *EstimateGasForActionRequest) Reset()
- func (m *EstimateGasForActionRequest) String() string
- func (m *EstimateGasForActionRequest) XXX_DiscardUnknown()
- func (m *EstimateGasForActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateGasForActionRequest) XXX_Merge(src proto.Message)
- func (m *EstimateGasForActionRequest) XXX_Size() int
- func (m *EstimateGasForActionRequest) XXX_Unmarshal(b []byte) error
- type EstimateGasForActionResponse
- func (*EstimateGasForActionResponse) Descriptor() ([]byte, []int)
- func (m *EstimateGasForActionResponse) GetGas() uint64
- func (*EstimateGasForActionResponse) ProtoMessage()
- func (m *EstimateGasForActionResponse) Reset()
- func (m *EstimateGasForActionResponse) String() string
- func (m *EstimateGasForActionResponse) XXX_DiscardUnknown()
- func (m *EstimateGasForActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateGasForActionResponse) XXX_Merge(src proto.Message)
- func (m *EstimateGasForActionResponse) XXX_Size() int
- func (m *EstimateGasForActionResponse) XXX_Unmarshal(b []byte) error
- type GetAccountRequest
- func (*GetAccountRequest) Descriptor() ([]byte, []int)
- func (m *GetAccountRequest) GetAddress() string
- func (*GetAccountRequest) ProtoMessage()
- func (m *GetAccountRequest) Reset()
- func (m *GetAccountRequest) String() string
- func (m *GetAccountRequest) XXX_DiscardUnknown()
- func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountRequest) XXX_Merge(src proto.Message)
- func (m *GetAccountRequest) XXX_Size() int
- func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error
- type GetAccountResponse
- func (*GetAccountResponse) Descriptor() ([]byte, []int)
- func (m *GetAccountResponse) GetAccountMeta() *iotextypes.AccountMeta
- func (*GetAccountResponse) ProtoMessage()
- func (m *GetAccountResponse) Reset()
- func (m *GetAccountResponse) String() string
- func (m *GetAccountResponse) XXX_DiscardUnknown()
- func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountResponse) XXX_Merge(src proto.Message)
- func (m *GetAccountResponse) XXX_Size() int
- func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error
- type GetActionByHashRequest
- func (*GetActionByHashRequest) Descriptor() ([]byte, []int)
- func (m *GetActionByHashRequest) GetActionHash() string
- func (m *GetActionByHashRequest) GetCheckPending() bool
- func (*GetActionByHashRequest) ProtoMessage()
- func (m *GetActionByHashRequest) Reset()
- func (m *GetActionByHashRequest) String() string
- func (m *GetActionByHashRequest) XXX_DiscardUnknown()
- func (m *GetActionByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionByHashRequest) XXX_Merge(src proto.Message)
- func (m *GetActionByHashRequest) XXX_Size() int
- func (m *GetActionByHashRequest) XXX_Unmarshal(b []byte) error
- type GetActionsByAddressRequest
- func (*GetActionsByAddressRequest) Descriptor() ([]byte, []int)
- func (m *GetActionsByAddressRequest) GetAddress() string
- func (m *GetActionsByAddressRequest) GetCount() uint64
- func (m *GetActionsByAddressRequest) GetStart() uint64
- func (*GetActionsByAddressRequest) ProtoMessage()
- func (m *GetActionsByAddressRequest) Reset()
- func (m *GetActionsByAddressRequest) String() string
- func (m *GetActionsByAddressRequest) XXX_DiscardUnknown()
- func (m *GetActionsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsByAddressRequest) XXX_Merge(src proto.Message)
- func (m *GetActionsByAddressRequest) XXX_Size() int
- func (m *GetActionsByAddressRequest) XXX_Unmarshal(b []byte) error
- type GetActionsByBlockRequest
- func (*GetActionsByBlockRequest) Descriptor() ([]byte, []int)
- func (m *GetActionsByBlockRequest) GetBlkHash() string
- func (m *GetActionsByBlockRequest) GetCount() uint64
- func (m *GetActionsByBlockRequest) GetStart() uint64
- func (*GetActionsByBlockRequest) ProtoMessage()
- func (m *GetActionsByBlockRequest) Reset()
- func (m *GetActionsByBlockRequest) String() string
- func (m *GetActionsByBlockRequest) XXX_DiscardUnknown()
- func (m *GetActionsByBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsByBlockRequest) XXX_Merge(src proto.Message)
- func (m *GetActionsByBlockRequest) XXX_Size() int
- func (m *GetActionsByBlockRequest) XXX_Unmarshal(b []byte) error
- type GetActionsByIndexRequest
- func (*GetActionsByIndexRequest) Descriptor() ([]byte, []int)
- func (m *GetActionsByIndexRequest) GetCount() uint64
- func (m *GetActionsByIndexRequest) GetStart() uint64
- func (*GetActionsByIndexRequest) ProtoMessage()
- func (m *GetActionsByIndexRequest) Reset()
- func (m *GetActionsByIndexRequest) String() string
- func (m *GetActionsByIndexRequest) XXX_DiscardUnknown()
- func (m *GetActionsByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsByIndexRequest) XXX_Merge(src proto.Message)
- func (m *GetActionsByIndexRequest) XXX_Size() int
- func (m *GetActionsByIndexRequest) XXX_Unmarshal(b []byte) error
- type GetActionsRequest
- func (*GetActionsRequest) Descriptor() ([]byte, []int)
- func (m *GetActionsRequest) GetByAddr() *GetActionsByAddressRequest
- func (m *GetActionsRequest) GetByBlk() *GetActionsByBlockRequest
- func (m *GetActionsRequest) GetByHash() *GetActionByHashRequest
- func (m *GetActionsRequest) GetByIndex() *GetActionsByIndexRequest
- func (m *GetActionsRequest) GetLookup() isGetActionsRequest_Lookup
- func (m *GetActionsRequest) GetUnconfirmedByAddr() *GetUnconfirmedActionsByAddressRequest
- func (*GetActionsRequest) ProtoMessage()
- func (m *GetActionsRequest) Reset()
- func (m *GetActionsRequest) String() string
- func (m *GetActionsRequest) XXX_DiscardUnknown()
- func (m *GetActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsRequest) XXX_Merge(src proto.Message)
- func (*GetActionsRequest) XXX_OneofWrappers() []interface{}
- func (m *GetActionsRequest) XXX_Size() int
- func (m *GetActionsRequest) XXX_Unmarshal(b []byte) error
- type GetActionsRequest_ByAddr
- type GetActionsRequest_ByBlk
- type GetActionsRequest_ByHash
- type GetActionsRequest_ByIndex
- type GetActionsRequest_UnconfirmedByAddr
- type GetActionsResponse
- func (*GetActionsResponse) Descriptor() ([]byte, []int)
- func (m *GetActionsResponse) GetActionInfo() []*ActionInfo
- func (m *GetActionsResponse) GetTotal() uint64
- func (*GetActionsResponse) ProtoMessage()
- func (m *GetActionsResponse) Reset()
- func (m *GetActionsResponse) String() string
- func (m *GetActionsResponse) XXX_DiscardUnknown()
- func (m *GetActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsResponse) XXX_Merge(src proto.Message)
- func (m *GetActionsResponse) XXX_Size() int
- func (m *GetActionsResponse) XXX_Unmarshal(b []byte) error
- type GetBlockMetaByHashRequest
- func (*GetBlockMetaByHashRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockMetaByHashRequest) GetBlkHash() string
- func (*GetBlockMetaByHashRequest) ProtoMessage()
- func (m *GetBlockMetaByHashRequest) Reset()
- func (m *GetBlockMetaByHashRequest) String() string
- func (m *GetBlockMetaByHashRequest) XXX_DiscardUnknown()
- func (m *GetBlockMetaByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockMetaByHashRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockMetaByHashRequest) XXX_Size() int
- func (m *GetBlockMetaByHashRequest) XXX_Unmarshal(b []byte) error
- type GetBlockMetasByIndexRequest
- func (*GetBlockMetasByIndexRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockMetasByIndexRequest) GetCount() uint64
- func (m *GetBlockMetasByIndexRequest) GetStart() uint64
- func (*GetBlockMetasByIndexRequest) ProtoMessage()
- func (m *GetBlockMetasByIndexRequest) Reset()
- func (m *GetBlockMetasByIndexRequest) String() string
- func (m *GetBlockMetasByIndexRequest) XXX_DiscardUnknown()
- func (m *GetBlockMetasByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockMetasByIndexRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockMetasByIndexRequest) XXX_Size() int
- func (m *GetBlockMetasByIndexRequest) XXX_Unmarshal(b []byte) error
- type GetBlockMetasRequest
- func (*GetBlockMetasRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockMetasRequest) GetByHash() *GetBlockMetaByHashRequest
- func (m *GetBlockMetasRequest) GetByIndex() *GetBlockMetasByIndexRequest
- func (m *GetBlockMetasRequest) GetLookup() isGetBlockMetasRequest_Lookup
- func (*GetBlockMetasRequest) ProtoMessage()
- func (m *GetBlockMetasRequest) Reset()
- func (m *GetBlockMetasRequest) String() string
- func (m *GetBlockMetasRequest) XXX_DiscardUnknown()
- func (m *GetBlockMetasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockMetasRequest) XXX_Merge(src proto.Message)
- func (*GetBlockMetasRequest) XXX_OneofWrappers() []interface{}
- func (m *GetBlockMetasRequest) XXX_Size() int
- func (m *GetBlockMetasRequest) XXX_Unmarshal(b []byte) error
- type GetBlockMetasRequest_ByHash
- type GetBlockMetasRequest_ByIndex
- type GetBlockMetasResponse
- func (*GetBlockMetasResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockMetasResponse) GetBlkMetas() []*iotextypes.BlockMeta
- func (m *GetBlockMetasResponse) GetTotal() uint64
- func (*GetBlockMetasResponse) ProtoMessage()
- func (m *GetBlockMetasResponse) Reset()
- func (m *GetBlockMetasResponse) String() string
- func (m *GetBlockMetasResponse) XXX_DiscardUnknown()
- func (m *GetBlockMetasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockMetasResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockMetasResponse) XXX_Size() int
- func (m *GetBlockMetasResponse) XXX_Unmarshal(b []byte) error
- type GetChainMetaRequest
- func (*GetChainMetaRequest) Descriptor() ([]byte, []int)
- func (*GetChainMetaRequest) ProtoMessage()
- func (m *GetChainMetaRequest) Reset()
- func (m *GetChainMetaRequest) String() string
- func (m *GetChainMetaRequest) XXX_DiscardUnknown()
- func (m *GetChainMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetChainMetaRequest) XXX_Merge(src proto.Message)
- func (m *GetChainMetaRequest) XXX_Size() int
- func (m *GetChainMetaRequest) XXX_Unmarshal(b []byte) error
- type GetChainMetaResponse
- func (*GetChainMetaResponse) Descriptor() ([]byte, []int)
- func (m *GetChainMetaResponse) GetChainMeta() *iotextypes.ChainMeta
- func (*GetChainMetaResponse) ProtoMessage()
- func (m *GetChainMetaResponse) Reset()
- func (m *GetChainMetaResponse) String() string
- func (m *GetChainMetaResponse) XXX_DiscardUnknown()
- func (m *GetChainMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetChainMetaResponse) XXX_Merge(src proto.Message)
- func (m *GetChainMetaResponse) XXX_Size() int
- func (m *GetChainMetaResponse) XXX_Unmarshal(b []byte) error
- type GetElectionBucketsRequest
- func (*GetElectionBucketsRequest) Descriptor() ([]byte, []int)
- func (m *GetElectionBucketsRequest) GetEpochNum() uint64
- func (*GetElectionBucketsRequest) ProtoMessage()
- func (m *GetElectionBucketsRequest) Reset()
- func (m *GetElectionBucketsRequest) String() string
- func (m *GetElectionBucketsRequest) XXX_DiscardUnknown()
- func (m *GetElectionBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetElectionBucketsRequest) XXX_Merge(src proto.Message)
- func (m *GetElectionBucketsRequest) XXX_Size() int
- func (m *GetElectionBucketsRequest) XXX_Unmarshal(b []byte) error
- type GetElectionBucketsResponse
- func (*GetElectionBucketsResponse) Descriptor() ([]byte, []int)
- func (m *GetElectionBucketsResponse) GetBuckets() []*iotextypes.ElectionBucket
- func (*GetElectionBucketsResponse) ProtoMessage()
- func (m *GetElectionBucketsResponse) Reset()
- func (m *GetElectionBucketsResponse) String() string
- func (m *GetElectionBucketsResponse) XXX_DiscardUnknown()
- func (m *GetElectionBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetElectionBucketsResponse) XXX_Merge(src proto.Message)
- func (m *GetElectionBucketsResponse) XXX_Size() int
- func (m *GetElectionBucketsResponse) XXX_Unmarshal(b []byte) error
- type GetEpochMetaRequest
- func (*GetEpochMetaRequest) Descriptor() ([]byte, []int)
- func (m *GetEpochMetaRequest) GetEpochNumber() uint64
- func (*GetEpochMetaRequest) ProtoMessage()
- func (m *GetEpochMetaRequest) Reset()
- func (m *GetEpochMetaRequest) String() string
- func (m *GetEpochMetaRequest) XXX_DiscardUnknown()
- func (m *GetEpochMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEpochMetaRequest) XXX_Merge(src proto.Message)
- func (m *GetEpochMetaRequest) XXX_Size() int
- func (m *GetEpochMetaRequest) XXX_Unmarshal(b []byte) error
- type GetEpochMetaResponse
- func (*GetEpochMetaResponse) Descriptor() ([]byte, []int)
- func (m *GetEpochMetaResponse) GetBlockProducersInfo() []*BlockProducerInfo
- func (m *GetEpochMetaResponse) GetEpochData() *iotextypes.EpochData
- func (m *GetEpochMetaResponse) GetTotalBlocks() uint64
- func (*GetEpochMetaResponse) ProtoMessage()
- func (m *GetEpochMetaResponse) Reset()
- func (m *GetEpochMetaResponse) String() string
- func (m *GetEpochMetaResponse) XXX_DiscardUnknown()
- func (m *GetEpochMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEpochMetaResponse) XXX_Merge(src proto.Message)
- func (m *GetEpochMetaResponse) XXX_Size() int
- func (m *GetEpochMetaResponse) XXX_Unmarshal(b []byte) error
- type GetLogsByBlock
- func (*GetLogsByBlock) Descriptor() ([]byte, []int)
- func (m *GetLogsByBlock) GetBlockHash() []byte
- func (*GetLogsByBlock) ProtoMessage()
- func (m *GetLogsByBlock) Reset()
- func (m *GetLogsByBlock) String() string
- func (m *GetLogsByBlock) XXX_DiscardUnknown()
- func (m *GetLogsByBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLogsByBlock) XXX_Merge(src proto.Message)
- func (m *GetLogsByBlock) XXX_Size() int
- func (m *GetLogsByBlock) XXX_Unmarshal(b []byte) error
- type GetLogsByRange
- func (*GetLogsByRange) Descriptor() ([]byte, []int)
- func (m *GetLogsByRange) GetCount() uint64
- func (m *GetLogsByRange) GetFromBlock() uint64
- func (*GetLogsByRange) ProtoMessage()
- func (m *GetLogsByRange) Reset()
- func (m *GetLogsByRange) String() string
- func (m *GetLogsByRange) XXX_DiscardUnknown()
- func (m *GetLogsByRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLogsByRange) XXX_Merge(src proto.Message)
- func (m *GetLogsByRange) XXX_Size() int
- func (m *GetLogsByRange) XXX_Unmarshal(b []byte) error
- type GetLogsRequest
- func (*GetLogsRequest) Descriptor() ([]byte, []int)
- func (m *GetLogsRequest) GetByBlock() *GetLogsByBlock
- func (m *GetLogsRequest) GetByRange() *GetLogsByRange
- func (m *GetLogsRequest) GetFilter() *LogsFilter
- func (m *GetLogsRequest) GetLookup() isGetLogsRequest_Lookup
- func (*GetLogsRequest) ProtoMessage()
- func (m *GetLogsRequest) Reset()
- func (m *GetLogsRequest) String() string
- func (m *GetLogsRequest) XXX_DiscardUnknown()
- func (m *GetLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLogsRequest) XXX_Merge(src proto.Message)
- func (*GetLogsRequest) XXX_OneofWrappers() []interface{}
- func (m *GetLogsRequest) XXX_Size() int
- func (m *GetLogsRequest) XXX_Unmarshal(b []byte) error
- type GetLogsRequest_ByBlock
- type GetLogsRequest_ByRange
- type GetLogsResponse
- func (*GetLogsResponse) Descriptor() ([]byte, []int)
- func (m *GetLogsResponse) GetLogs() []*iotextypes.Log
- func (*GetLogsResponse) ProtoMessage()
- func (m *GetLogsResponse) Reset()
- func (m *GetLogsResponse) String() string
- func (m *GetLogsResponse) XXX_DiscardUnknown()
- func (m *GetLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLogsResponse) XXX_Merge(src proto.Message)
- func (m *GetLogsResponse) XXX_Size() int
- func (m *GetLogsResponse) XXX_Unmarshal(b []byte) error
- type GetRawBlocksRequest
- func (*GetRawBlocksRequest) Descriptor() ([]byte, []int)
- func (m *GetRawBlocksRequest) GetCount() uint64
- func (m *GetRawBlocksRequest) GetStartHeight() uint64
- func (m *GetRawBlocksRequest) GetWithReceipts() bool
- func (*GetRawBlocksRequest) ProtoMessage()
- func (m *GetRawBlocksRequest) Reset()
- func (m *GetRawBlocksRequest) String() string
- func (m *GetRawBlocksRequest) XXX_DiscardUnknown()
- func (m *GetRawBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawBlocksRequest) XXX_Merge(src proto.Message)
- func (m *GetRawBlocksRequest) XXX_Size() int
- func (m *GetRawBlocksRequest) XXX_Unmarshal(b []byte) error
- type GetRawBlocksResponse
- func (*GetRawBlocksResponse) Descriptor() ([]byte, []int)
- func (m *GetRawBlocksResponse) GetBlocks() []*BlockInfo
- func (*GetRawBlocksResponse) ProtoMessage()
- func (m *GetRawBlocksResponse) Reset()
- func (m *GetRawBlocksResponse) String() string
- func (m *GetRawBlocksResponse) XXX_DiscardUnknown()
- func (m *GetRawBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawBlocksResponse) XXX_Merge(src proto.Message)
- func (m *GetRawBlocksResponse) XXX_Size() int
- func (m *GetRawBlocksResponse) XXX_Unmarshal(b []byte) error
- type GetReceiptByActionRequest
- func (*GetReceiptByActionRequest) Descriptor() ([]byte, []int)
- func (m *GetReceiptByActionRequest) GetActionHash() string
- func (*GetReceiptByActionRequest) ProtoMessage()
- func (m *GetReceiptByActionRequest) Reset()
- func (m *GetReceiptByActionRequest) String() string
- func (m *GetReceiptByActionRequest) XXX_DiscardUnknown()
- func (m *GetReceiptByActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReceiptByActionRequest) XXX_Merge(src proto.Message)
- func (m *GetReceiptByActionRequest) XXX_Size() int
- func (m *GetReceiptByActionRequest) XXX_Unmarshal(b []byte) error
- type GetReceiptByActionResponse
- func (*GetReceiptByActionResponse) Descriptor() ([]byte, []int)
- func (m *GetReceiptByActionResponse) GetReceiptInfo() *ReceiptInfo
- func (*GetReceiptByActionResponse) ProtoMessage()
- func (m *GetReceiptByActionResponse) Reset()
- func (m *GetReceiptByActionResponse) String() string
- func (m *GetReceiptByActionResponse) XXX_DiscardUnknown()
- func (m *GetReceiptByActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReceiptByActionResponse) XXX_Merge(src proto.Message)
- func (m *GetReceiptByActionResponse) XXX_Size() int
- func (m *GetReceiptByActionResponse) XXX_Unmarshal(b []byte) error
- type GetServerMetaRequest
- func (*GetServerMetaRequest) Descriptor() ([]byte, []int)
- func (*GetServerMetaRequest) ProtoMessage()
- func (m *GetServerMetaRequest) Reset()
- func (m *GetServerMetaRequest) String() string
- func (m *GetServerMetaRequest) XXX_DiscardUnknown()
- func (m *GetServerMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerMetaRequest) XXX_Merge(src proto.Message)
- func (m *GetServerMetaRequest) XXX_Size() int
- func (m *GetServerMetaRequest) XXX_Unmarshal(b []byte) error
- type GetServerMetaResponse
- func (*GetServerMetaResponse) Descriptor() ([]byte, []int)
- func (m *GetServerMetaResponse) GetServerMeta() *iotextypes.ServerMeta
- func (*GetServerMetaResponse) ProtoMessage()
- func (m *GetServerMetaResponse) Reset()
- func (m *GetServerMetaResponse) String() string
- func (m *GetServerMetaResponse) XXX_DiscardUnknown()
- func (m *GetServerMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerMetaResponse) XXX_Merge(src proto.Message)
- func (m *GetServerMetaResponse) XXX_Size() int
- func (m *GetServerMetaResponse) XXX_Unmarshal(b []byte) error
- type GetUnconfirmedActionsByAddressRequest
- func (*GetUnconfirmedActionsByAddressRequest) Descriptor() ([]byte, []int)
- func (m *GetUnconfirmedActionsByAddressRequest) GetAddress() string
- func (m *GetUnconfirmedActionsByAddressRequest) GetCount() uint64
- func (m *GetUnconfirmedActionsByAddressRequest) GetStart() uint64
- func (*GetUnconfirmedActionsByAddressRequest) ProtoMessage()
- func (m *GetUnconfirmedActionsByAddressRequest) Reset()
- func (m *GetUnconfirmedActionsByAddressRequest) String() string
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_DiscardUnknown()
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_Merge(src proto.Message)
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_Size() int
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_Unmarshal(b []byte) error
- type GetVotesRequest
- func (*GetVotesRequest) Descriptor() ([]byte, []int)
- func (m *GetVotesRequest) GetHeight() string
- func (m *GetVotesRequest) GetLimit() uint32
- func (m *GetVotesRequest) GetOffset() uint32
- func (m *GetVotesRequest) GetVotee() string
- func (*GetVotesRequest) ProtoMessage()
- func (m *GetVotesRequest) Reset()
- func (m *GetVotesRequest) String() string
- func (m *GetVotesRequest) XXX_DiscardUnknown()
- func (m *GetVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVotesRequest) XXX_Merge(src proto.Message)
- func (m *GetVotesRequest) XXX_Size() int
- func (m *GetVotesRequest) XXX_Unmarshal(b []byte) error
- type GetVotesResponse
- func (*GetVotesResponse) Descriptor() ([]byte, []int)
- func (m *GetVotesResponse) GetBuckets() []*Bucket
- func (*GetVotesResponse) ProtoMessage()
- func (m *GetVotesResponse) Reset()
- func (m *GetVotesResponse) String() string
- func (m *GetVotesResponse) XXX_DiscardUnknown()
- func (m *GetVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVotesResponse) XXX_Merge(src proto.Message)
- func (m *GetVotesResponse) XXX_Size() int
- func (m *GetVotesResponse) XXX_Unmarshal(b []byte) error
- type LogsFilter
- func (*LogsFilter) Descriptor() ([]byte, []int)
- func (m *LogsFilter) GetAddress() []string
- func (m *LogsFilter) GetTopics() []*Topics
- func (*LogsFilter) ProtoMessage()
- func (m *LogsFilter) Reset()
- func (m *LogsFilter) String() string
- func (m *LogsFilter) XXX_DiscardUnknown()
- func (m *LogsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogsFilter) XXX_Merge(src proto.Message)
- func (m *LogsFilter) XXX_Size() int
- func (m *LogsFilter) XXX_Unmarshal(b []byte) error
- type ReadContractRequest
- func (*ReadContractRequest) Descriptor() ([]byte, []int)
- func (m *ReadContractRequest) GetCallerAddress() string
- func (m *ReadContractRequest) GetExecution() *iotextypes.Execution
- func (*ReadContractRequest) ProtoMessage()
- func (m *ReadContractRequest) Reset()
- func (m *ReadContractRequest) String() string
- func (m *ReadContractRequest) XXX_DiscardUnknown()
- func (m *ReadContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadContractRequest) XXX_Merge(src proto.Message)
- func (m *ReadContractRequest) XXX_Size() int
- func (m *ReadContractRequest) XXX_Unmarshal(b []byte) error
- type ReadContractResponse
- func (*ReadContractResponse) Descriptor() ([]byte, []int)
- func (m *ReadContractResponse) GetData() string
- func (m *ReadContractResponse) GetReceipt() *iotextypes.Receipt
- func (*ReadContractResponse) ProtoMessage()
- func (m *ReadContractResponse) Reset()
- func (m *ReadContractResponse) String() string
- func (m *ReadContractResponse) XXX_DiscardUnknown()
- func (m *ReadContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadContractResponse) XXX_Merge(src proto.Message)
- func (m *ReadContractResponse) XXX_Size() int
- func (m *ReadContractResponse) XXX_Unmarshal(b []byte) error
- type ReadStateRequest
- func (*ReadStateRequest) Descriptor() ([]byte, []int)
- func (m *ReadStateRequest) GetArguments() [][]byte
- func (m *ReadStateRequest) GetMethodName() []byte
- func (m *ReadStateRequest) GetProtocolID() []byte
- func (*ReadStateRequest) ProtoMessage()
- func (m *ReadStateRequest) Reset()
- func (m *ReadStateRequest) String() string
- func (m *ReadStateRequest) XXX_DiscardUnknown()
- func (m *ReadStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadStateRequest) XXX_Merge(src proto.Message)
- func (m *ReadStateRequest) XXX_Size() int
- func (m *ReadStateRequest) XXX_Unmarshal(b []byte) error
- type ReadStateResponse
- func (*ReadStateResponse) Descriptor() ([]byte, []int)
- func (m *ReadStateResponse) GetData() []byte
- func (*ReadStateResponse) ProtoMessage()
- func (m *ReadStateResponse) Reset()
- func (m *ReadStateResponse) String() string
- func (m *ReadStateResponse) XXX_DiscardUnknown()
- func (m *ReadStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadStateResponse) XXX_Merge(src proto.Message)
- func (m *ReadStateResponse) XXX_Size() int
- func (m *ReadStateResponse) XXX_Unmarshal(b []byte) error
- type ReceiptInfo
- func (*ReceiptInfo) Descriptor() ([]byte, []int)
- func (m *ReceiptInfo) GetBlkHash() string
- func (m *ReceiptInfo) GetReceipt() *iotextypes.Receipt
- func (*ReceiptInfo) ProtoMessage()
- func (m *ReceiptInfo) Reset()
- func (m *ReceiptInfo) String() string
- func (m *ReceiptInfo) XXX_DiscardUnknown()
- func (m *ReceiptInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptInfo) XXX_Merge(src proto.Message)
- func (m *ReceiptInfo) XXX_Size() int
- func (m *ReceiptInfo) XXX_Unmarshal(b []byte) error
- type SendActionRequest
- func (*SendActionRequest) Descriptor() ([]byte, []int)
- func (m *SendActionRequest) GetAction() *iotextypes.Action
- func (*SendActionRequest) ProtoMessage()
- func (m *SendActionRequest) Reset()
- func (m *SendActionRequest) String() string
- func (m *SendActionRequest) XXX_DiscardUnknown()
- func (m *SendActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendActionRequest) XXX_Merge(src proto.Message)
- func (m *SendActionRequest) XXX_Size() int
- func (m *SendActionRequest) XXX_Unmarshal(b []byte) error
- type SendActionResponse
- func (*SendActionResponse) Descriptor() ([]byte, []int)
- func (m *SendActionResponse) GetActionHash() string
- func (*SendActionResponse) ProtoMessage()
- func (m *SendActionResponse) Reset()
- func (m *SendActionResponse) String() string
- func (m *SendActionResponse) XXX_DiscardUnknown()
- func (m *SendActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendActionResponse) XXX_Merge(src proto.Message)
- func (m *SendActionResponse) XXX_Size() int
- func (m *SendActionResponse) XXX_Unmarshal(b []byte) error
- type SendSignedActionBytesRequest
- func (*SendSignedActionBytesRequest) Descriptor() ([]byte, []int)
- func (m *SendSignedActionBytesRequest) GetSignedActionBytes() string
- func (*SendSignedActionBytesRequest) ProtoMessage()
- func (m *SendSignedActionBytesRequest) Reset()
- func (m *SendSignedActionBytesRequest) String() string
- func (m *SendSignedActionBytesRequest) XXX_DiscardUnknown()
- func (m *SendSignedActionBytesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendSignedActionBytesRequest) XXX_Merge(src proto.Message)
- func (m *SendSignedActionBytesRequest) XXX_Size() int
- func (m *SendSignedActionBytesRequest) XXX_Unmarshal(b []byte) error
- type StreamBlocksRequest
- func (*StreamBlocksRequest) Descriptor() ([]byte, []int)
- func (*StreamBlocksRequest) ProtoMessage()
- func (m *StreamBlocksRequest) Reset()
- func (m *StreamBlocksRequest) String() string
- func (m *StreamBlocksRequest) XXX_DiscardUnknown()
- func (m *StreamBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamBlocksRequest) XXX_Merge(src proto.Message)
- func (m *StreamBlocksRequest) XXX_Size() int
- func (m *StreamBlocksRequest) XXX_Unmarshal(b []byte) error
- type StreamBlocksResponse
- func (*StreamBlocksResponse) Descriptor() ([]byte, []int)
- func (m *StreamBlocksResponse) GetBlock() *BlockInfo
- func (*StreamBlocksResponse) ProtoMessage()
- func (m *StreamBlocksResponse) Reset()
- func (m *StreamBlocksResponse) String() string
- func (m *StreamBlocksResponse) XXX_DiscardUnknown()
- func (m *StreamBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamBlocksResponse) XXX_Merge(src proto.Message)
- func (m *StreamBlocksResponse) XXX_Size() int
- func (m *StreamBlocksResponse) XXX_Unmarshal(b []byte) error
- type StreamLogsRequest
- func (*StreamLogsRequest) Descriptor() ([]byte, []int)
- func (m *StreamLogsRequest) GetFilter() *LogsFilter
- func (*StreamLogsRequest) ProtoMessage()
- func (m *StreamLogsRequest) Reset()
- func (m *StreamLogsRequest) String() string
- func (m *StreamLogsRequest) XXX_DiscardUnknown()
- func (m *StreamLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamLogsRequest) XXX_Merge(src proto.Message)
- func (m *StreamLogsRequest) XXX_Size() int
- func (m *StreamLogsRequest) XXX_Unmarshal(b []byte) error
- type StreamLogsResponse
- func (*StreamLogsResponse) Descriptor() ([]byte, []int)
- func (m *StreamLogsResponse) GetLog() *iotextypes.Log
- func (*StreamLogsResponse) ProtoMessage()
- func (m *StreamLogsResponse) Reset()
- func (m *StreamLogsResponse) String() string
- func (m *StreamLogsResponse) XXX_DiscardUnknown()
- func (m *StreamLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamLogsResponse) XXX_Merge(src proto.Message)
- func (m *StreamLogsResponse) XXX_Size() int
- func (m *StreamLogsResponse) XXX_Unmarshal(b []byte) error
- type SuggestGasPriceRequest
- func (*SuggestGasPriceRequest) Descriptor() ([]byte, []int)
- func (*SuggestGasPriceRequest) ProtoMessage()
- func (m *SuggestGasPriceRequest) Reset()
- func (m *SuggestGasPriceRequest) String() string
- func (m *SuggestGasPriceRequest) XXX_DiscardUnknown()
- func (m *SuggestGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SuggestGasPriceRequest) XXX_Merge(src proto.Message)
- func (m *SuggestGasPriceRequest) XXX_Size() int
- func (m *SuggestGasPriceRequest) XXX_Unmarshal(b []byte) error
- type SuggestGasPriceResponse
- func (*SuggestGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *SuggestGasPriceResponse) GetGasPrice() uint64
- func (*SuggestGasPriceResponse) ProtoMessage()
- func (m *SuggestGasPriceResponse) Reset()
- func (m *SuggestGasPriceResponse) String() string
- func (m *SuggestGasPriceResponse) XXX_DiscardUnknown()
- func (m *SuggestGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SuggestGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *SuggestGasPriceResponse) XXX_Size() int
- func (m *SuggestGasPriceResponse) XXX_Unmarshal(b []byte) error
- type Topics
- func (*Topics) Descriptor() ([]byte, []int)
- func (m *Topics) GetTopic() [][]byte
- func (*Topics) ProtoMessage()
- func (m *Topics) Reset()
- func (m *Topics) String() string
- func (m *Topics) XXX_DiscardUnknown()
- func (m *Topics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Topics) XXX_Merge(src proto.Message)
- func (m *Topics) XXX_Size() int
- func (m *Topics) XXX_Unmarshal(b []byte) error
- type UnimplementedAPIServiceServer
- func (*UnimplementedAPIServiceServer) EstimateActionGasConsumption(ctx context.Context, req *EstimateActionGasConsumptionRequest) (*EstimateActionGasConsumptionResponse, error)
- func (*UnimplementedAPIServiceServer) EstimateGasForAction(ctx context.Context, req *EstimateGasForActionRequest) (*EstimateGasForActionResponse, error)
- func (*UnimplementedAPIServiceServer) GetAccount(ctx context.Context, req *GetAccountRequest) (*GetAccountResponse, error)
- func (*UnimplementedAPIServiceServer) GetActions(ctx context.Context, req *GetActionsRequest) (*GetActionsResponse, error)
- func (*UnimplementedAPIServiceServer) GetBlockMetas(ctx context.Context, req *GetBlockMetasRequest) (*GetBlockMetasResponse, error)
- func (*UnimplementedAPIServiceServer) GetChainMeta(ctx context.Context, req *GetChainMetaRequest) (*GetChainMetaResponse, error)
- func (*UnimplementedAPIServiceServer) GetElectionBuckets(ctx context.Context, req *GetElectionBucketsRequest) (*GetElectionBucketsResponse, error)
- func (*UnimplementedAPIServiceServer) GetEpochMeta(ctx context.Context, req *GetEpochMetaRequest) (*GetEpochMetaResponse, error)
- func (*UnimplementedAPIServiceServer) GetLogs(ctx context.Context, req *GetLogsRequest) (*GetLogsResponse, error)
- func (*UnimplementedAPIServiceServer) GetRawBlocks(ctx context.Context, req *GetRawBlocksRequest) (*GetRawBlocksResponse, error)
- func (*UnimplementedAPIServiceServer) GetReceiptByAction(ctx context.Context, req *GetReceiptByActionRequest) (*GetReceiptByActionResponse, error)
- func (*UnimplementedAPIServiceServer) GetServerMeta(ctx context.Context, req *GetServerMetaRequest) (*GetServerMetaResponse, error)
- func (*UnimplementedAPIServiceServer) GetVotes(ctx context.Context, req *GetVotesRequest) (*GetVotesResponse, error)
- func (*UnimplementedAPIServiceServer) ReadContract(ctx context.Context, req *ReadContractRequest) (*ReadContractResponse, error)
- func (*UnimplementedAPIServiceServer) ReadState(ctx context.Context, req *ReadStateRequest) (*ReadStateResponse, error)
- func (*UnimplementedAPIServiceServer) SendAction(ctx context.Context, req *SendActionRequest) (*SendActionResponse, error)
- func (*UnimplementedAPIServiceServer) StreamBlocks(req *StreamBlocksRequest, srv APIService_StreamBlocksServer) error
- func (*UnimplementedAPIServiceServer) StreamLogs(req *StreamLogsRequest, srv APIService_StreamLogsServer) error
- func (*UnimplementedAPIServiceServer) SuggestGasPrice(ctx context.Context, req *SuggestGasPriceRequest) (*SuggestGasPriceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAPIServiceHandler ¶ added in v0.2.0
func RegisterAPIServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAPIServiceHandler registers the http handlers for service APIService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAPIServiceHandlerClient ¶ added in v0.2.0
func RegisterAPIServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client APIServiceClient) error
RegisterAPIServiceHandlerClient registers the http handlers for service APIService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "APIServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "APIServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "APIServiceClient" to call the correct interceptors.
func RegisterAPIServiceHandlerFromEndpoint ¶ added in v0.2.0
func RegisterAPIServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAPIServiceHandlerFromEndpoint is same as RegisterAPIServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAPIServiceServer ¶
func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
Types ¶
type APIServiceClient ¶
type APIServiceClient interface {
// get the address detail of an address
GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error)
// get action(s) by:
// 1. start index and action count
// 2. action hash
// 3. address with start index and action count
// 4. get unconfirmed actions by address with start index and action count
// 5. block hash with start index and action count
GetActions(ctx context.Context, in *GetActionsRequest, opts ...grpc.CallOption) (*GetActionsResponse, error)
// get block metadata(s) by:
// 1. start index and block count
// 2. block hash
GetBlockMetas(ctx context.Context, in *GetBlockMetasRequest, opts ...grpc.CallOption) (*GetBlockMetasResponse, error)
// get chain metadata
GetChainMeta(ctx context.Context, in *GetChainMetaRequest, opts ...grpc.CallOption) (*GetChainMetaResponse, error)
// get server version
GetServerMeta(ctx context.Context, in *GetServerMetaRequest, opts ...grpc.CallOption) (*GetServerMetaResponse, error)
// sendAction
SendAction(ctx context.Context, in *SendActionRequest, opts ...grpc.CallOption) (*SendActionResponse, error)
// get receipt by action Hash
GetReceiptByAction(ctx context.Context, in *GetReceiptByActionRequest, opts ...grpc.CallOption) (*GetReceiptByActionResponse, error)
// TODO: read contract
ReadContract(ctx context.Context, in *ReadContractRequest, opts ...grpc.CallOption) (*ReadContractResponse, error)
// suggest gas price
SuggestGasPrice(ctx context.Context, in *SuggestGasPriceRequest, opts ...grpc.CallOption) (*SuggestGasPriceResponse, error)
// estimate gas for action, to be deprecated
EstimateGasForAction(ctx context.Context, in *EstimateGasForActionRequest, opts ...grpc.CallOption) (*EstimateGasForActionResponse, error)
// estimate gas for action and transfer not sealed
EstimateActionGasConsumption(ctx context.Context, in *EstimateActionGasConsumptionRequest, opts ...grpc.CallOption) (*EstimateActionGasConsumptionResponse, error)
// read state from blockchain
ReadState(ctx context.Context, in *ReadStateRequest, opts ...grpc.CallOption) (*ReadStateResponse, error)
// get epoch metadata
GetEpochMeta(ctx context.Context, in *GetEpochMetaRequest, opts ...grpc.CallOption) (*GetEpochMetaResponse, error)
// get raw blocks data
GetRawBlocks(ctx context.Context, in *GetRawBlocksRequest, opts ...grpc.CallOption) (*GetRawBlocksResponse, error)
// get logs filtered by contract address and topics
GetLogs(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (*GetLogsResponse, error)
// GetVotes get a single address' votes
GetVotes(ctx context.Context, in *GetVotesRequest, opts ...grpc.CallOption) (*GetVotesResponse, error)
// get block info in stream
StreamBlocks(ctx context.Context, in *StreamBlocksRequest, opts ...grpc.CallOption) (APIService_StreamBlocksClient, error)
// get logs filtered by contract address and topics in stream
StreamLogs(ctx context.Context, in *StreamLogsRequest, opts ...grpc.CallOption) (APIService_StreamLogsClient, error)
//
// election APIs
GetElectionBuckets(ctx context.Context, in *GetElectionBucketsRequest, opts ...grpc.CallOption) (*GetElectionBucketsResponse, error)
}
APIServiceClient is the client API for APIService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAPIServiceClient ¶
func NewAPIServiceClient(cc *grpc.ClientConn) APIServiceClient
type APIServiceServer ¶
type APIServiceServer interface {
// get the address detail of an address
GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
// get action(s) by:
// 1. start index and action count
// 2. action hash
// 3. address with start index and action count
// 4. get unconfirmed actions by address with start index and action count
// 5. block hash with start index and action count
GetActions(context.Context, *GetActionsRequest) (*GetActionsResponse, error)
// get block metadata(s) by:
// 1. start index and block count
// 2. block hash
GetBlockMetas(context.Context, *GetBlockMetasRequest) (*GetBlockMetasResponse, error)
// get chain metadata
GetChainMeta(context.Context, *GetChainMetaRequest) (*GetChainMetaResponse, error)
// get server version
GetServerMeta(context.Context, *GetServerMetaRequest) (*GetServerMetaResponse, error)
// sendAction
SendAction(context.Context, *SendActionRequest) (*SendActionResponse, error)
// get receipt by action Hash
GetReceiptByAction(context.Context, *GetReceiptByActionRequest) (*GetReceiptByActionResponse, error)
// TODO: read contract
ReadContract(context.Context, *ReadContractRequest) (*ReadContractResponse, error)
// suggest gas price
SuggestGasPrice(context.Context, *SuggestGasPriceRequest) (*SuggestGasPriceResponse, error)
// estimate gas for action, to be deprecated
EstimateGasForAction(context.Context, *EstimateGasForActionRequest) (*EstimateGasForActionResponse, error)
// estimate gas for action and transfer not sealed
EstimateActionGasConsumption(context.Context, *EstimateActionGasConsumptionRequest) (*EstimateActionGasConsumptionResponse, error)
// read state from blockchain
ReadState(context.Context, *ReadStateRequest) (*ReadStateResponse, error)
// get epoch metadata
GetEpochMeta(context.Context, *GetEpochMetaRequest) (*GetEpochMetaResponse, error)
// get raw blocks data
GetRawBlocks(context.Context, *GetRawBlocksRequest) (*GetRawBlocksResponse, error)
// get logs filtered by contract address and topics
GetLogs(context.Context, *GetLogsRequest) (*GetLogsResponse, error)
// GetVotes get a single address' votes
GetVotes(context.Context, *GetVotesRequest) (*GetVotesResponse, error)
// get block info in stream
StreamBlocks(*StreamBlocksRequest, APIService_StreamBlocksServer) error
// get logs filtered by contract address and topics in stream
StreamLogs(*StreamLogsRequest, APIService_StreamLogsServer) error
//
// election APIs
GetElectionBuckets(context.Context, *GetElectionBucketsRequest) (*GetElectionBucketsResponse, error)
}
APIServiceServer is the server API for APIService service.
type APIService_StreamBlocksClient ¶ added in v0.2.5
type APIService_StreamBlocksClient interface {
Recv() (*StreamBlocksResponse, error)
grpc.ClientStream
}
type APIService_StreamBlocksServer ¶ added in v0.2.5
type APIService_StreamBlocksServer interface {
Send(*StreamBlocksResponse) error
grpc.ServerStream
}
type APIService_StreamLogsClient ¶ added in v0.2.5
type APIService_StreamLogsClient interface {
Recv() (*StreamLogsResponse, error)
grpc.ClientStream
}
type APIService_StreamLogsServer ¶ added in v0.2.5
type APIService_StreamLogsServer interface {
Send(*StreamLogsResponse) error
grpc.ServerStream
}
type ActionInfo ¶
type ActionInfo struct {
Action *iotextypes.Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
ActHash string `protobuf:"bytes,2,opt,name=actHash,proto3" json:"actHash,omitempty"`
BlkHash string `protobuf:"bytes,3,opt,name=blkHash,proto3" json:"blkHash,omitempty"`
BlkHeight uint64 `protobuf:"varint,5,opt,name=blkHeight,proto3" json:"blkHeight,omitempty"`
Sender string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
GasFee string `protobuf:"bytes,7,opt,name=gasFee,proto3" json:"gasFee,omitempty"`
Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ActionInfo) Descriptor ¶
func (*ActionInfo) Descriptor() ([]byte, []int)
func (*ActionInfo) GetActHash ¶
func (m *ActionInfo) GetActHash() string
func (*ActionInfo) GetAction ¶
func (m *ActionInfo) GetAction() *iotextypes.Action
func (*ActionInfo) GetBlkHash ¶
func (m *ActionInfo) GetBlkHash() string
func (*ActionInfo) GetBlkHeight ¶ added in v0.2.0
func (m *ActionInfo) GetBlkHeight() uint64
func (*ActionInfo) GetGasFee ¶ added in v0.2.5
func (m *ActionInfo) GetGasFee() string
func (*ActionInfo) GetSender ¶ added in v0.2.0
func (m *ActionInfo) GetSender() string
func (*ActionInfo) GetTimestamp ¶
func (m *ActionInfo) GetTimestamp() *timestamp.Timestamp
func (*ActionInfo) ProtoMessage ¶
func (*ActionInfo) ProtoMessage()
func (*ActionInfo) Reset ¶
func (m *ActionInfo) Reset()
func (*ActionInfo) String ¶
func (m *ActionInfo) String() string
func (*ActionInfo) XXX_DiscardUnknown ¶
func (m *ActionInfo) XXX_DiscardUnknown()
func (*ActionInfo) XXX_Marshal ¶
func (m *ActionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionInfo) XXX_Merge ¶
func (m *ActionInfo) XXX_Merge(src proto.Message)
func (*ActionInfo) XXX_Size ¶
func (m *ActionInfo) XXX_Size() int
func (*ActionInfo) XXX_Unmarshal ¶
func (m *ActionInfo) XXX_Unmarshal(b []byte) error
type BlockInfo ¶
type BlockInfo struct {
Block *iotextypes.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
Receipts []*iotextypes.Receipt `protobuf:"bytes,2,rep,name=receipts,proto3" json:"receipts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockInfo) Descriptor ¶
func (*BlockInfo) GetBlock ¶
func (m *BlockInfo) GetBlock() *iotextypes.Block
func (*BlockInfo) GetReceipts ¶
func (m *BlockInfo) GetReceipts() []*iotextypes.Receipt
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) XXX_DiscardUnknown ¶
func (m *BlockInfo) XXX_DiscardUnknown()
func (*BlockInfo) XXX_Marshal ¶
func (*BlockInfo) XXX_Unmarshal ¶
type BlockProducerInfo ¶
type BlockProducerInfo struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Votes string `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"`
Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
Production uint64 `protobuf:"varint,4,opt,name=production,proto3" json:"production,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockProducerInfo) Descriptor ¶
func (*BlockProducerInfo) Descriptor() ([]byte, []int)
func (*BlockProducerInfo) GetActive ¶
func (m *BlockProducerInfo) GetActive() bool
func (*BlockProducerInfo) GetAddress ¶
func (m *BlockProducerInfo) GetAddress() string
func (*BlockProducerInfo) GetProduction ¶
func (m *BlockProducerInfo) GetProduction() uint64
func (*BlockProducerInfo) GetVotes ¶
func (m *BlockProducerInfo) GetVotes() string
func (*BlockProducerInfo) ProtoMessage ¶
func (*BlockProducerInfo) ProtoMessage()
func (*BlockProducerInfo) Reset ¶
func (m *BlockProducerInfo) Reset()
func (*BlockProducerInfo) String ¶
func (m *BlockProducerInfo) String() string
func (*BlockProducerInfo) XXX_DiscardUnknown ¶
func (m *BlockProducerInfo) XXX_DiscardUnknown()
func (*BlockProducerInfo) XXX_Marshal ¶
func (m *BlockProducerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockProducerInfo) XXX_Merge ¶
func (m *BlockProducerInfo) XXX_Merge(src proto.Message)
func (*BlockProducerInfo) XXX_Size ¶
func (m *BlockProducerInfo) XXX_Size() int
func (*BlockProducerInfo) XXX_Unmarshal ¶
func (m *BlockProducerInfo) XXX_Unmarshal(b []byte) error
type Bucket ¶ added in v0.2.5
type Bucket struct {
// hex string
Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
Votes string `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"`
WeightedVotes string `protobuf:"bytes,3,opt,name=weightedVotes,proto3" json:"weightedVotes,omitempty"`
// human readable duration
RemainingDuration string `protobuf:"bytes,4,opt,name=remainingDuration,proto3" json:"remainingDuration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Bucket) Descriptor ¶ added in v0.2.5
func (*Bucket) GetRemainingDuration ¶ added in v0.2.5
func (*Bucket) GetWeightedVotes ¶ added in v0.2.5
func (*Bucket) ProtoMessage ¶ added in v0.2.5
func (*Bucket) ProtoMessage()
func (*Bucket) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *Bucket) XXX_DiscardUnknown()
func (*Bucket) XXX_Marshal ¶ added in v0.2.5
func (*Bucket) XXX_Unmarshal ¶ added in v0.2.5
type EstimateActionGasConsumptionRequest ¶ added in v0.2.5
type EstimateActionGasConsumptionRequest struct {
// Types that are valid to be assigned to Action:
// *EstimateActionGasConsumptionRequest_Transfer
// *EstimateActionGasConsumptionRequest_Execution
Action isEstimateActionGasConsumptionRequest_Action `protobuf_oneof:"action"`
CallerAddress string `protobuf:"bytes,100,opt,name=callerAddress,proto3" json:"callerAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EstimateActionGasConsumptionRequest) Descriptor ¶ added in v0.2.5
func (*EstimateActionGasConsumptionRequest) Descriptor() ([]byte, []int)
func (*EstimateActionGasConsumptionRequest) GetAction ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) GetAction() isEstimateActionGasConsumptionRequest_Action
func (*EstimateActionGasConsumptionRequest) GetCallerAddress ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) GetCallerAddress() string
func (*EstimateActionGasConsumptionRequest) GetExecution ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) GetExecution() *iotextypes.Execution
func (*EstimateActionGasConsumptionRequest) GetTransfer ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) GetTransfer() *iotextypes.Transfer
func (*EstimateActionGasConsumptionRequest) ProtoMessage ¶ added in v0.2.5
func (*EstimateActionGasConsumptionRequest) ProtoMessage()
func (*EstimateActionGasConsumptionRequest) Reset ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) Reset()
func (*EstimateActionGasConsumptionRequest) String ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) String() string
func (*EstimateActionGasConsumptionRequest) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) XXX_DiscardUnknown()
func (*EstimateActionGasConsumptionRequest) XXX_Marshal ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateActionGasConsumptionRequest) XXX_Merge ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) XXX_Merge(src proto.Message)
func (*EstimateActionGasConsumptionRequest) XXX_OneofWrappers ¶ added in v0.2.5
func (*EstimateActionGasConsumptionRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*EstimateActionGasConsumptionRequest) XXX_Size ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) XXX_Size() int
func (*EstimateActionGasConsumptionRequest) XXX_Unmarshal ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) XXX_Unmarshal(b []byte) error
type EstimateActionGasConsumptionRequest_Execution ¶ added in v0.2.5
type EstimateActionGasConsumptionRequest_Execution struct {
Execution *iotextypes.Execution `protobuf:"bytes,2,opt,name=execution,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_Transfer ¶ added in v0.2.5
type EstimateActionGasConsumptionRequest_Transfer struct {
Transfer *iotextypes.Transfer `protobuf:"bytes,1,opt,name=transfer,proto3,oneof"`
}
type EstimateActionGasConsumptionResponse ¶ added in v0.2.5
type EstimateActionGasConsumptionResponse struct {
Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EstimateActionGasConsumptionResponse) Descriptor ¶ added in v0.2.5
func (*EstimateActionGasConsumptionResponse) Descriptor() ([]byte, []int)
func (*EstimateActionGasConsumptionResponse) GetGas ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionResponse) GetGas() uint64
func (*EstimateActionGasConsumptionResponse) ProtoMessage ¶ added in v0.2.5
func (*EstimateActionGasConsumptionResponse) ProtoMessage()
func (*EstimateActionGasConsumptionResponse) Reset ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionResponse) Reset()
func (*EstimateActionGasConsumptionResponse) String ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionResponse) String() string
func (*EstimateActionGasConsumptionResponse) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionResponse) XXX_DiscardUnknown()
func (*EstimateActionGasConsumptionResponse) XXX_Marshal ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateActionGasConsumptionResponse) XXX_Merge ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionResponse) XXX_Merge(src proto.Message)
func (*EstimateActionGasConsumptionResponse) XXX_Size ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionResponse) XXX_Size() int
func (*EstimateActionGasConsumptionResponse) XXX_Unmarshal ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionResponse) XXX_Unmarshal(b []byte) error
type EstimateGasForActionRequest ¶
type EstimateGasForActionRequest struct {
Action *iotextypes.Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
To be deprecated
func (*EstimateGasForActionRequest) Descriptor ¶
func (*EstimateGasForActionRequest) Descriptor() ([]byte, []int)
func (*EstimateGasForActionRequest) GetAction ¶
func (m *EstimateGasForActionRequest) GetAction() *iotextypes.Action
func (*EstimateGasForActionRequest) ProtoMessage ¶
func (*EstimateGasForActionRequest) ProtoMessage()
func (*EstimateGasForActionRequest) Reset ¶
func (m *EstimateGasForActionRequest) Reset()
func (*EstimateGasForActionRequest) String ¶
func (m *EstimateGasForActionRequest) String() string
func (*EstimateGasForActionRequest) XXX_DiscardUnknown ¶
func (m *EstimateGasForActionRequest) XXX_DiscardUnknown()
func (*EstimateGasForActionRequest) XXX_Marshal ¶
func (m *EstimateGasForActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateGasForActionRequest) XXX_Merge ¶
func (m *EstimateGasForActionRequest) XXX_Merge(src proto.Message)
func (*EstimateGasForActionRequest) XXX_Size ¶
func (m *EstimateGasForActionRequest) XXX_Size() int
func (*EstimateGasForActionRequest) XXX_Unmarshal ¶
func (m *EstimateGasForActionRequest) XXX_Unmarshal(b []byte) error
type EstimateGasForActionResponse ¶
type EstimateGasForActionResponse struct {
Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EstimateGasForActionResponse) Descriptor ¶
func (*EstimateGasForActionResponse) Descriptor() ([]byte, []int)
func (*EstimateGasForActionResponse) GetGas ¶
func (m *EstimateGasForActionResponse) GetGas() uint64
func (*EstimateGasForActionResponse) ProtoMessage ¶
func (*EstimateGasForActionResponse) ProtoMessage()
func (*EstimateGasForActionResponse) Reset ¶
func (m *EstimateGasForActionResponse) Reset()
func (*EstimateGasForActionResponse) String ¶
func (m *EstimateGasForActionResponse) String() string
func (*EstimateGasForActionResponse) XXX_DiscardUnknown ¶
func (m *EstimateGasForActionResponse) XXX_DiscardUnknown()
func (*EstimateGasForActionResponse) XXX_Marshal ¶
func (m *EstimateGasForActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateGasForActionResponse) XXX_Merge ¶
func (m *EstimateGasForActionResponse) XXX_Merge(src proto.Message)
func (*EstimateGasForActionResponse) XXX_Size ¶
func (m *EstimateGasForActionResponse) XXX_Size() int
func (*EstimateGasForActionResponse) XXX_Unmarshal ¶
func (m *EstimateGasForActionResponse) XXX_Unmarshal(b []byte) error
type GetAccountRequest ¶
type GetAccountRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetAccountRequest) Descriptor ¶
func (*GetAccountRequest) Descriptor() ([]byte, []int)
func (*GetAccountRequest) GetAddress ¶
func (m *GetAccountRequest) GetAddress() string
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) Reset ¶
func (m *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (m *GetAccountRequest) String() string
func (*GetAccountRequest) XXX_DiscardUnknown ¶
func (m *GetAccountRequest) XXX_DiscardUnknown()
func (*GetAccountRequest) XXX_Marshal ¶
func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountRequest) XXX_Merge ¶
func (m *GetAccountRequest) XXX_Merge(src proto.Message)
func (*GetAccountRequest) XXX_Size ¶
func (m *GetAccountRequest) XXX_Size() int
func (*GetAccountRequest) XXX_Unmarshal ¶
func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error
type GetAccountResponse ¶
type GetAccountResponse struct {
AccountMeta *iotextypes.AccountMeta `protobuf:"bytes,1,opt,name=accountMeta,proto3" json:"accountMeta,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetAccountResponse) Descriptor ¶
func (*GetAccountResponse) Descriptor() ([]byte, []int)
func (*GetAccountResponse) GetAccountMeta ¶
func (m *GetAccountResponse) GetAccountMeta() *iotextypes.AccountMeta
func (*GetAccountResponse) ProtoMessage ¶
func (*GetAccountResponse) ProtoMessage()
func (*GetAccountResponse) Reset ¶
func (m *GetAccountResponse) Reset()
func (*GetAccountResponse) String ¶
func (m *GetAccountResponse) String() string
func (*GetAccountResponse) XXX_DiscardUnknown ¶
func (m *GetAccountResponse) XXX_DiscardUnknown()
func (*GetAccountResponse) XXX_Marshal ¶
func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountResponse) XXX_Merge ¶
func (m *GetAccountResponse) XXX_Merge(src proto.Message)
func (*GetAccountResponse) XXX_Size ¶
func (m *GetAccountResponse) XXX_Size() int
func (*GetAccountResponse) XXX_Unmarshal ¶
func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error
type GetActionByHashRequest ¶
type GetActionByHashRequest struct {
ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
CheckPending bool `protobuf:"varint,2,opt,name=checkPending,proto3" json:"checkPending,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionByHashRequest) Descriptor ¶
func (*GetActionByHashRequest) Descriptor() ([]byte, []int)
func (*GetActionByHashRequest) GetActionHash ¶
func (m *GetActionByHashRequest) GetActionHash() string
func (*GetActionByHashRequest) GetCheckPending ¶
func (m *GetActionByHashRequest) GetCheckPending() bool
func (*GetActionByHashRequest) ProtoMessage ¶
func (*GetActionByHashRequest) ProtoMessage()
func (*GetActionByHashRequest) Reset ¶
func (m *GetActionByHashRequest) Reset()
func (*GetActionByHashRequest) String ¶
func (m *GetActionByHashRequest) String() string
func (*GetActionByHashRequest) XXX_DiscardUnknown ¶
func (m *GetActionByHashRequest) XXX_DiscardUnknown()
func (*GetActionByHashRequest) XXX_Marshal ¶
func (m *GetActionByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionByHashRequest) XXX_Merge ¶
func (m *GetActionByHashRequest) XXX_Merge(src proto.Message)
func (*GetActionByHashRequest) XXX_Size ¶
func (m *GetActionByHashRequest) XXX_Size() int
func (*GetActionByHashRequest) XXX_Unmarshal ¶
func (m *GetActionByHashRequest) XXX_Unmarshal(b []byte) error
type GetActionsByAddressRequest ¶
type GetActionsByAddressRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Start uint64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsByAddressRequest) Descriptor ¶
func (*GetActionsByAddressRequest) Descriptor() ([]byte, []int)
func (*GetActionsByAddressRequest) GetAddress ¶
func (m *GetActionsByAddressRequest) GetAddress() string
func (*GetActionsByAddressRequest) GetCount ¶
func (m *GetActionsByAddressRequest) GetCount() uint64
func (*GetActionsByAddressRequest) GetStart ¶
func (m *GetActionsByAddressRequest) GetStart() uint64
func (*GetActionsByAddressRequest) ProtoMessage ¶
func (*GetActionsByAddressRequest) ProtoMessage()
func (*GetActionsByAddressRequest) Reset ¶
func (m *GetActionsByAddressRequest) Reset()
func (*GetActionsByAddressRequest) String ¶
func (m *GetActionsByAddressRequest) String() string
func (*GetActionsByAddressRequest) XXX_DiscardUnknown ¶
func (m *GetActionsByAddressRequest) XXX_DiscardUnknown()
func (*GetActionsByAddressRequest) XXX_Marshal ¶
func (m *GetActionsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsByAddressRequest) XXX_Merge ¶
func (m *GetActionsByAddressRequest) XXX_Merge(src proto.Message)
func (*GetActionsByAddressRequest) XXX_Size ¶
func (m *GetActionsByAddressRequest) XXX_Size() int
func (*GetActionsByAddressRequest) XXX_Unmarshal ¶
func (m *GetActionsByAddressRequest) XXX_Unmarshal(b []byte) error
type GetActionsByBlockRequest ¶
type GetActionsByBlockRequest struct {
BlkHash string `protobuf:"bytes,1,opt,name=blkHash,proto3" json:"blkHash,omitempty"`
Start uint64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsByBlockRequest) Descriptor ¶
func (*GetActionsByBlockRequest) Descriptor() ([]byte, []int)
func (*GetActionsByBlockRequest) GetBlkHash ¶
func (m *GetActionsByBlockRequest) GetBlkHash() string
func (*GetActionsByBlockRequest) GetCount ¶
func (m *GetActionsByBlockRequest) GetCount() uint64
func (*GetActionsByBlockRequest) GetStart ¶
func (m *GetActionsByBlockRequest) GetStart() uint64
func (*GetActionsByBlockRequest) ProtoMessage ¶
func (*GetActionsByBlockRequest) ProtoMessage()
func (*GetActionsByBlockRequest) Reset ¶
func (m *GetActionsByBlockRequest) Reset()
func (*GetActionsByBlockRequest) String ¶
func (m *GetActionsByBlockRequest) String() string
func (*GetActionsByBlockRequest) XXX_DiscardUnknown ¶
func (m *GetActionsByBlockRequest) XXX_DiscardUnknown()
func (*GetActionsByBlockRequest) XXX_Marshal ¶
func (m *GetActionsByBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsByBlockRequest) XXX_Merge ¶
func (m *GetActionsByBlockRequest) XXX_Merge(src proto.Message)
func (*GetActionsByBlockRequest) XXX_Size ¶
func (m *GetActionsByBlockRequest) XXX_Size() int
func (*GetActionsByBlockRequest) XXX_Unmarshal ¶
func (m *GetActionsByBlockRequest) XXX_Unmarshal(b []byte) error
type GetActionsByIndexRequest ¶
type GetActionsByIndexRequest struct {
Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsByIndexRequest) Descriptor ¶
func (*GetActionsByIndexRequest) Descriptor() ([]byte, []int)
func (*GetActionsByIndexRequest) GetCount ¶
func (m *GetActionsByIndexRequest) GetCount() uint64
func (*GetActionsByIndexRequest) GetStart ¶
func (m *GetActionsByIndexRequest) GetStart() uint64
func (*GetActionsByIndexRequest) ProtoMessage ¶
func (*GetActionsByIndexRequest) ProtoMessage()
func (*GetActionsByIndexRequest) Reset ¶
func (m *GetActionsByIndexRequest) Reset()
func (*GetActionsByIndexRequest) String ¶
func (m *GetActionsByIndexRequest) String() string
func (*GetActionsByIndexRequest) XXX_DiscardUnknown ¶
func (m *GetActionsByIndexRequest) XXX_DiscardUnknown()
func (*GetActionsByIndexRequest) XXX_Marshal ¶
func (m *GetActionsByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsByIndexRequest) XXX_Merge ¶
func (m *GetActionsByIndexRequest) XXX_Merge(src proto.Message)
func (*GetActionsByIndexRequest) XXX_Size ¶
func (m *GetActionsByIndexRequest) XXX_Size() int
func (*GetActionsByIndexRequest) XXX_Unmarshal ¶
func (m *GetActionsByIndexRequest) XXX_Unmarshal(b []byte) error
type GetActionsRequest ¶
type GetActionsRequest struct {
// Types that are valid to be assigned to Lookup:
// *GetActionsRequest_ByIndex
// *GetActionsRequest_ByHash
// *GetActionsRequest_ByAddr
// *GetActionsRequest_UnconfirmedByAddr
// *GetActionsRequest_ByBlk
Lookup isGetActionsRequest_Lookup `protobuf_oneof:"lookup"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsRequest) Descriptor ¶
func (*GetActionsRequest) Descriptor() ([]byte, []int)
func (*GetActionsRequest) GetByAddr ¶
func (m *GetActionsRequest) GetByAddr() *GetActionsByAddressRequest
func (*GetActionsRequest) GetByBlk ¶
func (m *GetActionsRequest) GetByBlk() *GetActionsByBlockRequest
func (*GetActionsRequest) GetByHash ¶
func (m *GetActionsRequest) GetByHash() *GetActionByHashRequest
func (*GetActionsRequest) GetByIndex ¶
func (m *GetActionsRequest) GetByIndex() *GetActionsByIndexRequest
func (*GetActionsRequest) GetLookup ¶
func (m *GetActionsRequest) GetLookup() isGetActionsRequest_Lookup
func (*GetActionsRequest) GetUnconfirmedByAddr ¶
func (m *GetActionsRequest) GetUnconfirmedByAddr() *GetUnconfirmedActionsByAddressRequest
func (*GetActionsRequest) ProtoMessage ¶
func (*GetActionsRequest) ProtoMessage()
func (*GetActionsRequest) Reset ¶
func (m *GetActionsRequest) Reset()
func (*GetActionsRequest) String ¶
func (m *GetActionsRequest) String() string
func (*GetActionsRequest) XXX_DiscardUnknown ¶
func (m *GetActionsRequest) XXX_DiscardUnknown()
func (*GetActionsRequest) XXX_Marshal ¶
func (m *GetActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsRequest) XXX_Merge ¶
func (m *GetActionsRequest) XXX_Merge(src proto.Message)
func (*GetActionsRequest) XXX_OneofWrappers ¶
func (*GetActionsRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GetActionsRequest) XXX_Size ¶
func (m *GetActionsRequest) XXX_Size() int
func (*GetActionsRequest) XXX_Unmarshal ¶
func (m *GetActionsRequest) XXX_Unmarshal(b []byte) error
type GetActionsRequest_ByAddr ¶
type GetActionsRequest_ByAddr struct {
ByAddr *GetActionsByAddressRequest `protobuf:"bytes,3,opt,name=byAddr,proto3,oneof"`
}
type GetActionsRequest_ByBlk ¶
type GetActionsRequest_ByBlk struct {
ByBlk *GetActionsByBlockRequest `protobuf:"bytes,5,opt,name=byBlk,proto3,oneof"`
}
type GetActionsRequest_ByHash ¶
type GetActionsRequest_ByHash struct {
ByHash *GetActionByHashRequest `protobuf:"bytes,2,opt,name=byHash,proto3,oneof"`
}
type GetActionsRequest_ByIndex ¶
type GetActionsRequest_ByIndex struct {
ByIndex *GetActionsByIndexRequest `protobuf:"bytes,1,opt,name=byIndex,proto3,oneof"`
}
type GetActionsRequest_UnconfirmedByAddr ¶
type GetActionsRequest_UnconfirmedByAddr struct {
UnconfirmedByAddr *GetUnconfirmedActionsByAddressRequest `protobuf:"bytes,4,opt,name=unconfirmedByAddr,proto3,oneof"`
}
type GetActionsResponse ¶
type GetActionsResponse struct {
Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
ActionInfo []*ActionInfo `protobuf:"bytes,1,rep,name=actionInfo,proto3" json:"actionInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsResponse) Descriptor ¶
func (*GetActionsResponse) Descriptor() ([]byte, []int)
func (*GetActionsResponse) GetActionInfo ¶
func (m *GetActionsResponse) GetActionInfo() []*ActionInfo
func (*GetActionsResponse) GetTotal ¶ added in v0.2.0
func (m *GetActionsResponse) GetTotal() uint64
func (*GetActionsResponse) ProtoMessage ¶
func (*GetActionsResponse) ProtoMessage()
func (*GetActionsResponse) Reset ¶
func (m *GetActionsResponse) Reset()
func (*GetActionsResponse) String ¶
func (m *GetActionsResponse) String() string
func (*GetActionsResponse) XXX_DiscardUnknown ¶
func (m *GetActionsResponse) XXX_DiscardUnknown()
func (*GetActionsResponse) XXX_Marshal ¶
func (m *GetActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsResponse) XXX_Merge ¶
func (m *GetActionsResponse) XXX_Merge(src proto.Message)
func (*GetActionsResponse) XXX_Size ¶
func (m *GetActionsResponse) XXX_Size() int
func (*GetActionsResponse) XXX_Unmarshal ¶
func (m *GetActionsResponse) XXX_Unmarshal(b []byte) error
type GetBlockMetaByHashRequest ¶
type GetBlockMetaByHashRequest struct {
BlkHash string `protobuf:"bytes,1,opt,name=blkHash,proto3" json:"blkHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockMetaByHashRequest) Descriptor ¶
func (*GetBlockMetaByHashRequest) Descriptor() ([]byte, []int)
func (*GetBlockMetaByHashRequest) GetBlkHash ¶
func (m *GetBlockMetaByHashRequest) GetBlkHash() string
func (*GetBlockMetaByHashRequest) ProtoMessage ¶
func (*GetBlockMetaByHashRequest) ProtoMessage()
func (*GetBlockMetaByHashRequest) Reset ¶
func (m *GetBlockMetaByHashRequest) Reset()
func (*GetBlockMetaByHashRequest) String ¶
func (m *GetBlockMetaByHashRequest) String() string
func (*GetBlockMetaByHashRequest) XXX_DiscardUnknown ¶
func (m *GetBlockMetaByHashRequest) XXX_DiscardUnknown()
func (*GetBlockMetaByHashRequest) XXX_Marshal ¶
func (m *GetBlockMetaByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockMetaByHashRequest) XXX_Merge ¶
func (m *GetBlockMetaByHashRequest) XXX_Merge(src proto.Message)
func (*GetBlockMetaByHashRequest) XXX_Size ¶
func (m *GetBlockMetaByHashRequest) XXX_Size() int
func (*GetBlockMetaByHashRequest) XXX_Unmarshal ¶
func (m *GetBlockMetaByHashRequest) XXX_Unmarshal(b []byte) error
type GetBlockMetasByIndexRequest ¶
type GetBlockMetasByIndexRequest struct {
Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockMetasByIndexRequest) Descriptor ¶
func (*GetBlockMetasByIndexRequest) Descriptor() ([]byte, []int)
func (*GetBlockMetasByIndexRequest) GetCount ¶
func (m *GetBlockMetasByIndexRequest) GetCount() uint64
func (*GetBlockMetasByIndexRequest) GetStart ¶
func (m *GetBlockMetasByIndexRequest) GetStart() uint64
func (*GetBlockMetasByIndexRequest) ProtoMessage ¶
func (*GetBlockMetasByIndexRequest) ProtoMessage()
func (*GetBlockMetasByIndexRequest) Reset ¶
func (m *GetBlockMetasByIndexRequest) Reset()
func (*GetBlockMetasByIndexRequest) String ¶
func (m *GetBlockMetasByIndexRequest) String() string
func (*GetBlockMetasByIndexRequest) XXX_DiscardUnknown ¶
func (m *GetBlockMetasByIndexRequest) XXX_DiscardUnknown()
func (*GetBlockMetasByIndexRequest) XXX_Marshal ¶
func (m *GetBlockMetasByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockMetasByIndexRequest) XXX_Merge ¶
func (m *GetBlockMetasByIndexRequest) XXX_Merge(src proto.Message)
func (*GetBlockMetasByIndexRequest) XXX_Size ¶
func (m *GetBlockMetasByIndexRequest) XXX_Size() int
func (*GetBlockMetasByIndexRequest) XXX_Unmarshal ¶
func (m *GetBlockMetasByIndexRequest) XXX_Unmarshal(b []byte) error
type GetBlockMetasRequest ¶
type GetBlockMetasRequest struct {
// Types that are valid to be assigned to Lookup:
// *GetBlockMetasRequest_ByIndex
// *GetBlockMetasRequest_ByHash
Lookup isGetBlockMetasRequest_Lookup `protobuf_oneof:"lookup"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockMetasRequest) Descriptor ¶
func (*GetBlockMetasRequest) Descriptor() ([]byte, []int)
func (*GetBlockMetasRequest) GetByHash ¶
func (m *GetBlockMetasRequest) GetByHash() *GetBlockMetaByHashRequest
func (*GetBlockMetasRequest) GetByIndex ¶
func (m *GetBlockMetasRequest) GetByIndex() *GetBlockMetasByIndexRequest
func (*GetBlockMetasRequest) GetLookup ¶
func (m *GetBlockMetasRequest) GetLookup() isGetBlockMetasRequest_Lookup
func (*GetBlockMetasRequest) ProtoMessage ¶
func (*GetBlockMetasRequest) ProtoMessage()
func (*GetBlockMetasRequest) Reset ¶
func (m *GetBlockMetasRequest) Reset()
func (*GetBlockMetasRequest) String ¶
func (m *GetBlockMetasRequest) String() string
func (*GetBlockMetasRequest) XXX_DiscardUnknown ¶
func (m *GetBlockMetasRequest) XXX_DiscardUnknown()
func (*GetBlockMetasRequest) XXX_Marshal ¶
func (m *GetBlockMetasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockMetasRequest) XXX_Merge ¶
func (m *GetBlockMetasRequest) XXX_Merge(src proto.Message)
func (*GetBlockMetasRequest) XXX_OneofWrappers ¶
func (*GetBlockMetasRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GetBlockMetasRequest) XXX_Size ¶
func (m *GetBlockMetasRequest) XXX_Size() int
func (*GetBlockMetasRequest) XXX_Unmarshal ¶
func (m *GetBlockMetasRequest) XXX_Unmarshal(b []byte) error
type GetBlockMetasRequest_ByHash ¶
type GetBlockMetasRequest_ByHash struct {
ByHash *GetBlockMetaByHashRequest `protobuf:"bytes,2,opt,name=byHash,proto3,oneof"`
}
type GetBlockMetasRequest_ByIndex ¶
type GetBlockMetasRequest_ByIndex struct {
ByIndex *GetBlockMetasByIndexRequest `protobuf:"bytes,1,opt,name=byIndex,proto3,oneof"`
}
type GetBlockMetasResponse ¶
type GetBlockMetasResponse struct {
Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
BlkMetas []*iotextypes.BlockMeta `protobuf:"bytes,1,rep,name=blkMetas,proto3" json:"blkMetas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockMetasResponse) Descriptor ¶
func (*GetBlockMetasResponse) Descriptor() ([]byte, []int)
func (*GetBlockMetasResponse) GetBlkMetas ¶
func (m *GetBlockMetasResponse) GetBlkMetas() []*iotextypes.BlockMeta
func (*GetBlockMetasResponse) GetTotal ¶ added in v0.2.0
func (m *GetBlockMetasResponse) GetTotal() uint64
func (*GetBlockMetasResponse) ProtoMessage ¶
func (*GetBlockMetasResponse) ProtoMessage()
func (*GetBlockMetasResponse) Reset ¶
func (m *GetBlockMetasResponse) Reset()
func (*GetBlockMetasResponse) String ¶
func (m *GetBlockMetasResponse) String() string
func (*GetBlockMetasResponse) XXX_DiscardUnknown ¶
func (m *GetBlockMetasResponse) XXX_DiscardUnknown()
func (*GetBlockMetasResponse) XXX_Marshal ¶
func (m *GetBlockMetasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockMetasResponse) XXX_Merge ¶
func (m *GetBlockMetasResponse) XXX_Merge(src proto.Message)
func (*GetBlockMetasResponse) XXX_Size ¶
func (m *GetBlockMetasResponse) XXX_Size() int
func (*GetBlockMetasResponse) XXX_Unmarshal ¶
func (m *GetBlockMetasResponse) XXX_Unmarshal(b []byte) error
type GetChainMetaRequest ¶
type GetChainMetaRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetChainMetaRequest) Descriptor ¶
func (*GetChainMetaRequest) Descriptor() ([]byte, []int)
func (*GetChainMetaRequest) ProtoMessage ¶
func (*GetChainMetaRequest) ProtoMessage()
func (*GetChainMetaRequest) Reset ¶
func (m *GetChainMetaRequest) Reset()
func (*GetChainMetaRequest) String ¶
func (m *GetChainMetaRequest) String() string
func (*GetChainMetaRequest) XXX_DiscardUnknown ¶
func (m *GetChainMetaRequest) XXX_DiscardUnknown()
func (*GetChainMetaRequest) XXX_Marshal ¶
func (m *GetChainMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetChainMetaRequest) XXX_Merge ¶
func (m *GetChainMetaRequest) XXX_Merge(src proto.Message)
func (*GetChainMetaRequest) XXX_Size ¶
func (m *GetChainMetaRequest) XXX_Size() int
func (*GetChainMetaRequest) XXX_Unmarshal ¶
func (m *GetChainMetaRequest) XXX_Unmarshal(b []byte) error
type GetChainMetaResponse ¶
type GetChainMetaResponse struct {
ChainMeta *iotextypes.ChainMeta `protobuf:"bytes,1,opt,name=chainMeta,proto3" json:"chainMeta,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetChainMetaResponse) Descriptor ¶
func (*GetChainMetaResponse) Descriptor() ([]byte, []int)
func (*GetChainMetaResponse) GetChainMeta ¶
func (m *GetChainMetaResponse) GetChainMeta() *iotextypes.ChainMeta
func (*GetChainMetaResponse) ProtoMessage ¶
func (*GetChainMetaResponse) ProtoMessage()
func (*GetChainMetaResponse) Reset ¶
func (m *GetChainMetaResponse) Reset()
func (*GetChainMetaResponse) String ¶
func (m *GetChainMetaResponse) String() string
func (*GetChainMetaResponse) XXX_DiscardUnknown ¶
func (m *GetChainMetaResponse) XXX_DiscardUnknown()
func (*GetChainMetaResponse) XXX_Marshal ¶
func (m *GetChainMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetChainMetaResponse) XXX_Merge ¶
func (m *GetChainMetaResponse) XXX_Merge(src proto.Message)
func (*GetChainMetaResponse) XXX_Size ¶
func (m *GetChainMetaResponse) XXX_Size() int
func (*GetChainMetaResponse) XXX_Unmarshal ¶
func (m *GetChainMetaResponse) XXX_Unmarshal(b []byte) error
type GetElectionBucketsRequest ¶ added in v0.2.5
type GetElectionBucketsRequest struct {
EpochNum uint64 `protobuf:"varint,1,opt,name=epochNum,proto3" json:"epochNum,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
election APIs
func (*GetElectionBucketsRequest) Descriptor ¶ added in v0.2.5
func (*GetElectionBucketsRequest) Descriptor() ([]byte, []int)
func (*GetElectionBucketsRequest) GetEpochNum ¶ added in v0.2.5
func (m *GetElectionBucketsRequest) GetEpochNum() uint64
func (*GetElectionBucketsRequest) ProtoMessage ¶ added in v0.2.5
func (*GetElectionBucketsRequest) ProtoMessage()
func (*GetElectionBucketsRequest) Reset ¶ added in v0.2.5
func (m *GetElectionBucketsRequest) Reset()
func (*GetElectionBucketsRequest) String ¶ added in v0.2.5
func (m *GetElectionBucketsRequest) String() string
func (*GetElectionBucketsRequest) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *GetElectionBucketsRequest) XXX_DiscardUnknown()
func (*GetElectionBucketsRequest) XXX_Marshal ¶ added in v0.2.5
func (m *GetElectionBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetElectionBucketsRequest) XXX_Merge ¶ added in v0.2.5
func (m *GetElectionBucketsRequest) XXX_Merge(src proto.Message)
func (*GetElectionBucketsRequest) XXX_Size ¶ added in v0.2.5
func (m *GetElectionBucketsRequest) XXX_Size() int
func (*GetElectionBucketsRequest) XXX_Unmarshal ¶ added in v0.2.5
func (m *GetElectionBucketsRequest) XXX_Unmarshal(b []byte) error
type GetElectionBucketsResponse ¶ added in v0.2.5
type GetElectionBucketsResponse struct {
Buckets []*iotextypes.ElectionBucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetElectionBucketsResponse) Descriptor ¶ added in v0.2.5
func (*GetElectionBucketsResponse) Descriptor() ([]byte, []int)
func (*GetElectionBucketsResponse) GetBuckets ¶ added in v0.2.5
func (m *GetElectionBucketsResponse) GetBuckets() []*iotextypes.ElectionBucket
func (*GetElectionBucketsResponse) ProtoMessage ¶ added in v0.2.5
func (*GetElectionBucketsResponse) ProtoMessage()
func (*GetElectionBucketsResponse) Reset ¶ added in v0.2.5
func (m *GetElectionBucketsResponse) Reset()
func (*GetElectionBucketsResponse) String ¶ added in v0.2.5
func (m *GetElectionBucketsResponse) String() string
func (*GetElectionBucketsResponse) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *GetElectionBucketsResponse) XXX_DiscardUnknown()
func (*GetElectionBucketsResponse) XXX_Marshal ¶ added in v0.2.5
func (m *GetElectionBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetElectionBucketsResponse) XXX_Merge ¶ added in v0.2.5
func (m *GetElectionBucketsResponse) XXX_Merge(src proto.Message)
func (*GetElectionBucketsResponse) XXX_Size ¶ added in v0.2.5
func (m *GetElectionBucketsResponse) XXX_Size() int
func (*GetElectionBucketsResponse) XXX_Unmarshal ¶ added in v0.2.5
func (m *GetElectionBucketsResponse) XXX_Unmarshal(b []byte) error
type GetEpochMetaRequest ¶
type GetEpochMetaRequest struct {
EpochNumber uint64 `protobuf:"varint,1,opt,name=epochNumber,proto3" json:"epochNumber,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetEpochMetaRequest) Descriptor ¶
func (*GetEpochMetaRequest) Descriptor() ([]byte, []int)
func (*GetEpochMetaRequest) GetEpochNumber ¶
func (m *GetEpochMetaRequest) GetEpochNumber() uint64
func (*GetEpochMetaRequest) ProtoMessage ¶
func (*GetEpochMetaRequest) ProtoMessage()
func (*GetEpochMetaRequest) Reset ¶
func (m *GetEpochMetaRequest) Reset()
func (*GetEpochMetaRequest) String ¶
func (m *GetEpochMetaRequest) String() string
func (*GetEpochMetaRequest) XXX_DiscardUnknown ¶
func (m *GetEpochMetaRequest) XXX_DiscardUnknown()
func (*GetEpochMetaRequest) XXX_Marshal ¶
func (m *GetEpochMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEpochMetaRequest) XXX_Merge ¶
func (m *GetEpochMetaRequest) XXX_Merge(src proto.Message)
func (*GetEpochMetaRequest) XXX_Size ¶
func (m *GetEpochMetaRequest) XXX_Size() int
func (*GetEpochMetaRequest) XXX_Unmarshal ¶
func (m *GetEpochMetaRequest) XXX_Unmarshal(b []byte) error
type GetEpochMetaResponse ¶
type GetEpochMetaResponse struct {
EpochData *iotextypes.EpochData `protobuf:"bytes,1,opt,name=epochData,proto3" json:"epochData,omitempty"`
TotalBlocks uint64 `protobuf:"varint,2,opt,name=totalBlocks,proto3" json:"totalBlocks,omitempty"`
BlockProducersInfo []*BlockProducerInfo `protobuf:"bytes,3,rep,name=blockProducersInfo,proto3" json:"blockProducersInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetEpochMetaResponse) Descriptor ¶
func (*GetEpochMetaResponse) Descriptor() ([]byte, []int)
func (*GetEpochMetaResponse) GetBlockProducersInfo ¶
func (m *GetEpochMetaResponse) GetBlockProducersInfo() []*BlockProducerInfo
func (*GetEpochMetaResponse) GetEpochData ¶
func (m *GetEpochMetaResponse) GetEpochData() *iotextypes.EpochData
func (*GetEpochMetaResponse) GetTotalBlocks ¶
func (m *GetEpochMetaResponse) GetTotalBlocks() uint64
func (*GetEpochMetaResponse) ProtoMessage ¶
func (*GetEpochMetaResponse) ProtoMessage()
func (*GetEpochMetaResponse) Reset ¶
func (m *GetEpochMetaResponse) Reset()
func (*GetEpochMetaResponse) String ¶
func (m *GetEpochMetaResponse) String() string
func (*GetEpochMetaResponse) XXX_DiscardUnknown ¶
func (m *GetEpochMetaResponse) XXX_DiscardUnknown()
func (*GetEpochMetaResponse) XXX_Marshal ¶
func (m *GetEpochMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEpochMetaResponse) XXX_Merge ¶
func (m *GetEpochMetaResponse) XXX_Merge(src proto.Message)
func (*GetEpochMetaResponse) XXX_Size ¶
func (m *GetEpochMetaResponse) XXX_Size() int
func (*GetEpochMetaResponse) XXX_Unmarshal ¶
func (m *GetEpochMetaResponse) XXX_Unmarshal(b []byte) error
type GetLogsByBlock ¶ added in v0.2.5
type GetLogsByBlock struct {
BlockHash []byte `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetLogsByBlock) Descriptor ¶ added in v0.2.5
func (*GetLogsByBlock) Descriptor() ([]byte, []int)
func (*GetLogsByBlock) GetBlockHash ¶ added in v0.2.5
func (m *GetLogsByBlock) GetBlockHash() []byte
func (*GetLogsByBlock) ProtoMessage ¶ added in v0.2.5
func (*GetLogsByBlock) ProtoMessage()
func (*GetLogsByBlock) Reset ¶ added in v0.2.5
func (m *GetLogsByBlock) Reset()
func (*GetLogsByBlock) String ¶ added in v0.2.5
func (m *GetLogsByBlock) String() string
func (*GetLogsByBlock) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *GetLogsByBlock) XXX_DiscardUnknown()
func (*GetLogsByBlock) XXX_Marshal ¶ added in v0.2.5
func (m *GetLogsByBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLogsByBlock) XXX_Merge ¶ added in v0.2.5
func (m *GetLogsByBlock) XXX_Merge(src proto.Message)
func (*GetLogsByBlock) XXX_Size ¶ added in v0.2.5
func (m *GetLogsByBlock) XXX_Size() int
func (*GetLogsByBlock) XXX_Unmarshal ¶ added in v0.2.5
func (m *GetLogsByBlock) XXX_Unmarshal(b []byte) error
type GetLogsByRange ¶ added in v0.2.5
type GetLogsByRange struct {
FromBlock uint64 `protobuf:"varint,1,opt,name=fromBlock,proto3" json:"fromBlock,omitempty"`
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetLogsByRange) Descriptor ¶ added in v0.2.5
func (*GetLogsByRange) Descriptor() ([]byte, []int)
func (*GetLogsByRange) GetCount ¶ added in v0.2.5
func (m *GetLogsByRange) GetCount() uint64
func (*GetLogsByRange) GetFromBlock ¶ added in v0.2.5
func (m *GetLogsByRange) GetFromBlock() uint64
func (*GetLogsByRange) ProtoMessage ¶ added in v0.2.5
func (*GetLogsByRange) ProtoMessage()
func (*GetLogsByRange) Reset ¶ added in v0.2.5
func (m *GetLogsByRange) Reset()
func (*GetLogsByRange) String ¶ added in v0.2.5
func (m *GetLogsByRange) String() string
func (*GetLogsByRange) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *GetLogsByRange) XXX_DiscardUnknown()
func (*GetLogsByRange) XXX_Marshal ¶ added in v0.2.5
func (m *GetLogsByRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLogsByRange) XXX_Merge ¶ added in v0.2.5
func (m *GetLogsByRange) XXX_Merge(src proto.Message)
func (*GetLogsByRange) XXX_Size ¶ added in v0.2.5
func (m *GetLogsByRange) XXX_Size() int
func (*GetLogsByRange) XXX_Unmarshal ¶ added in v0.2.5
func (m *GetLogsByRange) XXX_Unmarshal(b []byte) error
type GetLogsRequest ¶ added in v0.2.5
type GetLogsRequest struct {
Filter *LogsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
// Types that are valid to be assigned to Lookup:
// *GetLogsRequest_ByBlock
// *GetLogsRequest_ByRange
Lookup isGetLogsRequest_Lookup `protobuf_oneof:"lookup"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetLogsRequest) Descriptor ¶ added in v0.2.5
func (*GetLogsRequest) Descriptor() ([]byte, []int)
func (*GetLogsRequest) GetByBlock ¶ added in v0.2.5
func (m *GetLogsRequest) GetByBlock() *GetLogsByBlock
func (*GetLogsRequest) GetByRange ¶ added in v0.2.5
func (m *GetLogsRequest) GetByRange() *GetLogsByRange
func (*GetLogsRequest) GetFilter ¶ added in v0.2.5
func (m *GetLogsRequest) GetFilter() *LogsFilter
func (*GetLogsRequest) GetLookup ¶ added in v0.2.5
func (m *GetLogsRequest) GetLookup() isGetLogsRequest_Lookup
func (*GetLogsRequest) ProtoMessage ¶ added in v0.2.5
func (*GetLogsRequest) ProtoMessage()
func (*GetLogsRequest) Reset ¶ added in v0.2.5
func (m *GetLogsRequest) Reset()
func (*GetLogsRequest) String ¶ added in v0.2.5
func (m *GetLogsRequest) String() string
func (*GetLogsRequest) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *GetLogsRequest) XXX_DiscardUnknown()
func (*GetLogsRequest) XXX_Marshal ¶ added in v0.2.5
func (m *GetLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLogsRequest) XXX_Merge ¶ added in v0.2.5
func (m *GetLogsRequest) XXX_Merge(src proto.Message)
func (*GetLogsRequest) XXX_OneofWrappers ¶ added in v0.2.5
func (*GetLogsRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GetLogsRequest) XXX_Size ¶ added in v0.2.5
func (m *GetLogsRequest) XXX_Size() int
func (*GetLogsRequest) XXX_Unmarshal ¶ added in v0.2.5
func (m *GetLogsRequest) XXX_Unmarshal(b []byte) error
type GetLogsRequest_ByBlock ¶ added in v0.2.5
type GetLogsRequest_ByBlock struct {
ByBlock *GetLogsByBlock `protobuf:"bytes,2,opt,name=byBlock,proto3,oneof"`
}
type GetLogsRequest_ByRange ¶ added in v0.2.5
type GetLogsRequest_ByRange struct {
ByRange *GetLogsByRange `protobuf:"bytes,3,opt,name=byRange,proto3,oneof"`
}
type GetLogsResponse ¶ added in v0.2.5
type GetLogsResponse struct {
Logs []*iotextypes.Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetLogsResponse) Descriptor ¶ added in v0.2.5
func (*GetLogsResponse) Descriptor() ([]byte, []int)
func (*GetLogsResponse) GetLogs ¶ added in v0.2.5
func (m *GetLogsResponse) GetLogs() []*iotextypes.Log
func (*GetLogsResponse) ProtoMessage ¶ added in v0.2.5
func (*GetLogsResponse) ProtoMessage()
func (*GetLogsResponse) Reset ¶ added in v0.2.5
func (m *GetLogsResponse) Reset()
func (*GetLogsResponse) String ¶ added in v0.2.5
func (m *GetLogsResponse) String() string
func (*GetLogsResponse) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *GetLogsResponse) XXX_DiscardUnknown()
func (*GetLogsResponse) XXX_Marshal ¶ added in v0.2.5
func (m *GetLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLogsResponse) XXX_Merge ¶ added in v0.2.5
func (m *GetLogsResponse) XXX_Merge(src proto.Message)
func (*GetLogsResponse) XXX_Size ¶ added in v0.2.5
func (m *GetLogsResponse) XXX_Size() int
func (*GetLogsResponse) XXX_Unmarshal ¶ added in v0.2.5
func (m *GetLogsResponse) XXX_Unmarshal(b []byte) error
type GetRawBlocksRequest ¶
type GetRawBlocksRequest struct {
StartHeight uint64 `protobuf:"varint,1,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
WithReceipts bool `protobuf:"varint,3,opt,name=withReceipts,proto3" json:"withReceipts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetRawBlocksRequest) Descriptor ¶
func (*GetRawBlocksRequest) Descriptor() ([]byte, []int)
func (*GetRawBlocksRequest) GetCount ¶
func (m *GetRawBlocksRequest) GetCount() uint64
func (*GetRawBlocksRequest) GetStartHeight ¶
func (m *GetRawBlocksRequest) GetStartHeight() uint64
func (*GetRawBlocksRequest) GetWithReceipts ¶
func (m *GetRawBlocksRequest) GetWithReceipts() bool
func (*GetRawBlocksRequest) ProtoMessage ¶
func (*GetRawBlocksRequest) ProtoMessage()
func (*GetRawBlocksRequest) Reset ¶
func (m *GetRawBlocksRequest) Reset()
func (*GetRawBlocksRequest) String ¶
func (m *GetRawBlocksRequest) String() string
func (*GetRawBlocksRequest) XXX_DiscardUnknown ¶
func (m *GetRawBlocksRequest) XXX_DiscardUnknown()
func (*GetRawBlocksRequest) XXX_Marshal ¶
func (m *GetRawBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawBlocksRequest) XXX_Merge ¶
func (m *GetRawBlocksRequest) XXX_Merge(src proto.Message)
func (*GetRawBlocksRequest) XXX_Size ¶
func (m *GetRawBlocksRequest) XXX_Size() int
func (*GetRawBlocksRequest) XXX_Unmarshal ¶
func (m *GetRawBlocksRequest) XXX_Unmarshal(b []byte) error
type GetRawBlocksResponse ¶
type GetRawBlocksResponse struct {
Blocks []*BlockInfo `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetRawBlocksResponse) Descriptor ¶
func (*GetRawBlocksResponse) Descriptor() ([]byte, []int)
func (*GetRawBlocksResponse) GetBlocks ¶
func (m *GetRawBlocksResponse) GetBlocks() []*BlockInfo
func (*GetRawBlocksResponse) ProtoMessage ¶
func (*GetRawBlocksResponse) ProtoMessage()
func (*GetRawBlocksResponse) Reset ¶
func (m *GetRawBlocksResponse) Reset()
func (*GetRawBlocksResponse) String ¶
func (m *GetRawBlocksResponse) String() string
func (*GetRawBlocksResponse) XXX_DiscardUnknown ¶
func (m *GetRawBlocksResponse) XXX_DiscardUnknown()
func (*GetRawBlocksResponse) XXX_Marshal ¶
func (m *GetRawBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawBlocksResponse) XXX_Merge ¶
func (m *GetRawBlocksResponse) XXX_Merge(src proto.Message)
func (*GetRawBlocksResponse) XXX_Size ¶
func (m *GetRawBlocksResponse) XXX_Size() int
func (*GetRawBlocksResponse) XXX_Unmarshal ¶
func (m *GetRawBlocksResponse) XXX_Unmarshal(b []byte) error
type GetReceiptByActionRequest ¶
type GetReceiptByActionRequest struct {
ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetReceiptByActionRequest) Descriptor ¶
func (*GetReceiptByActionRequest) Descriptor() ([]byte, []int)
func (*GetReceiptByActionRequest) GetActionHash ¶
func (m *GetReceiptByActionRequest) GetActionHash() string
func (*GetReceiptByActionRequest) ProtoMessage ¶
func (*GetReceiptByActionRequest) ProtoMessage()
func (*GetReceiptByActionRequest) Reset ¶
func (m *GetReceiptByActionRequest) Reset()
func (*GetReceiptByActionRequest) String ¶
func (m *GetReceiptByActionRequest) String() string
func (*GetReceiptByActionRequest) XXX_DiscardUnknown ¶
func (m *GetReceiptByActionRequest) XXX_DiscardUnknown()
func (*GetReceiptByActionRequest) XXX_Marshal ¶
func (m *GetReceiptByActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetReceiptByActionRequest) XXX_Merge ¶
func (m *GetReceiptByActionRequest) XXX_Merge(src proto.Message)
func (*GetReceiptByActionRequest) XXX_Size ¶
func (m *GetReceiptByActionRequest) XXX_Size() int
func (*GetReceiptByActionRequest) XXX_Unmarshal ¶
func (m *GetReceiptByActionRequest) XXX_Unmarshal(b []byte) error
type GetReceiptByActionResponse ¶
type GetReceiptByActionResponse struct {
ReceiptInfo *ReceiptInfo `protobuf:"bytes,1,opt,name=receiptInfo,proto3" json:"receiptInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetReceiptByActionResponse) Descriptor ¶
func (*GetReceiptByActionResponse) Descriptor() ([]byte, []int)
func (*GetReceiptByActionResponse) GetReceiptInfo ¶
func (m *GetReceiptByActionResponse) GetReceiptInfo() *ReceiptInfo
func (*GetReceiptByActionResponse) ProtoMessage ¶
func (*GetReceiptByActionResponse) ProtoMessage()
func (*GetReceiptByActionResponse) Reset ¶
func (m *GetReceiptByActionResponse) Reset()
func (*GetReceiptByActionResponse) String ¶
func (m *GetReceiptByActionResponse) String() string
func (*GetReceiptByActionResponse) XXX_DiscardUnknown ¶
func (m *GetReceiptByActionResponse) XXX_DiscardUnknown()
func (*GetReceiptByActionResponse) XXX_Marshal ¶
func (m *GetReceiptByActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetReceiptByActionResponse) XXX_Merge ¶
func (m *GetReceiptByActionResponse) XXX_Merge(src proto.Message)
func (*GetReceiptByActionResponse) XXX_Size ¶
func (m *GetReceiptByActionResponse) XXX_Size() int
func (*GetReceiptByActionResponse) XXX_Unmarshal ¶
func (m *GetReceiptByActionResponse) XXX_Unmarshal(b []byte) error
type GetServerMetaRequest ¶
type GetServerMetaRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetServerMetaRequest) Descriptor ¶
func (*GetServerMetaRequest) Descriptor() ([]byte, []int)
func (*GetServerMetaRequest) ProtoMessage ¶
func (*GetServerMetaRequest) ProtoMessage()
func (*GetServerMetaRequest) Reset ¶
func (m *GetServerMetaRequest) Reset()
func (*GetServerMetaRequest) String ¶
func (m *GetServerMetaRequest) String() string
func (*GetServerMetaRequest) XXX_DiscardUnknown ¶
func (m *GetServerMetaRequest) XXX_DiscardUnknown()
func (*GetServerMetaRequest) XXX_Marshal ¶
func (m *GetServerMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerMetaRequest) XXX_Merge ¶
func (m *GetServerMetaRequest) XXX_Merge(src proto.Message)
func (*GetServerMetaRequest) XXX_Size ¶
func (m *GetServerMetaRequest) XXX_Size() int
func (*GetServerMetaRequest) XXX_Unmarshal ¶
func (m *GetServerMetaRequest) XXX_Unmarshal(b []byte) error
type GetServerMetaResponse ¶
type GetServerMetaResponse struct {
ServerMeta *iotextypes.ServerMeta `protobuf:"bytes,1,opt,name=serverMeta,proto3" json:"serverMeta,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetServerMetaResponse) Descriptor ¶
func (*GetServerMetaResponse) Descriptor() ([]byte, []int)
func (*GetServerMetaResponse) GetServerMeta ¶
func (m *GetServerMetaResponse) GetServerMeta() *iotextypes.ServerMeta
func (*GetServerMetaResponse) ProtoMessage ¶
func (*GetServerMetaResponse) ProtoMessage()
func (*GetServerMetaResponse) Reset ¶
func (m *GetServerMetaResponse) Reset()
func (*GetServerMetaResponse) String ¶
func (m *GetServerMetaResponse) String() string
func (*GetServerMetaResponse) XXX_DiscardUnknown ¶
func (m *GetServerMetaResponse) XXX_DiscardUnknown()
func (*GetServerMetaResponse) XXX_Marshal ¶
func (m *GetServerMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerMetaResponse) XXX_Merge ¶
func (m *GetServerMetaResponse) XXX_Merge(src proto.Message)
func (*GetServerMetaResponse) XXX_Size ¶
func (m *GetServerMetaResponse) XXX_Size() int
func (*GetServerMetaResponse) XXX_Unmarshal ¶
func (m *GetServerMetaResponse) XXX_Unmarshal(b []byte) error
type GetUnconfirmedActionsByAddressRequest ¶
type GetUnconfirmedActionsByAddressRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Start uint64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetUnconfirmedActionsByAddressRequest) Descriptor ¶
func (*GetUnconfirmedActionsByAddressRequest) Descriptor() ([]byte, []int)
func (*GetUnconfirmedActionsByAddressRequest) GetAddress ¶
func (m *GetUnconfirmedActionsByAddressRequest) GetAddress() string
func (*GetUnconfirmedActionsByAddressRequest) GetCount ¶
func (m *GetUnconfirmedActionsByAddressRequest) GetCount() uint64
func (*GetUnconfirmedActionsByAddressRequest) GetStart ¶
func (m *GetUnconfirmedActionsByAddressRequest) GetStart() uint64
func (*GetUnconfirmedActionsByAddressRequest) ProtoMessage ¶
func (*GetUnconfirmedActionsByAddressRequest) ProtoMessage()
func (*GetUnconfirmedActionsByAddressRequest) Reset ¶
func (m *GetUnconfirmedActionsByAddressRequest) Reset()
func (*GetUnconfirmedActionsByAddressRequest) String ¶
func (m *GetUnconfirmedActionsByAddressRequest) String() string
func (*GetUnconfirmedActionsByAddressRequest) XXX_DiscardUnknown ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_DiscardUnknown()
func (*GetUnconfirmedActionsByAddressRequest) XXX_Marshal ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUnconfirmedActionsByAddressRequest) XXX_Merge ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_Merge(src proto.Message)
func (*GetUnconfirmedActionsByAddressRequest) XXX_Size ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_Size() int
func (*GetUnconfirmedActionsByAddressRequest) XXX_Unmarshal ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_Unmarshal(b []byte) error
type GetVotesRequest ¶ added in v0.2.5
type GetVotesRequest struct {
Votee string `protobuf:"bytes,1,opt,name=votee,proto3" json:"votee,omitempty"`
Height string `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"`
Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetVotesRequest) Descriptor ¶ added in v0.2.5
func (*GetVotesRequest) Descriptor() ([]byte, []int)
func (*GetVotesRequest) GetHeight ¶ added in v0.2.5
func (m *GetVotesRequest) GetHeight() string
func (*GetVotesRequest) GetLimit ¶ added in v0.2.5
func (m *GetVotesRequest) GetLimit() uint32
func (*GetVotesRequest) GetOffset ¶ added in v0.2.5
func (m *GetVotesRequest) GetOffset() uint32
func (*GetVotesRequest) GetVotee ¶ added in v0.2.5
func (m *GetVotesRequest) GetVotee() string
func (*GetVotesRequest) ProtoMessage ¶ added in v0.2.5
func (*GetVotesRequest) ProtoMessage()
func (*GetVotesRequest) Reset ¶ added in v0.2.5
func (m *GetVotesRequest) Reset()
func (*GetVotesRequest) String ¶ added in v0.2.5
func (m *GetVotesRequest) String() string
func (*GetVotesRequest) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *GetVotesRequest) XXX_DiscardUnknown()
func (*GetVotesRequest) XXX_Marshal ¶ added in v0.2.5
func (m *GetVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVotesRequest) XXX_Merge ¶ added in v0.2.5
func (m *GetVotesRequest) XXX_Merge(src proto.Message)
func (*GetVotesRequest) XXX_Size ¶ added in v0.2.5
func (m *GetVotesRequest) XXX_Size() int
func (*GetVotesRequest) XXX_Unmarshal ¶ added in v0.2.5
func (m *GetVotesRequest) XXX_Unmarshal(b []byte) error
type GetVotesResponse ¶ added in v0.2.5
type GetVotesResponse struct {
Buckets []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetVotesResponse) Descriptor ¶ added in v0.2.5
func (*GetVotesResponse) Descriptor() ([]byte, []int)
func (*GetVotesResponse) GetBuckets ¶ added in v0.2.5
func (m *GetVotesResponse) GetBuckets() []*Bucket
func (*GetVotesResponse) ProtoMessage ¶ added in v0.2.5
func (*GetVotesResponse) ProtoMessage()
func (*GetVotesResponse) Reset ¶ added in v0.2.5
func (m *GetVotesResponse) Reset()
func (*GetVotesResponse) String ¶ added in v0.2.5
func (m *GetVotesResponse) String() string
func (*GetVotesResponse) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *GetVotesResponse) XXX_DiscardUnknown()
func (*GetVotesResponse) XXX_Marshal ¶ added in v0.2.5
func (m *GetVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVotesResponse) XXX_Merge ¶ added in v0.2.5
func (m *GetVotesResponse) XXX_Merge(src proto.Message)
func (*GetVotesResponse) XXX_Size ¶ added in v0.2.5
func (m *GetVotesResponse) XXX_Size() int
func (*GetVotesResponse) XXX_Unmarshal ¶ added in v0.2.5
func (m *GetVotesResponse) XXX_Unmarshal(b []byte) error
type LogsFilter ¶ added in v0.2.5
type LogsFilter struct {
Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
Topics []*Topics `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LogsFilter) Descriptor ¶ added in v0.2.5
func (*LogsFilter) Descriptor() ([]byte, []int)
func (*LogsFilter) GetAddress ¶ added in v0.2.5
func (m *LogsFilter) GetAddress() []string
func (*LogsFilter) GetTopics ¶ added in v0.2.5
func (m *LogsFilter) GetTopics() []*Topics
func (*LogsFilter) ProtoMessage ¶ added in v0.2.5
func (*LogsFilter) ProtoMessage()
func (*LogsFilter) Reset ¶ added in v0.2.5
func (m *LogsFilter) Reset()
func (*LogsFilter) String ¶ added in v0.2.5
func (m *LogsFilter) String() string
func (*LogsFilter) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *LogsFilter) XXX_DiscardUnknown()
func (*LogsFilter) XXX_Marshal ¶ added in v0.2.5
func (m *LogsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogsFilter) XXX_Merge ¶ added in v0.2.5
func (m *LogsFilter) XXX_Merge(src proto.Message)
func (*LogsFilter) XXX_Size ¶ added in v0.2.5
func (m *LogsFilter) XXX_Size() int
func (*LogsFilter) XXX_Unmarshal ¶ added in v0.2.5
func (m *LogsFilter) XXX_Unmarshal(b []byte) error
type ReadContractRequest ¶
type ReadContractRequest struct {
Execution *iotextypes.Execution `protobuf:"bytes,1,opt,name=execution,proto3" json:"execution,omitempty"`
CallerAddress string `protobuf:"bytes,2,opt,name=callerAddress,proto3" json:"callerAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReadContractRequest) Descriptor ¶
func (*ReadContractRequest) Descriptor() ([]byte, []int)
func (*ReadContractRequest) GetCallerAddress ¶
func (m *ReadContractRequest) GetCallerAddress() string
func (*ReadContractRequest) GetExecution ¶
func (m *ReadContractRequest) GetExecution() *iotextypes.Execution
func (*ReadContractRequest) ProtoMessage ¶
func (*ReadContractRequest) ProtoMessage()
func (*ReadContractRequest) Reset ¶
func (m *ReadContractRequest) Reset()
func (*ReadContractRequest) String ¶
func (m *ReadContractRequest) String() string
func (*ReadContractRequest) XXX_DiscardUnknown ¶
func (m *ReadContractRequest) XXX_DiscardUnknown()
func (*ReadContractRequest) XXX_Marshal ¶
func (m *ReadContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadContractRequest) XXX_Merge ¶
func (m *ReadContractRequest) XXX_Merge(src proto.Message)
func (*ReadContractRequest) XXX_Size ¶
func (m *ReadContractRequest) XXX_Size() int
func (*ReadContractRequest) XXX_Unmarshal ¶
func (m *ReadContractRequest) XXX_Unmarshal(b []byte) error
type ReadContractResponse ¶
type ReadContractResponse struct {
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
Receipt *iotextypes.Receipt `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReadContractResponse) Descriptor ¶
func (*ReadContractResponse) Descriptor() ([]byte, []int)
func (*ReadContractResponse) GetData ¶
func (m *ReadContractResponse) GetData() string
func (*ReadContractResponse) GetReceipt ¶
func (m *ReadContractResponse) GetReceipt() *iotextypes.Receipt
func (*ReadContractResponse) ProtoMessage ¶
func (*ReadContractResponse) ProtoMessage()
func (*ReadContractResponse) Reset ¶
func (m *ReadContractResponse) Reset()
func (*ReadContractResponse) String ¶
func (m *ReadContractResponse) String() string
func (*ReadContractResponse) XXX_DiscardUnknown ¶
func (m *ReadContractResponse) XXX_DiscardUnknown()
func (*ReadContractResponse) XXX_Marshal ¶
func (m *ReadContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadContractResponse) XXX_Merge ¶
func (m *ReadContractResponse) XXX_Merge(src proto.Message)
func (*ReadContractResponse) XXX_Size ¶
func (m *ReadContractResponse) XXX_Size() int
func (*ReadContractResponse) XXX_Unmarshal ¶
func (m *ReadContractResponse) XXX_Unmarshal(b []byte) error
type ReadStateRequest ¶
type ReadStateRequest struct {
ProtocolID []byte `protobuf:"bytes,1,opt,name=protocolID,proto3" json:"protocolID,omitempty"`
MethodName []byte `protobuf:"bytes,2,opt,name=methodName,proto3" json:"methodName,omitempty"`
Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReadStateRequest) Descriptor ¶
func (*ReadStateRequest) Descriptor() ([]byte, []int)
func (*ReadStateRequest) GetArguments ¶
func (m *ReadStateRequest) GetArguments() [][]byte
func (*ReadStateRequest) GetMethodName ¶
func (m *ReadStateRequest) GetMethodName() []byte
func (*ReadStateRequest) GetProtocolID ¶
func (m *ReadStateRequest) GetProtocolID() []byte
func (*ReadStateRequest) ProtoMessage ¶
func (*ReadStateRequest) ProtoMessage()
func (*ReadStateRequest) Reset ¶
func (m *ReadStateRequest) Reset()
func (*ReadStateRequest) String ¶
func (m *ReadStateRequest) String() string
func (*ReadStateRequest) XXX_DiscardUnknown ¶
func (m *ReadStateRequest) XXX_DiscardUnknown()
func (*ReadStateRequest) XXX_Marshal ¶
func (m *ReadStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadStateRequest) XXX_Merge ¶
func (m *ReadStateRequest) XXX_Merge(src proto.Message)
func (*ReadStateRequest) XXX_Size ¶
func (m *ReadStateRequest) XXX_Size() int
func (*ReadStateRequest) XXX_Unmarshal ¶
func (m *ReadStateRequest) XXX_Unmarshal(b []byte) error
type ReadStateResponse ¶
type ReadStateResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReadStateResponse) Descriptor ¶
func (*ReadStateResponse) Descriptor() ([]byte, []int)
func (*ReadStateResponse) GetData ¶
func (m *ReadStateResponse) GetData() []byte
func (*ReadStateResponse) ProtoMessage ¶
func (*ReadStateResponse) ProtoMessage()
func (*ReadStateResponse) Reset ¶
func (m *ReadStateResponse) Reset()
func (*ReadStateResponse) String ¶
func (m *ReadStateResponse) String() string
func (*ReadStateResponse) XXX_DiscardUnknown ¶
func (m *ReadStateResponse) XXX_DiscardUnknown()
func (*ReadStateResponse) XXX_Marshal ¶
func (m *ReadStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadStateResponse) XXX_Merge ¶
func (m *ReadStateResponse) XXX_Merge(src proto.Message)
func (*ReadStateResponse) XXX_Size ¶
func (m *ReadStateResponse) XXX_Size() int
func (*ReadStateResponse) XXX_Unmarshal ¶
func (m *ReadStateResponse) XXX_Unmarshal(b []byte) error
type ReceiptInfo ¶
type ReceiptInfo struct {
Receipt *iotextypes.Receipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
BlkHash string `protobuf:"bytes,2,opt,name=blkHash,proto3" json:"blkHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReceiptInfo) Descriptor ¶
func (*ReceiptInfo) Descriptor() ([]byte, []int)
func (*ReceiptInfo) GetBlkHash ¶
func (m *ReceiptInfo) GetBlkHash() string
func (*ReceiptInfo) GetReceipt ¶
func (m *ReceiptInfo) GetReceipt() *iotextypes.Receipt
func (*ReceiptInfo) ProtoMessage ¶
func (*ReceiptInfo) ProtoMessage()
func (*ReceiptInfo) Reset ¶
func (m *ReceiptInfo) Reset()
func (*ReceiptInfo) String ¶
func (m *ReceiptInfo) String() string
func (*ReceiptInfo) XXX_DiscardUnknown ¶
func (m *ReceiptInfo) XXX_DiscardUnknown()
func (*ReceiptInfo) XXX_Marshal ¶
func (m *ReceiptInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptInfo) XXX_Merge ¶
func (m *ReceiptInfo) XXX_Merge(src proto.Message)
func (*ReceiptInfo) XXX_Size ¶
func (m *ReceiptInfo) XXX_Size() int
func (*ReceiptInfo) XXX_Unmarshal ¶
func (m *ReceiptInfo) XXX_Unmarshal(b []byte) error
type SendActionRequest ¶
type SendActionRequest struct {
Action *iotextypes.Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendActionRequest) Descriptor ¶
func (*SendActionRequest) Descriptor() ([]byte, []int)
func (*SendActionRequest) GetAction ¶
func (m *SendActionRequest) GetAction() *iotextypes.Action
func (*SendActionRequest) ProtoMessage ¶
func (*SendActionRequest) ProtoMessage()
func (*SendActionRequest) Reset ¶
func (m *SendActionRequest) Reset()
func (*SendActionRequest) String ¶
func (m *SendActionRequest) String() string
func (*SendActionRequest) XXX_DiscardUnknown ¶
func (m *SendActionRequest) XXX_DiscardUnknown()
func (*SendActionRequest) XXX_Marshal ¶
func (m *SendActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendActionRequest) XXX_Merge ¶
func (m *SendActionRequest) XXX_Merge(src proto.Message)
func (*SendActionRequest) XXX_Size ¶
func (m *SendActionRequest) XXX_Size() int
func (*SendActionRequest) XXX_Unmarshal ¶
func (m *SendActionRequest) XXX_Unmarshal(b []byte) error
type SendActionResponse ¶
type SendActionResponse struct {
ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendActionResponse) Descriptor ¶
func (*SendActionResponse) Descriptor() ([]byte, []int)
func (*SendActionResponse) GetActionHash ¶
func (m *SendActionResponse) GetActionHash() string
func (*SendActionResponse) ProtoMessage ¶
func (*SendActionResponse) ProtoMessage()
func (*SendActionResponse) Reset ¶
func (m *SendActionResponse) Reset()
func (*SendActionResponse) String ¶
func (m *SendActionResponse) String() string
func (*SendActionResponse) XXX_DiscardUnknown ¶
func (m *SendActionResponse) XXX_DiscardUnknown()
func (*SendActionResponse) XXX_Marshal ¶
func (m *SendActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendActionResponse) XXX_Merge ¶
func (m *SendActionResponse) XXX_Merge(src proto.Message)
func (*SendActionResponse) XXX_Size ¶
func (m *SendActionResponse) XXX_Size() int
func (*SendActionResponse) XXX_Unmarshal ¶
func (m *SendActionResponse) XXX_Unmarshal(b []byte) error
type SendSignedActionBytesRequest ¶ added in v0.2.5
type SendSignedActionBytesRequest struct {
SignedActionBytes string `protobuf:"bytes,1,opt,name=signedActionBytes,proto3" json:"signedActionBytes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendSignedActionBytesRequest) Descriptor ¶ added in v0.2.5
func (*SendSignedActionBytesRequest) Descriptor() ([]byte, []int)
func (*SendSignedActionBytesRequest) GetSignedActionBytes ¶ added in v0.2.5
func (m *SendSignedActionBytesRequest) GetSignedActionBytes() string
func (*SendSignedActionBytesRequest) ProtoMessage ¶ added in v0.2.5
func (*SendSignedActionBytesRequest) ProtoMessage()
func (*SendSignedActionBytesRequest) Reset ¶ added in v0.2.5
func (m *SendSignedActionBytesRequest) Reset()
func (*SendSignedActionBytesRequest) String ¶ added in v0.2.5
func (m *SendSignedActionBytesRequest) String() string
func (*SendSignedActionBytesRequest) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *SendSignedActionBytesRequest) XXX_DiscardUnknown()
func (*SendSignedActionBytesRequest) XXX_Marshal ¶ added in v0.2.5
func (m *SendSignedActionBytesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendSignedActionBytesRequest) XXX_Merge ¶ added in v0.2.5
func (m *SendSignedActionBytesRequest) XXX_Merge(src proto.Message)
func (*SendSignedActionBytesRequest) XXX_Size ¶ added in v0.2.5
func (m *SendSignedActionBytesRequest) XXX_Size() int
func (*SendSignedActionBytesRequest) XXX_Unmarshal ¶ added in v0.2.5
func (m *SendSignedActionBytesRequest) XXX_Unmarshal(b []byte) error
type StreamBlocksRequest ¶ added in v0.2.5
type StreamBlocksRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
below are streaming APIs
func (*StreamBlocksRequest) Descriptor ¶ added in v0.2.5
func (*StreamBlocksRequest) Descriptor() ([]byte, []int)
func (*StreamBlocksRequest) ProtoMessage ¶ added in v0.2.5
func (*StreamBlocksRequest) ProtoMessage()
func (*StreamBlocksRequest) Reset ¶ added in v0.2.5
func (m *StreamBlocksRequest) Reset()
func (*StreamBlocksRequest) String ¶ added in v0.2.5
func (m *StreamBlocksRequest) String() string
func (*StreamBlocksRequest) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *StreamBlocksRequest) XXX_DiscardUnknown()
func (*StreamBlocksRequest) XXX_Marshal ¶ added in v0.2.5
func (m *StreamBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamBlocksRequest) XXX_Merge ¶ added in v0.2.5
func (m *StreamBlocksRequest) XXX_Merge(src proto.Message)
func (*StreamBlocksRequest) XXX_Size ¶ added in v0.2.5
func (m *StreamBlocksRequest) XXX_Size() int
func (*StreamBlocksRequest) XXX_Unmarshal ¶ added in v0.2.5
func (m *StreamBlocksRequest) XXX_Unmarshal(b []byte) error
type StreamBlocksResponse ¶ added in v0.2.5
type StreamBlocksResponse struct {
Block *BlockInfo `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StreamBlocksResponse) Descriptor ¶ added in v0.2.5
func (*StreamBlocksResponse) Descriptor() ([]byte, []int)
func (*StreamBlocksResponse) GetBlock ¶ added in v0.2.5
func (m *StreamBlocksResponse) GetBlock() *BlockInfo
func (*StreamBlocksResponse) ProtoMessage ¶ added in v0.2.5
func (*StreamBlocksResponse) ProtoMessage()
func (*StreamBlocksResponse) Reset ¶ added in v0.2.5
func (m *StreamBlocksResponse) Reset()
func (*StreamBlocksResponse) String ¶ added in v0.2.5
func (m *StreamBlocksResponse) String() string
func (*StreamBlocksResponse) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *StreamBlocksResponse) XXX_DiscardUnknown()
func (*StreamBlocksResponse) XXX_Marshal ¶ added in v0.2.5
func (m *StreamBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamBlocksResponse) XXX_Merge ¶ added in v0.2.5
func (m *StreamBlocksResponse) XXX_Merge(src proto.Message)
func (*StreamBlocksResponse) XXX_Size ¶ added in v0.2.5
func (m *StreamBlocksResponse) XXX_Size() int
func (*StreamBlocksResponse) XXX_Unmarshal ¶ added in v0.2.5
func (m *StreamBlocksResponse) XXX_Unmarshal(b []byte) error
type StreamLogsRequest ¶ added in v0.2.5
type StreamLogsRequest struct {
Filter *LogsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StreamLogsRequest) Descriptor ¶ added in v0.2.5
func (*StreamLogsRequest) Descriptor() ([]byte, []int)
func (*StreamLogsRequest) GetFilter ¶ added in v0.2.5
func (m *StreamLogsRequest) GetFilter() *LogsFilter
func (*StreamLogsRequest) ProtoMessage ¶ added in v0.2.5
func (*StreamLogsRequest) ProtoMessage()
func (*StreamLogsRequest) Reset ¶ added in v0.2.5
func (m *StreamLogsRequest) Reset()
func (*StreamLogsRequest) String ¶ added in v0.2.5
func (m *StreamLogsRequest) String() string
func (*StreamLogsRequest) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *StreamLogsRequest) XXX_DiscardUnknown()
func (*StreamLogsRequest) XXX_Marshal ¶ added in v0.2.5
func (m *StreamLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamLogsRequest) XXX_Merge ¶ added in v0.2.5
func (m *StreamLogsRequest) XXX_Merge(src proto.Message)
func (*StreamLogsRequest) XXX_Size ¶ added in v0.2.5
func (m *StreamLogsRequest) XXX_Size() int
func (*StreamLogsRequest) XXX_Unmarshal ¶ added in v0.2.5
func (m *StreamLogsRequest) XXX_Unmarshal(b []byte) error
type StreamLogsResponse ¶ added in v0.2.5
type StreamLogsResponse struct {
Log *iotextypes.Log `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StreamLogsResponse) Descriptor ¶ added in v0.2.5
func (*StreamLogsResponse) Descriptor() ([]byte, []int)
func (*StreamLogsResponse) GetLog ¶ added in v0.2.5
func (m *StreamLogsResponse) GetLog() *iotextypes.Log
func (*StreamLogsResponse) ProtoMessage ¶ added in v0.2.5
func (*StreamLogsResponse) ProtoMessage()
func (*StreamLogsResponse) Reset ¶ added in v0.2.5
func (m *StreamLogsResponse) Reset()
func (*StreamLogsResponse) String ¶ added in v0.2.5
func (m *StreamLogsResponse) String() string
func (*StreamLogsResponse) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *StreamLogsResponse) XXX_DiscardUnknown()
func (*StreamLogsResponse) XXX_Marshal ¶ added in v0.2.5
func (m *StreamLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamLogsResponse) XXX_Merge ¶ added in v0.2.5
func (m *StreamLogsResponse) XXX_Merge(src proto.Message)
func (*StreamLogsResponse) XXX_Size ¶ added in v0.2.5
func (m *StreamLogsResponse) XXX_Size() int
func (*StreamLogsResponse) XXX_Unmarshal ¶ added in v0.2.5
func (m *StreamLogsResponse) XXX_Unmarshal(b []byte) error
type SuggestGasPriceRequest ¶
type SuggestGasPriceRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SuggestGasPriceRequest) Descriptor ¶
func (*SuggestGasPriceRequest) Descriptor() ([]byte, []int)
func (*SuggestGasPriceRequest) ProtoMessage ¶
func (*SuggestGasPriceRequest) ProtoMessage()
func (*SuggestGasPriceRequest) Reset ¶
func (m *SuggestGasPriceRequest) Reset()
func (*SuggestGasPriceRequest) String ¶
func (m *SuggestGasPriceRequest) String() string
func (*SuggestGasPriceRequest) XXX_DiscardUnknown ¶
func (m *SuggestGasPriceRequest) XXX_DiscardUnknown()
func (*SuggestGasPriceRequest) XXX_Marshal ¶
func (m *SuggestGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SuggestGasPriceRequest) XXX_Merge ¶
func (m *SuggestGasPriceRequest) XXX_Merge(src proto.Message)
func (*SuggestGasPriceRequest) XXX_Size ¶
func (m *SuggestGasPriceRequest) XXX_Size() int
func (*SuggestGasPriceRequest) XXX_Unmarshal ¶
func (m *SuggestGasPriceRequest) XXX_Unmarshal(b []byte) error
type SuggestGasPriceResponse ¶
type SuggestGasPriceResponse struct {
GasPrice uint64 `protobuf:"varint,1,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SuggestGasPriceResponse) Descriptor ¶
func (*SuggestGasPriceResponse) Descriptor() ([]byte, []int)
func (*SuggestGasPriceResponse) GetGasPrice ¶
func (m *SuggestGasPriceResponse) GetGasPrice() uint64
func (*SuggestGasPriceResponse) ProtoMessage ¶
func (*SuggestGasPriceResponse) ProtoMessage()
func (*SuggestGasPriceResponse) Reset ¶
func (m *SuggestGasPriceResponse) Reset()
func (*SuggestGasPriceResponse) String ¶
func (m *SuggestGasPriceResponse) String() string
func (*SuggestGasPriceResponse) XXX_DiscardUnknown ¶
func (m *SuggestGasPriceResponse) XXX_DiscardUnknown()
func (*SuggestGasPriceResponse) XXX_Marshal ¶
func (m *SuggestGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SuggestGasPriceResponse) XXX_Merge ¶
func (m *SuggestGasPriceResponse) XXX_Merge(src proto.Message)
func (*SuggestGasPriceResponse) XXX_Size ¶
func (m *SuggestGasPriceResponse) XXX_Size() int
func (*SuggestGasPriceResponse) XXX_Unmarshal ¶
func (m *SuggestGasPriceResponse) XXX_Unmarshal(b []byte) error
type Topics ¶ added in v0.2.5
type Topics struct {
Topic [][]byte `protobuf:"bytes,1,rep,name=topic,proto3" json:"topic,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Topics) Descriptor ¶ added in v0.2.5
func (*Topics) ProtoMessage ¶ added in v0.2.5
func (*Topics) ProtoMessage()
func (*Topics) XXX_DiscardUnknown ¶ added in v0.2.5
func (m *Topics) XXX_DiscardUnknown()
func (*Topics) XXX_Marshal ¶ added in v0.2.5
func (*Topics) XXX_Unmarshal ¶ added in v0.2.5
type UnimplementedAPIServiceServer ¶ added in v0.2.5
type UnimplementedAPIServiceServer struct {
}
UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServiceServer) EstimateActionGasConsumption ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) EstimateActionGasConsumption(ctx context.Context, req *EstimateActionGasConsumptionRequest) (*EstimateActionGasConsumptionResponse, error)
func (*UnimplementedAPIServiceServer) EstimateGasForAction ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) EstimateGasForAction(ctx context.Context, req *EstimateGasForActionRequest) (*EstimateGasForActionResponse, error)
func (*UnimplementedAPIServiceServer) GetAccount ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetAccount(ctx context.Context, req *GetAccountRequest) (*GetAccountResponse, error)
func (*UnimplementedAPIServiceServer) GetActions ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetActions(ctx context.Context, req *GetActionsRequest) (*GetActionsResponse, error)
func (*UnimplementedAPIServiceServer) GetBlockMetas ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetBlockMetas(ctx context.Context, req *GetBlockMetasRequest) (*GetBlockMetasResponse, error)
func (*UnimplementedAPIServiceServer) GetChainMeta ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetChainMeta(ctx context.Context, req *GetChainMetaRequest) (*GetChainMetaResponse, error)
func (*UnimplementedAPIServiceServer) GetElectionBuckets ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetElectionBuckets(ctx context.Context, req *GetElectionBucketsRequest) (*GetElectionBucketsResponse, error)
func (*UnimplementedAPIServiceServer) GetEpochMeta ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetEpochMeta(ctx context.Context, req *GetEpochMetaRequest) (*GetEpochMetaResponse, error)
func (*UnimplementedAPIServiceServer) GetLogs ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetLogs(ctx context.Context, req *GetLogsRequest) (*GetLogsResponse, error)
func (*UnimplementedAPIServiceServer) GetRawBlocks ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetRawBlocks(ctx context.Context, req *GetRawBlocksRequest) (*GetRawBlocksResponse, error)
func (*UnimplementedAPIServiceServer) GetReceiptByAction ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetReceiptByAction(ctx context.Context, req *GetReceiptByActionRequest) (*GetReceiptByActionResponse, error)
func (*UnimplementedAPIServiceServer) GetServerMeta ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetServerMeta(ctx context.Context, req *GetServerMetaRequest) (*GetServerMetaResponse, error)
func (*UnimplementedAPIServiceServer) GetVotes ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetVotes(ctx context.Context, req *GetVotesRequest) (*GetVotesResponse, error)
func (*UnimplementedAPIServiceServer) ReadContract ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) ReadContract(ctx context.Context, req *ReadContractRequest) (*ReadContractResponse, error)
func (*UnimplementedAPIServiceServer) ReadState ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) ReadState(ctx context.Context, req *ReadStateRequest) (*ReadStateResponse, error)
func (*UnimplementedAPIServiceServer) SendAction ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) SendAction(ctx context.Context, req *SendActionRequest) (*SendActionResponse, error)
func (*UnimplementedAPIServiceServer) StreamBlocks ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) StreamBlocks(req *StreamBlocksRequest, srv APIService_StreamBlocksServer) error
func (*UnimplementedAPIServiceServer) StreamLogs ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) StreamLogs(req *StreamLogsRequest, srv APIService_StreamLogsServer) error
func (*UnimplementedAPIServiceServer) SuggestGasPrice ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) SuggestGasPrice(ctx context.Context, req *SuggestGasPriceRequest) (*SuggestGasPriceResponse, error)