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 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) 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 ¶
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 ¶
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 ¶
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) }
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 }
APIServiceServer is the server API for APIService service.
type APIService_StreamBlocksClient ¶
type APIService_StreamBlocksClient interface { Recv() (*StreamBlocksResponse, error) grpc.ClientStream }
type APIService_StreamBlocksServer ¶
type APIService_StreamBlocksServer interface { Send(*StreamBlocksResponse) error grpc.ServerStream }
type APIService_StreamLogsClient ¶
type APIService_StreamLogsClient interface { Recv() (*StreamLogsResponse, error) grpc.ClientStream }
type APIService_StreamLogsServer ¶
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 ¶
func (m *ActionInfo) GetBlkHeight() uint64
func (*ActionInfo) GetGasFee ¶
func (m *ActionInfo) GetGasFee() string
func (*ActionInfo) GetSender ¶
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 ¶
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 ¶
func (*Bucket) GetRemainingDuration ¶
func (*Bucket) GetWeightedVotes ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) XXX_DiscardUnknown ¶
func (m *Bucket) XXX_DiscardUnknown()
func (*Bucket) XXX_Marshal ¶
func (*Bucket) XXX_Unmarshal ¶
type EstimateActionGasConsumptionRequest ¶
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 ¶
func (*EstimateActionGasConsumptionRequest) Descriptor() ([]byte, []int)
func (*EstimateActionGasConsumptionRequest) GetAction ¶
func (m *EstimateActionGasConsumptionRequest) GetAction() isEstimateActionGasConsumptionRequest_Action
func (*EstimateActionGasConsumptionRequest) GetCallerAddress ¶
func (m *EstimateActionGasConsumptionRequest) GetCallerAddress() string
func (*EstimateActionGasConsumptionRequest) GetExecution ¶
func (m *EstimateActionGasConsumptionRequest) GetExecution() *iotextypes.Execution
func (*EstimateActionGasConsumptionRequest) GetTransfer ¶
func (m *EstimateActionGasConsumptionRequest) GetTransfer() *iotextypes.Transfer
func (*EstimateActionGasConsumptionRequest) ProtoMessage ¶
func (*EstimateActionGasConsumptionRequest) ProtoMessage()
func (*EstimateActionGasConsumptionRequest) Reset ¶
func (m *EstimateActionGasConsumptionRequest) Reset()
func (*EstimateActionGasConsumptionRequest) String ¶
func (m *EstimateActionGasConsumptionRequest) String() string
func (*EstimateActionGasConsumptionRequest) XXX_DiscardUnknown ¶
func (m *EstimateActionGasConsumptionRequest) XXX_DiscardUnknown()
func (*EstimateActionGasConsumptionRequest) XXX_Marshal ¶
func (m *EstimateActionGasConsumptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateActionGasConsumptionRequest) XXX_Merge ¶
func (m *EstimateActionGasConsumptionRequest) XXX_Merge(src proto.Message)
func (*EstimateActionGasConsumptionRequest) XXX_OneofWrappers ¶
func (*EstimateActionGasConsumptionRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*EstimateActionGasConsumptionRequest) XXX_Size ¶
func (m *EstimateActionGasConsumptionRequest) XXX_Size() int
func (*EstimateActionGasConsumptionRequest) XXX_Unmarshal ¶
func (m *EstimateActionGasConsumptionRequest) XXX_Unmarshal(b []byte) error
type EstimateActionGasConsumptionRequest_Execution ¶
type EstimateActionGasConsumptionRequest_Execution struct {
Execution *iotextypes.Execution `protobuf:"bytes,2,opt,name=execution,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_Transfer ¶
type EstimateActionGasConsumptionRequest_Transfer struct {
Transfer *iotextypes.Transfer `protobuf:"bytes,1,opt,name=transfer,proto3,oneof"`
}
type EstimateActionGasConsumptionResponse ¶
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 ¶
func (*EstimateActionGasConsumptionResponse) Descriptor() ([]byte, []int)
func (*EstimateActionGasConsumptionResponse) GetGas ¶
func (m *EstimateActionGasConsumptionResponse) GetGas() uint64
func (*EstimateActionGasConsumptionResponse) ProtoMessage ¶
func (*EstimateActionGasConsumptionResponse) ProtoMessage()
func (*EstimateActionGasConsumptionResponse) Reset ¶
func (m *EstimateActionGasConsumptionResponse) Reset()
func (*EstimateActionGasConsumptionResponse) String ¶
func (m *EstimateActionGasConsumptionResponse) String() string
func (*EstimateActionGasConsumptionResponse) XXX_DiscardUnknown ¶
func (m *EstimateActionGasConsumptionResponse) XXX_DiscardUnknown()
func (*EstimateActionGasConsumptionResponse) XXX_Marshal ¶
func (m *EstimateActionGasConsumptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateActionGasConsumptionResponse) XXX_Merge ¶
func (m *EstimateActionGasConsumptionResponse) XXX_Merge(src proto.Message)
func (*EstimateActionGasConsumptionResponse) XXX_Size ¶
func (m *EstimateActionGasConsumptionResponse) XXX_Size() int
func (*EstimateActionGasConsumptionResponse) XXX_Unmarshal ¶
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 ¶
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 ¶
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 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 ¶
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 ¶
func (*GetLogsByBlock) Descriptor() ([]byte, []int)
func (*GetLogsByBlock) GetBlockHash ¶
func (m *GetLogsByBlock) GetBlockHash() []byte
func (*GetLogsByBlock) ProtoMessage ¶
func (*GetLogsByBlock) ProtoMessage()
func (*GetLogsByBlock) Reset ¶
func (m *GetLogsByBlock) Reset()
func (*GetLogsByBlock) String ¶
func (m *GetLogsByBlock) String() string
func (*GetLogsByBlock) XXX_DiscardUnknown ¶
func (m *GetLogsByBlock) XXX_DiscardUnknown()
func (*GetLogsByBlock) XXX_Marshal ¶
func (m *GetLogsByBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLogsByBlock) XXX_Merge ¶
func (m *GetLogsByBlock) XXX_Merge(src proto.Message)
func (*GetLogsByBlock) XXX_Size ¶
func (m *GetLogsByBlock) XXX_Size() int
func (*GetLogsByBlock) XXX_Unmarshal ¶
func (m *GetLogsByBlock) XXX_Unmarshal(b []byte) error
type GetLogsByRange ¶
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 ¶
func (*GetLogsByRange) Descriptor() ([]byte, []int)
func (*GetLogsByRange) GetCount ¶
func (m *GetLogsByRange) GetCount() uint64
func (*GetLogsByRange) GetFromBlock ¶
func (m *GetLogsByRange) GetFromBlock() uint64
func (*GetLogsByRange) ProtoMessage ¶
func (*GetLogsByRange) ProtoMessage()
func (*GetLogsByRange) Reset ¶
func (m *GetLogsByRange) Reset()
func (*GetLogsByRange) String ¶
func (m *GetLogsByRange) String() string
func (*GetLogsByRange) XXX_DiscardUnknown ¶
func (m *GetLogsByRange) XXX_DiscardUnknown()
func (*GetLogsByRange) XXX_Marshal ¶
func (m *GetLogsByRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLogsByRange) XXX_Merge ¶
func (m *GetLogsByRange) XXX_Merge(src proto.Message)
func (*GetLogsByRange) XXX_Size ¶
func (m *GetLogsByRange) XXX_Size() int
func (*GetLogsByRange) XXX_Unmarshal ¶
func (m *GetLogsByRange) XXX_Unmarshal(b []byte) error
type GetLogsRequest ¶
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 ¶
func (*GetLogsRequest) Descriptor() ([]byte, []int)
func (*GetLogsRequest) GetByBlock ¶
func (m *GetLogsRequest) GetByBlock() *GetLogsByBlock
func (*GetLogsRequest) GetByRange ¶
func (m *GetLogsRequest) GetByRange() *GetLogsByRange
func (*GetLogsRequest) GetFilter ¶
func (m *GetLogsRequest) GetFilter() *LogsFilter
func (*GetLogsRequest) GetLookup ¶
func (m *GetLogsRequest) GetLookup() isGetLogsRequest_Lookup
func (*GetLogsRequest) ProtoMessage ¶
func (*GetLogsRequest) ProtoMessage()
func (*GetLogsRequest) Reset ¶
func (m *GetLogsRequest) Reset()
func (*GetLogsRequest) String ¶
func (m *GetLogsRequest) String() string
func (*GetLogsRequest) XXX_DiscardUnknown ¶
func (m *GetLogsRequest) XXX_DiscardUnknown()
func (*GetLogsRequest) XXX_Marshal ¶
func (m *GetLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLogsRequest) XXX_Merge ¶
func (m *GetLogsRequest) XXX_Merge(src proto.Message)
func (*GetLogsRequest) XXX_OneofWrappers ¶
func (*GetLogsRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GetLogsRequest) XXX_Size ¶
func (m *GetLogsRequest) XXX_Size() int
func (*GetLogsRequest) XXX_Unmarshal ¶
func (m *GetLogsRequest) XXX_Unmarshal(b []byte) error
type GetLogsRequest_ByBlock ¶
type GetLogsRequest_ByBlock struct {
ByBlock *GetLogsByBlock `protobuf:"bytes,2,opt,name=byBlock,proto3,oneof"`
}
type GetLogsRequest_ByRange ¶
type GetLogsRequest_ByRange struct {
ByRange *GetLogsByRange `protobuf:"bytes,3,opt,name=byRange,proto3,oneof"`
}
type GetLogsResponse ¶
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 ¶
func (*GetLogsResponse) Descriptor() ([]byte, []int)
func (*GetLogsResponse) GetLogs ¶
func (m *GetLogsResponse) GetLogs() []*iotextypes.Log
func (*GetLogsResponse) ProtoMessage ¶
func (*GetLogsResponse) ProtoMessage()
func (*GetLogsResponse) Reset ¶
func (m *GetLogsResponse) Reset()
func (*GetLogsResponse) String ¶
func (m *GetLogsResponse) String() string
func (*GetLogsResponse) XXX_DiscardUnknown ¶
func (m *GetLogsResponse) XXX_DiscardUnknown()
func (*GetLogsResponse) XXX_Marshal ¶
func (m *GetLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLogsResponse) XXX_Merge ¶
func (m *GetLogsResponse) XXX_Merge(src proto.Message)
func (*GetLogsResponse) XXX_Size ¶
func (m *GetLogsResponse) XXX_Size() int
func (*GetLogsResponse) XXX_Unmarshal ¶
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 ¶
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 ¶
func (*GetVotesRequest) Descriptor() ([]byte, []int)
func (*GetVotesRequest) GetHeight ¶
func (m *GetVotesRequest) GetHeight() string
func (*GetVotesRequest) GetLimit ¶
func (m *GetVotesRequest) GetLimit() uint32
func (*GetVotesRequest) GetOffset ¶
func (m *GetVotesRequest) GetOffset() uint32
func (*GetVotesRequest) GetVotee ¶
func (m *GetVotesRequest) GetVotee() string
func (*GetVotesRequest) ProtoMessage ¶
func (*GetVotesRequest) ProtoMessage()
func (*GetVotesRequest) Reset ¶
func (m *GetVotesRequest) Reset()
func (*GetVotesRequest) String ¶
func (m *GetVotesRequest) String() string
func (*GetVotesRequest) XXX_DiscardUnknown ¶
func (m *GetVotesRequest) XXX_DiscardUnknown()
func (*GetVotesRequest) XXX_Marshal ¶
func (m *GetVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVotesRequest) XXX_Merge ¶
func (m *GetVotesRequest) XXX_Merge(src proto.Message)
func (*GetVotesRequest) XXX_Size ¶
func (m *GetVotesRequest) XXX_Size() int
func (*GetVotesRequest) XXX_Unmarshal ¶
func (m *GetVotesRequest) XXX_Unmarshal(b []byte) error
type GetVotesResponse ¶
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 ¶
func (*GetVotesResponse) Descriptor() ([]byte, []int)
func (*GetVotesResponse) GetBuckets ¶
func (m *GetVotesResponse) GetBuckets() []*Bucket
func (*GetVotesResponse) ProtoMessage ¶
func (*GetVotesResponse) ProtoMessage()
func (*GetVotesResponse) Reset ¶
func (m *GetVotesResponse) Reset()
func (*GetVotesResponse) String ¶
func (m *GetVotesResponse) String() string
func (*GetVotesResponse) XXX_DiscardUnknown ¶
func (m *GetVotesResponse) XXX_DiscardUnknown()
func (*GetVotesResponse) XXX_Marshal ¶
func (m *GetVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVotesResponse) XXX_Merge ¶
func (m *GetVotesResponse) XXX_Merge(src proto.Message)
func (*GetVotesResponse) XXX_Size ¶
func (m *GetVotesResponse) XXX_Size() int
func (*GetVotesResponse) XXX_Unmarshal ¶
func (m *GetVotesResponse) XXX_Unmarshal(b []byte) error
type LogsFilter ¶
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 ¶
func (*LogsFilter) Descriptor() ([]byte, []int)
func (*LogsFilter) GetAddress ¶
func (m *LogsFilter) GetAddress() []string
func (*LogsFilter) GetTopics ¶
func (m *LogsFilter) GetTopics() []*Topics
func (*LogsFilter) ProtoMessage ¶
func (*LogsFilter) ProtoMessage()
func (*LogsFilter) Reset ¶
func (m *LogsFilter) Reset()
func (*LogsFilter) String ¶
func (m *LogsFilter) String() string
func (*LogsFilter) XXX_DiscardUnknown ¶
func (m *LogsFilter) XXX_DiscardUnknown()
func (*LogsFilter) XXX_Marshal ¶
func (m *LogsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogsFilter) XXX_Merge ¶
func (m *LogsFilter) XXX_Merge(src proto.Message)
func (*LogsFilter) XXX_Size ¶
func (m *LogsFilter) XXX_Size() int
func (*LogsFilter) XXX_Unmarshal ¶
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 ¶
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 ¶
func (*SendSignedActionBytesRequest) Descriptor() ([]byte, []int)
func (*SendSignedActionBytesRequest) GetSignedActionBytes ¶
func (m *SendSignedActionBytesRequest) GetSignedActionBytes() string
func (*SendSignedActionBytesRequest) ProtoMessage ¶
func (*SendSignedActionBytesRequest) ProtoMessage()
func (*SendSignedActionBytesRequest) Reset ¶
func (m *SendSignedActionBytesRequest) Reset()
func (*SendSignedActionBytesRequest) String ¶
func (m *SendSignedActionBytesRequest) String() string
func (*SendSignedActionBytesRequest) XXX_DiscardUnknown ¶
func (m *SendSignedActionBytesRequest) XXX_DiscardUnknown()
func (*SendSignedActionBytesRequest) XXX_Marshal ¶
func (m *SendSignedActionBytesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendSignedActionBytesRequest) XXX_Merge ¶
func (m *SendSignedActionBytesRequest) XXX_Merge(src proto.Message)
func (*SendSignedActionBytesRequest) XXX_Size ¶
func (m *SendSignedActionBytesRequest) XXX_Size() int
func (*SendSignedActionBytesRequest) XXX_Unmarshal ¶
func (m *SendSignedActionBytesRequest) XXX_Unmarshal(b []byte) error
type StreamBlocksRequest ¶
type StreamBlocksRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
below are streaming APIs
func (*StreamBlocksRequest) Descriptor ¶
func (*StreamBlocksRequest) Descriptor() ([]byte, []int)
func (*StreamBlocksRequest) ProtoMessage ¶
func (*StreamBlocksRequest) ProtoMessage()
func (*StreamBlocksRequest) Reset ¶
func (m *StreamBlocksRequest) Reset()
func (*StreamBlocksRequest) String ¶
func (m *StreamBlocksRequest) String() string
func (*StreamBlocksRequest) XXX_DiscardUnknown ¶
func (m *StreamBlocksRequest) XXX_DiscardUnknown()
func (*StreamBlocksRequest) XXX_Marshal ¶
func (m *StreamBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamBlocksRequest) XXX_Merge ¶
func (m *StreamBlocksRequest) XXX_Merge(src proto.Message)
func (*StreamBlocksRequest) XXX_Size ¶
func (m *StreamBlocksRequest) XXX_Size() int
func (*StreamBlocksRequest) XXX_Unmarshal ¶
func (m *StreamBlocksRequest) XXX_Unmarshal(b []byte) error
type StreamBlocksResponse ¶
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 ¶
func (*StreamBlocksResponse) Descriptor() ([]byte, []int)
func (*StreamBlocksResponse) GetBlock ¶
func (m *StreamBlocksResponse) GetBlock() *BlockInfo
func (*StreamBlocksResponse) ProtoMessage ¶
func (*StreamBlocksResponse) ProtoMessage()
func (*StreamBlocksResponse) Reset ¶
func (m *StreamBlocksResponse) Reset()
func (*StreamBlocksResponse) String ¶
func (m *StreamBlocksResponse) String() string
func (*StreamBlocksResponse) XXX_DiscardUnknown ¶
func (m *StreamBlocksResponse) XXX_DiscardUnknown()
func (*StreamBlocksResponse) XXX_Marshal ¶
func (m *StreamBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamBlocksResponse) XXX_Merge ¶
func (m *StreamBlocksResponse) XXX_Merge(src proto.Message)
func (*StreamBlocksResponse) XXX_Size ¶
func (m *StreamBlocksResponse) XXX_Size() int
func (*StreamBlocksResponse) XXX_Unmarshal ¶
func (m *StreamBlocksResponse) XXX_Unmarshal(b []byte) error
type StreamLogsRequest ¶
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 ¶
func (*StreamLogsRequest) Descriptor() ([]byte, []int)
func (*StreamLogsRequest) GetFilter ¶
func (m *StreamLogsRequest) GetFilter() *LogsFilter
func (*StreamLogsRequest) ProtoMessage ¶
func (*StreamLogsRequest) ProtoMessage()
func (*StreamLogsRequest) Reset ¶
func (m *StreamLogsRequest) Reset()
func (*StreamLogsRequest) String ¶
func (m *StreamLogsRequest) String() string
func (*StreamLogsRequest) XXX_DiscardUnknown ¶
func (m *StreamLogsRequest) XXX_DiscardUnknown()
func (*StreamLogsRequest) XXX_Marshal ¶
func (m *StreamLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamLogsRequest) XXX_Merge ¶
func (m *StreamLogsRequest) XXX_Merge(src proto.Message)
func (*StreamLogsRequest) XXX_Size ¶
func (m *StreamLogsRequest) XXX_Size() int
func (*StreamLogsRequest) XXX_Unmarshal ¶
func (m *StreamLogsRequest) XXX_Unmarshal(b []byte) error
type StreamLogsResponse ¶
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 ¶
func (*StreamLogsResponse) Descriptor() ([]byte, []int)
func (*StreamLogsResponse) GetLog ¶
func (m *StreamLogsResponse) GetLog() *iotextypes.Log
func (*StreamLogsResponse) ProtoMessage ¶
func (*StreamLogsResponse) ProtoMessage()
func (*StreamLogsResponse) Reset ¶
func (m *StreamLogsResponse) Reset()
func (*StreamLogsResponse) String ¶
func (m *StreamLogsResponse) String() string
func (*StreamLogsResponse) XXX_DiscardUnknown ¶
func (m *StreamLogsResponse) XXX_DiscardUnknown()
func (*StreamLogsResponse) XXX_Marshal ¶
func (m *StreamLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamLogsResponse) XXX_Merge ¶
func (m *StreamLogsResponse) XXX_Merge(src proto.Message)
func (*StreamLogsResponse) XXX_Size ¶
func (m *StreamLogsResponse) XXX_Size() int
func (*StreamLogsResponse) XXX_Unmarshal ¶
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 ¶
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 ¶
func (*Topics) ProtoMessage ¶
func (*Topics) ProtoMessage()
func (*Topics) XXX_DiscardUnknown ¶
func (m *Topics) XXX_DiscardUnknown()
func (*Topics) XXX_Marshal ¶
func (*Topics) XXX_Unmarshal ¶
type UnimplementedAPIServiceServer ¶
type UnimplementedAPIServiceServer struct { }
UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServiceServer) EstimateActionGasConsumption ¶
func (*UnimplementedAPIServiceServer) EstimateActionGasConsumption(ctx context.Context, req *EstimateActionGasConsumptionRequest) (*EstimateActionGasConsumptionResponse, error)
func (*UnimplementedAPIServiceServer) EstimateGasForAction ¶
func (*UnimplementedAPIServiceServer) EstimateGasForAction(ctx context.Context, req *EstimateGasForActionRequest) (*EstimateGasForActionResponse, error)
func (*UnimplementedAPIServiceServer) GetAccount ¶
func (*UnimplementedAPIServiceServer) GetAccount(ctx context.Context, req *GetAccountRequest) (*GetAccountResponse, error)
func (*UnimplementedAPIServiceServer) GetActions ¶
func (*UnimplementedAPIServiceServer) GetActions(ctx context.Context, req *GetActionsRequest) (*GetActionsResponse, error)
func (*UnimplementedAPIServiceServer) GetBlockMetas ¶
func (*UnimplementedAPIServiceServer) GetBlockMetas(ctx context.Context, req *GetBlockMetasRequest) (*GetBlockMetasResponse, error)
func (*UnimplementedAPIServiceServer) GetChainMeta ¶
func (*UnimplementedAPIServiceServer) GetChainMeta(ctx context.Context, req *GetChainMetaRequest) (*GetChainMetaResponse, error)
func (*UnimplementedAPIServiceServer) GetEpochMeta ¶
func (*UnimplementedAPIServiceServer) GetEpochMeta(ctx context.Context, req *GetEpochMetaRequest) (*GetEpochMetaResponse, error)
func (*UnimplementedAPIServiceServer) GetLogs ¶
func (*UnimplementedAPIServiceServer) GetLogs(ctx context.Context, req *GetLogsRequest) (*GetLogsResponse, error)
func (*UnimplementedAPIServiceServer) GetRawBlocks ¶
func (*UnimplementedAPIServiceServer) GetRawBlocks(ctx context.Context, req *GetRawBlocksRequest) (*GetRawBlocksResponse, error)
func (*UnimplementedAPIServiceServer) GetReceiptByAction ¶
func (*UnimplementedAPIServiceServer) GetReceiptByAction(ctx context.Context, req *GetReceiptByActionRequest) (*GetReceiptByActionResponse, error)
func (*UnimplementedAPIServiceServer) GetServerMeta ¶
func (*UnimplementedAPIServiceServer) GetServerMeta(ctx context.Context, req *GetServerMetaRequest) (*GetServerMetaResponse, error)
func (*UnimplementedAPIServiceServer) GetVotes ¶
func (*UnimplementedAPIServiceServer) GetVotes(ctx context.Context, req *GetVotesRequest) (*GetVotesResponse, error)
func (*UnimplementedAPIServiceServer) ReadContract ¶
func (*UnimplementedAPIServiceServer) ReadContract(ctx context.Context, req *ReadContractRequest) (*ReadContractResponse, error)
func (*UnimplementedAPIServiceServer) ReadState ¶
func (*UnimplementedAPIServiceServer) ReadState(ctx context.Context, req *ReadStateRequest) (*ReadStateResponse, error)
func (*UnimplementedAPIServiceServer) SendAction ¶
func (*UnimplementedAPIServiceServer) SendAction(ctx context.Context, req *SendActionRequest) (*SendActionResponse, error)
func (*UnimplementedAPIServiceServer) StreamBlocks ¶
func (*UnimplementedAPIServiceServer) StreamBlocks(req *StreamBlocksRequest, srv APIService_StreamBlocksServer) error
func (*UnimplementedAPIServiceServer) StreamLogs ¶
func (*UnimplementedAPIServiceServer) StreamLogs(req *StreamLogsRequest, srv APIService_StreamLogsServer) error
func (*UnimplementedAPIServiceServer) SuggestGasPrice ¶
func (*UnimplementedAPIServiceServer) SuggestGasPrice(ctx context.Context, req *SuggestGasPriceRequest) (*SuggestGasPriceResponse, error)