Documentation
¶
Overview ¶
Package iotexapi is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- 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)
- func RegisterTransactionLogServiceServer(s *grpc.Server, srv TransactionLogServiceServer)
- type APIServiceClient
- type APIServiceServer
- type APIService_StreamBlocksClient
- type APIService_StreamBlocksServer
- type APIService_StreamLogsClient
- type APIService_StreamLogsServer
- type ActionInfo
- func (*ActionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ActionInfo) GetActHash() string
- func (x *ActionInfo) GetAction() *iotextypes.Action
- func (x *ActionInfo) GetBlkHash() string
- func (x *ActionInfo) GetBlkHeight() uint64
- func (x *ActionInfo) GetGasFee() string
- func (x *ActionInfo) GetIndex() uint32
- func (x *ActionInfo) GetSender() string
- func (x *ActionInfo) GetTimestamp() *timestamppb.Timestamp
- func (*ActionInfo) ProtoMessage()
- func (x *ActionInfo) ProtoReflect() protoreflect.Message
- func (x *ActionInfo) Reset()
- func (x *ActionInfo) String() string
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInfo) GetBlock() *iotextypes.Block
- func (x *BlockInfo) GetReceipts() []*iotextypes.Receipt
- func (x *BlockInfo) GetTransactionLogs() *iotextypes.TransactionLogs
- func (*BlockInfo) ProtoMessage()
- func (x *BlockInfo) ProtoReflect() protoreflect.Message
- func (x *BlockInfo) Reset()
- func (x *BlockInfo) String() string
- type BlockProducerInfo
- func (*BlockProducerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlockProducerInfo) GetActive() bool
- func (x *BlockProducerInfo) GetAddress() string
- func (x *BlockProducerInfo) GetProduction() uint64
- func (x *BlockProducerInfo) GetVotes() string
- func (*BlockProducerInfo) ProtoMessage()
- func (x *BlockProducerInfo) ProtoReflect() protoreflect.Message
- func (x *BlockProducerInfo) Reset()
- func (x *BlockProducerInfo) String() string
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetRemainingDuration() string
- func (x *Bucket) GetVoter() string
- func (x *Bucket) GetVotes() string
- func (x *Bucket) GetWeightedVotes() string
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type EstimateActionGasConsumptionRequest
- func (*EstimateActionGasConsumptionRequest) Descriptor() ([]byte, []int)deprecated
- func (m *EstimateActionGasConsumptionRequest) GetAction() isEstimateActionGasConsumptionRequest_Action
- func (x *EstimateActionGasConsumptionRequest) GetCallerAddress() string
- func (x *EstimateActionGasConsumptionRequest) GetCandidateRegister() *iotextypes.CandidateRegister
- func (x *EstimateActionGasConsumptionRequest) GetCandidateUpdate() *iotextypes.CandidateBasicInfo
- func (x *EstimateActionGasConsumptionRequest) GetExecution() *iotextypes.Execution
- func (x *EstimateActionGasConsumptionRequest) GetStakeAddDeposit() *iotextypes.StakeAddDeposit
- func (x *EstimateActionGasConsumptionRequest) GetStakeChangeCandidate() *iotextypes.StakeChangeCandidate
- func (x *EstimateActionGasConsumptionRequest) GetStakeCreate() *iotextypes.StakeCreate
- func (x *EstimateActionGasConsumptionRequest) GetStakeRestake() *iotextypes.StakeRestake
- func (x *EstimateActionGasConsumptionRequest) GetStakeTransferOwnership() *iotextypes.StakeTransferOwnership
- func (x *EstimateActionGasConsumptionRequest) GetStakeUnstake() *iotextypes.StakeReclaim
- func (x *EstimateActionGasConsumptionRequest) GetStakeWithdraw() *iotextypes.StakeReclaim
- func (x *EstimateActionGasConsumptionRequest) GetTransfer() *iotextypes.Transfer
- func (*EstimateActionGasConsumptionRequest) ProtoMessage()
- func (x *EstimateActionGasConsumptionRequest) ProtoReflect() protoreflect.Message
- func (x *EstimateActionGasConsumptionRequest) Reset()
- func (x *EstimateActionGasConsumptionRequest) String() string
- type EstimateActionGasConsumptionRequest_CandidateRegister
- type EstimateActionGasConsumptionRequest_CandidateUpdate
- type EstimateActionGasConsumptionRequest_Execution
- type EstimateActionGasConsumptionRequest_StakeAddDeposit
- type EstimateActionGasConsumptionRequest_StakeChangeCandidate
- type EstimateActionGasConsumptionRequest_StakeCreate
- type EstimateActionGasConsumptionRequest_StakeRestake
- type EstimateActionGasConsumptionRequest_StakeTransferOwnership
- type EstimateActionGasConsumptionRequest_StakeUnstake
- type EstimateActionGasConsumptionRequest_StakeWithdraw
- type EstimateActionGasConsumptionRequest_Transfer
- type EstimateActionGasConsumptionResponse
- func (*EstimateActionGasConsumptionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateActionGasConsumptionResponse) GetGas() uint64
- func (*EstimateActionGasConsumptionResponse) ProtoMessage()
- func (x *EstimateActionGasConsumptionResponse) ProtoReflect() protoreflect.Message
- func (x *EstimateActionGasConsumptionResponse) Reset()
- func (x *EstimateActionGasConsumptionResponse) String() string
- type EstimateGasForActionRequest
- func (*EstimateGasForActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateGasForActionRequest) GetAction() *iotextypes.Action
- func (*EstimateGasForActionRequest) ProtoMessage()
- func (x *EstimateGasForActionRequest) ProtoReflect() protoreflect.Message
- func (x *EstimateGasForActionRequest) Reset()
- func (x *EstimateGasForActionRequest) String() string
- type EstimateGasForActionResponse
- func (*EstimateGasForActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateGasForActionResponse) GetGas() uint64
- func (*EstimateGasForActionResponse) ProtoMessage()
- func (x *EstimateGasForActionResponse) ProtoReflect() protoreflect.Message
- func (x *EstimateGasForActionResponse) Reset()
- func (x *EstimateGasForActionResponse) String() string
- type GetAccountRequest
- type GetAccountResponse
- func (*GetAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountResponse) GetAccountMeta() *iotextypes.AccountMeta
- func (x *GetAccountResponse) GetBlockIdentifier() *iotextypes.BlockIdentifier
- func (*GetAccountResponse) ProtoMessage()
- func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountResponse) Reset()
- func (x *GetAccountResponse) String() string
- type GetActPoolActionsRequest
- func (*GetActPoolActionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActPoolActionsRequest) GetActionHashes() []string
- func (*GetActPoolActionsRequest) ProtoMessage()
- func (x *GetActPoolActionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetActPoolActionsRequest) Reset()
- func (x *GetActPoolActionsRequest) String() string
- type GetActPoolActionsResponse
- func (*GetActPoolActionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActPoolActionsResponse) GetActions() []*iotextypes.Action
- func (*GetActPoolActionsResponse) ProtoMessage()
- func (x *GetActPoolActionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetActPoolActionsResponse) Reset()
- func (x *GetActPoolActionsResponse) String() string
- type GetActionByHashRequest
- func (*GetActionByHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActionByHashRequest) GetActionHash() string
- func (x *GetActionByHashRequest) GetCheckPending() bool
- func (*GetActionByHashRequest) ProtoMessage()
- func (x *GetActionByHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetActionByHashRequest) Reset()
- func (x *GetActionByHashRequest) String() string
- type GetActionsByAddressRequest
- func (*GetActionsByAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActionsByAddressRequest) GetAddress() string
- func (x *GetActionsByAddressRequest) GetCount() uint64
- func (x *GetActionsByAddressRequest) GetStart() uint64
- func (*GetActionsByAddressRequest) ProtoMessage()
- func (x *GetActionsByAddressRequest) ProtoReflect() protoreflect.Message
- func (x *GetActionsByAddressRequest) Reset()
- func (x *GetActionsByAddressRequest) String() string
- type GetActionsByBlockRequest
- func (*GetActionsByBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActionsByBlockRequest) GetBlkHash() string
- func (x *GetActionsByBlockRequest) GetCount() uint64
- func (x *GetActionsByBlockRequest) GetStart() uint64
- func (*GetActionsByBlockRequest) ProtoMessage()
- func (x *GetActionsByBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetActionsByBlockRequest) Reset()
- func (x *GetActionsByBlockRequest) String() string
- type GetActionsByIndexRequest
- func (*GetActionsByIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActionsByIndexRequest) GetCount() uint64
- func (x *GetActionsByIndexRequest) GetStart() uint64
- func (*GetActionsByIndexRequest) ProtoMessage()
- func (x *GetActionsByIndexRequest) ProtoReflect() protoreflect.Message
- func (x *GetActionsByIndexRequest) Reset()
- func (x *GetActionsByIndexRequest) String() string
- type GetActionsRequest
- func (*GetActionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActionsRequest) GetByAddr() *GetActionsByAddressRequest
- func (x *GetActionsRequest) GetByBlk() *GetActionsByBlockRequest
- func (x *GetActionsRequest) GetByHash() *GetActionByHashRequest
- func (x *GetActionsRequest) GetByIndex() *GetActionsByIndexRequest
- func (m *GetActionsRequest) GetLookup() isGetActionsRequest_Lookup
- func (x *GetActionsRequest) GetUnconfirmedByAddr() *GetUnconfirmedActionsByAddressRequest
- func (*GetActionsRequest) ProtoMessage()
- func (x *GetActionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetActionsRequest) Reset()
- func (x *GetActionsRequest) String() string
- type GetActionsRequest_ByAddr
- type GetActionsRequest_ByBlk
- type GetActionsRequest_ByHash
- type GetActionsRequest_ByIndex
- type GetActionsRequest_UnconfirmedByAddr
- type GetActionsResponse
- func (*GetActionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActionsResponse) GetActionInfo() []*ActionInfo
- func (x *GetActionsResponse) GetTotal() uint64
- func (*GetActionsResponse) ProtoMessage()
- func (x *GetActionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetActionsResponse) Reset()
- func (x *GetActionsResponse) String() string
- type GetBlockMetaByHashRequest
- func (*GetBlockMetaByHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockMetaByHashRequest) GetBlkHash() string
- func (*GetBlockMetaByHashRequest) ProtoMessage()
- func (x *GetBlockMetaByHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockMetaByHashRequest) Reset()
- func (x *GetBlockMetaByHashRequest) String() string
- type GetBlockMetasByIndexRequest
- func (*GetBlockMetasByIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockMetasByIndexRequest) GetCount() uint64
- func (x *GetBlockMetasByIndexRequest) GetStart() uint64
- func (*GetBlockMetasByIndexRequest) ProtoMessage()
- func (x *GetBlockMetasByIndexRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockMetasByIndexRequest) Reset()
- func (x *GetBlockMetasByIndexRequest) String() string
- type GetBlockMetasRequest
- func (*GetBlockMetasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockMetasRequest) GetByHash() *GetBlockMetaByHashRequest
- func (x *GetBlockMetasRequest) GetByIndex() *GetBlockMetasByIndexRequest
- func (m *GetBlockMetasRequest) GetLookup() isGetBlockMetasRequest_Lookup
- func (*GetBlockMetasRequest) ProtoMessage()
- func (x *GetBlockMetasRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockMetasRequest) Reset()
- func (x *GetBlockMetasRequest) String() string
- type GetBlockMetasRequest_ByHash
- type GetBlockMetasRequest_ByIndex
- type GetBlockMetasResponse
- func (*GetBlockMetasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockMetasResponse) GetBlkMetas() []*iotextypes.BlockMeta
- func (x *GetBlockMetasResponse) GetTotal() uint64
- func (*GetBlockMetasResponse) ProtoMessage()
- func (x *GetBlockMetasResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockMetasResponse) Reset()
- func (x *GetBlockMetasResponse) String() string
- type GetChainMetaRequest
- type GetChainMetaResponse
- func (*GetChainMetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChainMetaResponse) GetChainMeta() *iotextypes.ChainMeta
- func (x *GetChainMetaResponse) GetSyncStage() string
- func (*GetChainMetaResponse) ProtoMessage()
- func (x *GetChainMetaResponse) ProtoReflect() protoreflect.Message
- func (x *GetChainMetaResponse) Reset()
- func (x *GetChainMetaResponse) String() string
- type GetElectionBucketsRequest
- func (*GetElectionBucketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetElectionBucketsRequest) GetEpochNum() uint64
- func (*GetElectionBucketsRequest) ProtoMessage()
- func (x *GetElectionBucketsRequest) ProtoReflect() protoreflect.Message
- func (x *GetElectionBucketsRequest) Reset()
- func (x *GetElectionBucketsRequest) String() string
- type GetElectionBucketsResponse
- func (*GetElectionBucketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetElectionBucketsResponse) GetBuckets() []*iotextypes.ElectionBucket
- func (*GetElectionBucketsResponse) ProtoMessage()
- func (x *GetElectionBucketsResponse) ProtoReflect() protoreflect.Message
- func (x *GetElectionBucketsResponse) Reset()
- func (x *GetElectionBucketsResponse) String() string
- type GetEpochMetaRequest
- func (*GetEpochMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEpochMetaRequest) GetEpochNumber() uint64
- func (*GetEpochMetaRequest) ProtoMessage()
- func (x *GetEpochMetaRequest) ProtoReflect() protoreflect.Message
- func (x *GetEpochMetaRequest) Reset()
- func (x *GetEpochMetaRequest) String() string
- type GetEpochMetaResponse
- func (*GetEpochMetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEpochMetaResponse) GetBlockProducersInfo() []*BlockProducerInfo
- func (x *GetEpochMetaResponse) GetEpochData() *iotextypes.EpochData
- func (x *GetEpochMetaResponse) GetTotalBlocks() uint64
- func (*GetEpochMetaResponse) ProtoMessage()
- func (x *GetEpochMetaResponse) ProtoReflect() protoreflect.Message
- func (x *GetEpochMetaResponse) Reset()
- func (x *GetEpochMetaResponse) String() string
- type GetEvmTransfersByActionHashRequest
- func (*GetEvmTransfersByActionHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEvmTransfersByActionHashRequest) GetActionHash() string
- func (*GetEvmTransfersByActionHashRequest) ProtoMessage()
- func (x *GetEvmTransfersByActionHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetEvmTransfersByActionHashRequest) Reset()
- func (x *GetEvmTransfersByActionHashRequest) String() string
- type GetEvmTransfersByActionHashResponse
- func (*GetEvmTransfersByActionHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEvmTransfersByActionHashResponse) GetActionEvmTransfers() *iotextypes.ActionEvmTransfer
- func (*GetEvmTransfersByActionHashResponse) ProtoMessage()
- func (x *GetEvmTransfersByActionHashResponse) ProtoReflect() protoreflect.Message
- func (x *GetEvmTransfersByActionHashResponse) Reset()
- func (x *GetEvmTransfersByActionHashResponse) String() string
- type GetEvmTransfersByBlockHeightRequest
- func (*GetEvmTransfersByBlockHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEvmTransfersByBlockHeightRequest) GetBlockHeight() uint64
- func (*GetEvmTransfersByBlockHeightRequest) ProtoMessage()
- func (x *GetEvmTransfersByBlockHeightRequest) ProtoReflect() protoreflect.Message
- func (x *GetEvmTransfersByBlockHeightRequest) Reset()
- func (x *GetEvmTransfersByBlockHeightRequest) String() string
- type GetEvmTransfersByBlockHeightResponse
- func (*GetEvmTransfersByBlockHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEvmTransfersByBlockHeightResponse) GetBlockEvmTransfers() *iotextypes.BlockEvmTransfer
- func (*GetEvmTransfersByBlockHeightResponse) ProtoMessage()
- func (x *GetEvmTransfersByBlockHeightResponse) ProtoReflect() protoreflect.Message
- func (x *GetEvmTransfersByBlockHeightResponse) Reset()
- func (x *GetEvmTransfersByBlockHeightResponse) String() string
- type GetLogsByBlock
- type GetLogsByRange
- func (*GetLogsByRange) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsByRange) GetFromBlock() uint64
- func (x *GetLogsByRange) GetPaginationSize() uint64
- func (x *GetLogsByRange) GetToBlock() uint64
- func (*GetLogsByRange) ProtoMessage()
- func (x *GetLogsByRange) ProtoReflect() protoreflect.Message
- func (x *GetLogsByRange) Reset()
- func (x *GetLogsByRange) String() string
- type GetLogsRequest
- func (*GetLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsRequest) GetByBlock() *GetLogsByBlock
- func (x *GetLogsRequest) GetByRange() *GetLogsByRange
- func (x *GetLogsRequest) GetFilter() *LogsFilter
- func (m *GetLogsRequest) GetLookup() isGetLogsRequest_Lookup
- func (*GetLogsRequest) ProtoMessage()
- func (x *GetLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogsRequest) Reset()
- func (x *GetLogsRequest) String() string
- type GetLogsRequest_ByBlock
- type GetLogsRequest_ByRange
- type GetLogsResponse
- type GetRawBlocksRequest
- func (*GetRawBlocksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawBlocksRequest) GetCount() uint64
- func (x *GetRawBlocksRequest) GetStartHeight() uint64
- func (x *GetRawBlocksRequest) GetWithReceipts() bool
- func (x *GetRawBlocksRequest) GetWithTransactionLogs() bool
- func (*GetRawBlocksRequest) ProtoMessage()
- func (x *GetRawBlocksRequest) ProtoReflect() protoreflect.Message
- func (x *GetRawBlocksRequest) Reset()
- func (x *GetRawBlocksRequest) String() string
- type GetRawBlocksResponse
- func (*GetRawBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawBlocksResponse) GetBlocks() []*BlockInfo
- func (*GetRawBlocksResponse) ProtoMessage()
- func (x *GetRawBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *GetRawBlocksResponse) Reset()
- func (x *GetRawBlocksResponse) String() string
- type GetReceiptByActionRequest
- func (*GetReceiptByActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReceiptByActionRequest) GetActionHash() string
- func (*GetReceiptByActionRequest) ProtoMessage()
- func (x *GetReceiptByActionRequest) ProtoReflect() protoreflect.Message
- func (x *GetReceiptByActionRequest) Reset()
- func (x *GetReceiptByActionRequest) String() string
- type GetReceiptByActionResponse
- func (*GetReceiptByActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReceiptByActionResponse) GetReceiptInfo() *ReceiptInfo
- func (*GetReceiptByActionResponse) ProtoMessage()
- func (x *GetReceiptByActionResponse) ProtoReflect() protoreflect.Message
- func (x *GetReceiptByActionResponse) Reset()
- func (x *GetReceiptByActionResponse) String() string
- type GetServerMetaRequest
- type GetServerMetaResponse
- func (*GetServerMetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerMetaResponse) GetServerMeta() *iotextypes.ServerMeta
- func (*GetServerMetaResponse) ProtoMessage()
- func (x *GetServerMetaResponse) ProtoReflect() protoreflect.Message
- func (x *GetServerMetaResponse) Reset()
- func (x *GetServerMetaResponse) String() string
- type GetTransactionLogByActionHashRequest
- func (*GetTransactionLogByActionHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionLogByActionHashRequest) GetActionHash() string
- func (*GetTransactionLogByActionHashRequest) ProtoMessage()
- func (x *GetTransactionLogByActionHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionLogByActionHashRequest) Reset()
- func (x *GetTransactionLogByActionHashRequest) String() string
- type GetTransactionLogByActionHashResponse
- func (*GetTransactionLogByActionHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionLogByActionHashResponse) GetTransactionLog() *iotextypes.TransactionLog
- func (*GetTransactionLogByActionHashResponse) ProtoMessage()
- func (x *GetTransactionLogByActionHashResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionLogByActionHashResponse) Reset()
- func (x *GetTransactionLogByActionHashResponse) String() string
- type GetTransactionLogByBlockHeightRequest
- func (*GetTransactionLogByBlockHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionLogByBlockHeightRequest) GetBlockHeight() uint64
- func (*GetTransactionLogByBlockHeightRequest) ProtoMessage()
- func (x *GetTransactionLogByBlockHeightRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionLogByBlockHeightRequest) Reset()
- func (x *GetTransactionLogByBlockHeightRequest) String() string
- type GetTransactionLogByBlockHeightResponse
- func (*GetTransactionLogByBlockHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionLogByBlockHeightResponse) GetBlockIdentifier() *iotextypes.BlockIdentifier
- func (x *GetTransactionLogByBlockHeightResponse) GetTransactionLogs() *iotextypes.TransactionLogs
- func (*GetTransactionLogByBlockHeightResponse) ProtoMessage()
- func (x *GetTransactionLogByBlockHeightResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionLogByBlockHeightResponse) Reset()
- func (x *GetTransactionLogByBlockHeightResponse) String() string
- type GetUnconfirmedActionsByAddressRequest
- func (*GetUnconfirmedActionsByAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnconfirmedActionsByAddressRequest) GetAddress() string
- func (x *GetUnconfirmedActionsByAddressRequest) GetCount() uint64
- func (x *GetUnconfirmedActionsByAddressRequest) GetStart() uint64
- func (*GetUnconfirmedActionsByAddressRequest) ProtoMessage()
- func (x *GetUnconfirmedActionsByAddressRequest) ProtoReflect() protoreflect.Message
- func (x *GetUnconfirmedActionsByAddressRequest) Reset()
- func (x *GetUnconfirmedActionsByAddressRequest) String() string
- type LogsFilter
- func (*LogsFilter) Descriptor() ([]byte, []int)deprecated
- func (x *LogsFilter) GetAddress() []string
- func (x *LogsFilter) GetTopics() []*Topics
- func (*LogsFilter) ProtoMessage()
- func (x *LogsFilter) ProtoReflect() protoreflect.Message
- func (x *LogsFilter) Reset()
- func (x *LogsFilter) String() string
- type PaginationParam
- func (*PaginationParam) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationParam) GetLimit() uint32
- func (x *PaginationParam) GetOffset() uint32
- func (*PaginationParam) ProtoMessage()
- func (x *PaginationParam) ProtoReflect() protoreflect.Message
- func (x *PaginationParam) Reset()
- func (x *PaginationParam) String() string
- type ReadContractRequest
- func (*ReadContractRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadContractRequest) GetCallerAddress() string
- func (x *ReadContractRequest) GetExecution() *iotextypes.Execution
- func (x *ReadContractRequest) GetGasLimit() uint64
- func (x *ReadContractRequest) GetGasPrice() string
- func (*ReadContractRequest) ProtoMessage()
- func (x *ReadContractRequest) ProtoReflect() protoreflect.Message
- func (x *ReadContractRequest) Reset()
- func (x *ReadContractRequest) String() string
- type ReadContractResponse
- func (*ReadContractResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadContractResponse) GetData() string
- func (x *ReadContractResponse) GetReceipt() *iotextypes.Receipt
- func (*ReadContractResponse) ProtoMessage()
- func (x *ReadContractResponse) ProtoReflect() protoreflect.Message
- func (x *ReadContractResponse) Reset()
- func (x *ReadContractResponse) String() string
- type ReadContractStorageRequest
- func (*ReadContractStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadContractStorageRequest) GetContract() string
- func (x *ReadContractStorageRequest) GetKey() []byte
- func (*ReadContractStorageRequest) ProtoMessage()
- func (x *ReadContractStorageRequest) ProtoReflect() protoreflect.Message
- func (x *ReadContractStorageRequest) Reset()
- func (x *ReadContractStorageRequest) String() string
- type ReadContractStorageResponse
- func (*ReadContractStorageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadContractStorageResponse) GetData() []byte
- func (*ReadContractStorageResponse) ProtoMessage()
- func (x *ReadContractStorageResponse) ProtoReflect() protoreflect.Message
- func (x *ReadContractStorageResponse) Reset()
- func (x *ReadContractStorageResponse) String() string
- type ReadStakingDataMethod
- func (*ReadStakingDataMethod) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStakingDataMethod) GetMethod() ReadStakingDataMethod_Name
- func (*ReadStakingDataMethod) ProtoMessage()
- func (x *ReadStakingDataMethod) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataMethod) Reset()
- func (x *ReadStakingDataMethod) String() string
- type ReadStakingDataMethod_Name
- func (ReadStakingDataMethod_Name) Descriptor() protoreflect.EnumDescriptor
- func (x ReadStakingDataMethod_Name) Enum() *ReadStakingDataMethod_Name
- func (ReadStakingDataMethod_Name) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReadStakingDataMethod_Name) Number() protoreflect.EnumNumber
- func (x ReadStakingDataMethod_Name) String() string
- func (ReadStakingDataMethod_Name) Type() protoreflect.EnumType
- type ReadStakingDataRequest
- func (*ReadStakingDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStakingDataRequest) GetBuckets() *ReadStakingDataRequest_VoteBuckets
- func (x *ReadStakingDataRequest) GetBucketsByCandidate() *ReadStakingDataRequest_VoteBucketsByCandidate
- func (x *ReadStakingDataRequest) GetBucketsByIndexes() *ReadStakingDataRequest_VoteBucketsByIndexes
- func (x *ReadStakingDataRequest) GetBucketsByVoter() *ReadStakingDataRequest_VoteBucketsByVoter
- func (x *ReadStakingDataRequest) GetBucketsCount() *ReadStakingDataRequest_BucketsCount
- func (x *ReadStakingDataRequest) GetCandidateByAddress() *ReadStakingDataRequest_CandidateByAddress
- func (x *ReadStakingDataRequest) GetCandidateByName() *ReadStakingDataRequest_CandidateByName
- func (x *ReadStakingDataRequest) GetCandidates() *ReadStakingDataRequest_Candidates
- func (m *ReadStakingDataRequest) GetRequest() isReadStakingDataRequest_Request
- func (x *ReadStakingDataRequest) GetTotalStakingAmount() *ReadStakingDataRequest_TotalStakingAmount
- func (*ReadStakingDataRequest) ProtoMessage()
- func (x *ReadStakingDataRequest) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest) Reset()
- func (x *ReadStakingDataRequest) String() string
- type ReadStakingDataRequest_Buckets
- type ReadStakingDataRequest_BucketsByCandidate
- type ReadStakingDataRequest_BucketsByIndexes
- type ReadStakingDataRequest_BucketsByVoter
- type ReadStakingDataRequest_BucketsCount
- func (*ReadStakingDataRequest_BucketsCount) Descriptor() ([]byte, []int)deprecated
- func (*ReadStakingDataRequest_BucketsCount) ProtoMessage()
- func (x *ReadStakingDataRequest_BucketsCount) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest_BucketsCount) Reset()
- func (x *ReadStakingDataRequest_BucketsCount) String() string
- type ReadStakingDataRequest_BucketsCount_
- type ReadStakingDataRequest_CandidateByAddress
- func (*ReadStakingDataRequest_CandidateByAddress) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStakingDataRequest_CandidateByAddress) GetOwnerAddr() string
- func (*ReadStakingDataRequest_CandidateByAddress) ProtoMessage()
- func (x *ReadStakingDataRequest_CandidateByAddress) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest_CandidateByAddress) Reset()
- func (x *ReadStakingDataRequest_CandidateByAddress) String() string
- type ReadStakingDataRequest_CandidateByAddress_
- type ReadStakingDataRequest_CandidateByName
- func (*ReadStakingDataRequest_CandidateByName) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStakingDataRequest_CandidateByName) GetCandName() string
- func (*ReadStakingDataRequest_CandidateByName) ProtoMessage()
- func (x *ReadStakingDataRequest_CandidateByName) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest_CandidateByName) Reset()
- func (x *ReadStakingDataRequest_CandidateByName) String() string
- type ReadStakingDataRequest_CandidateByName_
- type ReadStakingDataRequest_Candidates
- func (*ReadStakingDataRequest_Candidates) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStakingDataRequest_Candidates) GetPagination() *PaginationParam
- func (*ReadStakingDataRequest_Candidates) ProtoMessage()
- func (x *ReadStakingDataRequest_Candidates) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest_Candidates) Reset()
- func (x *ReadStakingDataRequest_Candidates) String() string
- type ReadStakingDataRequest_Candidates_
- type ReadStakingDataRequest_TotalStakingAmount
- func (*ReadStakingDataRequest_TotalStakingAmount) Descriptor() ([]byte, []int)deprecated
- func (*ReadStakingDataRequest_TotalStakingAmount) ProtoMessage()
- func (x *ReadStakingDataRequest_TotalStakingAmount) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest_TotalStakingAmount) Reset()
- func (x *ReadStakingDataRequest_TotalStakingAmount) String() string
- type ReadStakingDataRequest_TotalStakingAmount_
- type ReadStakingDataRequest_VoteBuckets
- func (*ReadStakingDataRequest_VoteBuckets) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStakingDataRequest_VoteBuckets) GetPagination() *PaginationParam
- func (*ReadStakingDataRequest_VoteBuckets) ProtoMessage()
- func (x *ReadStakingDataRequest_VoteBuckets) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest_VoteBuckets) Reset()
- func (x *ReadStakingDataRequest_VoteBuckets) String() string
- type ReadStakingDataRequest_VoteBucketsByCandidate
- func (*ReadStakingDataRequest_VoteBucketsByCandidate) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStakingDataRequest_VoteBucketsByCandidate) GetCandName() string
- func (x *ReadStakingDataRequest_VoteBucketsByCandidate) GetPagination() *PaginationParam
- func (*ReadStakingDataRequest_VoteBucketsByCandidate) ProtoMessage()
- func (x *ReadStakingDataRequest_VoteBucketsByCandidate) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest_VoteBucketsByCandidate) Reset()
- func (x *ReadStakingDataRequest_VoteBucketsByCandidate) String() string
- type ReadStakingDataRequest_VoteBucketsByIndexes
- func (*ReadStakingDataRequest_VoteBucketsByIndexes) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStakingDataRequest_VoteBucketsByIndexes) GetIndex() []uint64
- func (*ReadStakingDataRequest_VoteBucketsByIndexes) ProtoMessage()
- func (x *ReadStakingDataRequest_VoteBucketsByIndexes) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest_VoteBucketsByIndexes) Reset()
- func (x *ReadStakingDataRequest_VoteBucketsByIndexes) String() string
- type ReadStakingDataRequest_VoteBucketsByVoter
- func (*ReadStakingDataRequest_VoteBucketsByVoter) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStakingDataRequest_VoteBucketsByVoter) GetPagination() *PaginationParam
- func (x *ReadStakingDataRequest_VoteBucketsByVoter) GetVoterAddress() string
- func (*ReadStakingDataRequest_VoteBucketsByVoter) ProtoMessage()
- func (x *ReadStakingDataRequest_VoteBucketsByVoter) ProtoReflect() protoreflect.Message
- func (x *ReadStakingDataRequest_VoteBucketsByVoter) Reset()
- func (x *ReadStakingDataRequest_VoteBucketsByVoter) String() string
- type ReadStateRequest
- func (*ReadStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStateRequest) GetArguments() [][]byte
- func (x *ReadStateRequest) GetHeight() string
- func (x *ReadStateRequest) GetMethodName() []byte
- func (x *ReadStateRequest) GetProtocolID() []byte
- func (*ReadStateRequest) ProtoMessage()
- func (x *ReadStateRequest) ProtoReflect() protoreflect.Message
- func (x *ReadStateRequest) Reset()
- func (x *ReadStateRequest) String() string
- type ReadStateResponse
- func (*ReadStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadStateResponse) GetBlockIdentifier() *iotextypes.BlockIdentifier
- func (x *ReadStateResponse) GetData() []byte
- func (*ReadStateResponse) ProtoMessage()
- func (x *ReadStateResponse) ProtoReflect() protoreflect.Message
- func (x *ReadStateResponse) Reset()
- func (x *ReadStateResponse) String() string
- type ReceiptInfo
- func (*ReceiptInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptInfo) GetBlkHash() string
- func (x *ReceiptInfo) GetReceipt() *iotextypes.Receipt
- func (*ReceiptInfo) ProtoMessage()
- func (x *ReceiptInfo) ProtoReflect() protoreflect.Message
- func (x *ReceiptInfo) Reset()
- func (x *ReceiptInfo) String() string
- type SendActionRequest
- func (*SendActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendActionRequest) GetAction() *iotextypes.Action
- func (*SendActionRequest) ProtoMessage()
- func (x *SendActionRequest) ProtoReflect() protoreflect.Message
- func (x *SendActionRequest) Reset()
- func (x *SendActionRequest) String() string
- type SendActionResponse
- func (*SendActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendActionResponse) GetActionHash() string
- func (*SendActionResponse) ProtoMessage()
- func (x *SendActionResponse) ProtoReflect() protoreflect.Message
- func (x *SendActionResponse) Reset()
- func (x *SendActionResponse) String() string
- type SendSignedActionBytesRequest
- func (*SendSignedActionBytesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendSignedActionBytesRequest) GetSignedActionBytes() string
- func (*SendSignedActionBytesRequest) ProtoMessage()
- func (x *SendSignedActionBytesRequest) ProtoReflect() protoreflect.Message
- func (x *SendSignedActionBytesRequest) Reset()
- func (x *SendSignedActionBytesRequest) String() string
- type StreamBlocksRequest
- type StreamBlocksResponse
- func (*StreamBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamBlocksResponse) GetBlock() *BlockInfo
- func (x *StreamBlocksResponse) GetBlockIdentifier() *iotextypes.BlockIdentifier
- func (*StreamBlocksResponse) ProtoMessage()
- func (x *StreamBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *StreamBlocksResponse) Reset()
- func (x *StreamBlocksResponse) String() string
- type StreamLogsRequest
- func (*StreamLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamLogsRequest) GetFilter() *LogsFilter
- func (*StreamLogsRequest) ProtoMessage()
- func (x *StreamLogsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamLogsRequest) Reset()
- func (x *StreamLogsRequest) String() string
- type StreamLogsResponse
- func (*StreamLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamLogsResponse) GetLog() *iotextypes.Log
- func (*StreamLogsResponse) ProtoMessage()
- func (x *StreamLogsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamLogsResponse) Reset()
- func (x *StreamLogsResponse) String() string
- type SuggestGasPriceRequest
- type SuggestGasPriceResponse
- func (*SuggestGasPriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SuggestGasPriceResponse) GetGasPrice() uint64
- func (*SuggestGasPriceResponse) ProtoMessage()
- func (x *SuggestGasPriceResponse) ProtoReflect() protoreflect.Message
- func (x *SuggestGasPriceResponse) Reset()
- func (x *SuggestGasPriceResponse) String() string
- type Topics
- type TraceTransactionStructLogsRequest
- func (*TraceTransactionStructLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TraceTransactionStructLogsRequest) GetActionHash() string
- func (*TraceTransactionStructLogsRequest) ProtoMessage()
- func (x *TraceTransactionStructLogsRequest) ProtoReflect() protoreflect.Message
- func (x *TraceTransactionStructLogsRequest) Reset()
- func (x *TraceTransactionStructLogsRequest) String() string
- type TraceTransactionStructLogsResponse
- func (*TraceTransactionStructLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TraceTransactionStructLogsResponse) GetStructLogs() []*iotextypes.TransactionStructLog
- func (*TraceTransactionStructLogsResponse) ProtoMessage()
- func (x *TraceTransactionStructLogsResponse) ProtoReflect() protoreflect.Message
- func (x *TraceTransactionStructLogsResponse) Reset()
- func (x *TraceTransactionStructLogsResponse) String() string
- type TransactionLogServiceClient
- type TransactionLogServiceServer
- type UnimplementedAPIServiceServer
- func (*UnimplementedAPIServiceServer) EstimateActionGasConsumption(context.Context, *EstimateActionGasConsumptionRequest) (*EstimateActionGasConsumptionResponse, error)
- func (*UnimplementedAPIServiceServer) EstimateGasForAction(context.Context, *EstimateGasForActionRequest) (*EstimateGasForActionResponse, error)
- func (*UnimplementedAPIServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
- func (*UnimplementedAPIServiceServer) GetActPoolActions(context.Context, *GetActPoolActionsRequest) (*GetActPoolActionsResponse, error)
- func (*UnimplementedAPIServiceServer) GetActions(context.Context, *GetActionsRequest) (*GetActionsResponse, error)
- func (*UnimplementedAPIServiceServer) GetBlockMetas(context.Context, *GetBlockMetasRequest) (*GetBlockMetasResponse, error)
- func (*UnimplementedAPIServiceServer) GetChainMeta(context.Context, *GetChainMetaRequest) (*GetChainMetaResponse, error)
- func (*UnimplementedAPIServiceServer) GetElectionBuckets(context.Context, *GetElectionBucketsRequest) (*GetElectionBucketsResponse, error)
- func (*UnimplementedAPIServiceServer) GetEpochMeta(context.Context, *GetEpochMetaRequest) (*GetEpochMetaResponse, error)
- func (*UnimplementedAPIServiceServer) GetEvmTransfersByActionHash(context.Context, *GetEvmTransfersByActionHashRequest) (*GetEvmTransfersByActionHashResponse, error)
- func (*UnimplementedAPIServiceServer) GetEvmTransfersByBlockHeight(context.Context, *GetEvmTransfersByBlockHeightRequest) (*GetEvmTransfersByBlockHeightResponse, error)
- func (*UnimplementedAPIServiceServer) GetLogs(context.Context, *GetLogsRequest) (*GetLogsResponse, error)
- func (*UnimplementedAPIServiceServer) GetRawBlocks(context.Context, *GetRawBlocksRequest) (*GetRawBlocksResponse, error)
- func (*UnimplementedAPIServiceServer) GetReceiptByAction(context.Context, *GetReceiptByActionRequest) (*GetReceiptByActionResponse, error)
- func (*UnimplementedAPIServiceServer) GetServerMeta(context.Context, *GetServerMetaRequest) (*GetServerMetaResponse, error)
- func (*UnimplementedAPIServiceServer) GetTransactionLogByActionHash(context.Context, *GetTransactionLogByActionHashRequest) (*GetTransactionLogByActionHashResponse, error)
- func (*UnimplementedAPIServiceServer) GetTransactionLogByBlockHeight(context.Context, *GetTransactionLogByBlockHeightRequest) (*GetTransactionLogByBlockHeightResponse, error)
- func (*UnimplementedAPIServiceServer) ReadContract(context.Context, *ReadContractRequest) (*ReadContractResponse, error)
- func (*UnimplementedAPIServiceServer) ReadContractStorage(context.Context, *ReadContractStorageRequest) (*ReadContractStorageResponse, error)
- func (*UnimplementedAPIServiceServer) ReadState(context.Context, *ReadStateRequest) (*ReadStateResponse, error)
- func (*UnimplementedAPIServiceServer) SendAction(context.Context, *SendActionRequest) (*SendActionResponse, error)
- func (*UnimplementedAPIServiceServer) StreamBlocks(*StreamBlocksRequest, APIService_StreamBlocksServer) error
- func (*UnimplementedAPIServiceServer) StreamLogs(*StreamLogsRequest, APIService_StreamLogsServer) error
- func (*UnimplementedAPIServiceServer) SuggestGasPrice(context.Context, *SuggestGasPriceRequest) (*SuggestGasPriceResponse, error)
- func (*UnimplementedAPIServiceServer) TraceTransactionStructLogs(context.Context, *TraceTransactionStructLogsRequest) (*TraceTransactionStructLogsResponse, error)
- type UnimplementedTransactionLogServiceServer
- func (*UnimplementedTransactionLogServiceServer) GetTransactionLogByActionHash(context.Context, *GetTransactionLogByActionHashRequest) (*GetTransactionLogByActionHashResponse, error)
- func (*UnimplementedTransactionLogServiceServer) GetTransactionLogByBlockHeight(context.Context, *GetTransactionLogByBlockHeightRequest) (*GetTransactionLogByBlockHeightResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( ReadStakingDataMethod_Name_name = map[int32]string{ 0: "INVALID", 1: "BUCKETS", 2: "BUCKETS_BY_VOTER", 3: "BUCKETS_BY_CANDIDATE", 4: "CANDIDATES", 5: "CANDIDATE_BY_NAME", 6: "BUCKETS_BY_INDEXES", 7: "CANDIDATE_BY_ADDRESS", 8: "TOTAL_STAKING_AMOUNT", 9: "BUCKETS_COUNT", } ReadStakingDataMethod_Name_value = map[string]int32{ "INVALID": 0, "BUCKETS": 1, "BUCKETS_BY_VOTER": 2, "BUCKETS_BY_CANDIDATE": 3, "CANDIDATES": 4, "CANDIDATE_BY_NAME": 5, "BUCKETS_BY_INDEXES": 6, "CANDIDATE_BY_ADDRESS": 7, "TOTAL_STAKING_AMOUNT": 8, "BUCKETS_COUNT": 9, } )
Enum value maps for ReadStakingDataMethod_Name.
var File_proto_api_api_proto protoreflect.FileDescriptor
var File_proto_api_read_state_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIServiceHandler ¶ added in v0.2.0
func RegisterAPIServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAPIServiceHandler registers the http handlers for service APIService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAPIServiceHandlerClient ¶ added in v0.2.0
func RegisterAPIServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client APIServiceClient) error
RegisterAPIServiceHandlerClient registers the http handlers for service APIService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "APIServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "APIServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "APIServiceClient" to call the correct interceptors.
func RegisterAPIServiceHandlerFromEndpoint ¶ added in v0.2.0
func RegisterAPIServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAPIServiceHandlerFromEndpoint is same as RegisterAPIServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAPIServiceServer ¶
func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
func RegisterTransactionLogServiceServer ¶ added in v0.3.1
func RegisterTransactionLogServiceServer(s *grpc.Server, srv TransactionLogServiceServer)
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) GetTransactionLogByActionHash(ctx context.Context, in *GetTransactionLogByActionHashRequest, opts ...grpc.CallOption) (*GetTransactionLogByActionHashResponse, error) GetTransactionLogByBlockHeight(ctx context.Context, in *GetTransactionLogByBlockHeightRequest, opts ...grpc.CallOption) (*GetTransactionLogByBlockHeightResponse, 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) // get actions from act pool GetActPoolActions(ctx context.Context, in *GetActPoolActionsRequest, opts ...grpc.CallOption) (*GetActPoolActionsResponse, error) // Deprecated GetEvmTransfersByActionHash(ctx context.Context, in *GetEvmTransfersByActionHashRequest, opts ...grpc.CallOption) (*GetEvmTransfersByActionHashResponse, error) // Deprecated GetEvmTransfersByBlockHeight(ctx context.Context, in *GetEvmTransfersByBlockHeightRequest, opts ...grpc.CallOption) (*GetEvmTransfersByBlockHeightResponse, error) // Deprecated GetElectionBuckets(ctx context.Context, in *GetElectionBucketsRequest, opts ...grpc.CallOption) (*GetElectionBucketsResponse, error) ReadContractStorage(ctx context.Context, in *ReadContractStorageRequest, opts ...grpc.CallOption) (*ReadContractStorageResponse, error) TraceTransactionStructLogs(ctx context.Context, in *TraceTransactionStructLogsRequest, opts ...grpc.CallOption) (*TraceTransactionStructLogsResponse, 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.ClientConnInterface) 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) GetTransactionLogByActionHash(context.Context, *GetTransactionLogByActionHashRequest) (*GetTransactionLogByActionHashResponse, error) GetTransactionLogByBlockHeight(context.Context, *GetTransactionLogByBlockHeightRequest) (*GetTransactionLogByBlockHeightResponse, 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 // get actions from act pool GetActPoolActions(context.Context, *GetActPoolActionsRequest) (*GetActPoolActionsResponse, error) // Deprecated GetEvmTransfersByActionHash(context.Context, *GetEvmTransfersByActionHashRequest) (*GetEvmTransfersByActionHashResponse, error) // Deprecated GetEvmTransfersByBlockHeight(context.Context, *GetEvmTransfersByBlockHeightRequest) (*GetEvmTransfersByBlockHeightResponse, error) // Deprecated GetElectionBuckets(context.Context, *GetElectionBucketsRequest) (*GetElectionBucketsResponse, error) ReadContractStorage(context.Context, *ReadContractStorageRequest) (*ReadContractStorageResponse, error) TraceTransactionStructLogs(context.Context, *TraceTransactionStructLogsRequest) (*TraceTransactionStructLogsResponse, error) }
APIServiceServer is the server API for APIService service.
type APIService_StreamBlocksClient ¶ added in v0.2.5
type APIService_StreamBlocksClient interface { Recv() (*StreamBlocksResponse, error) grpc.ClientStream }
type APIService_StreamBlocksServer ¶ added in v0.2.5
type APIService_StreamBlocksServer interface { Send(*StreamBlocksResponse) error grpc.ServerStream }
type APIService_StreamLogsClient ¶ added in v0.2.5
type APIService_StreamLogsClient interface { Recv() (*StreamLogsResponse, error) grpc.ClientStream }
type APIService_StreamLogsServer ¶ added in v0.2.5
type APIService_StreamLogsServer interface { Send(*StreamLogsResponse) error grpc.ServerStream }
type ActionInfo ¶
type ActionInfo struct { Action *iotextypes.Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` ActHash string `protobuf:"bytes,2,opt,name=actHash,proto3" json:"actHash,omitempty"` BlkHash string `protobuf:"bytes,3,opt,name=blkHash,proto3" json:"blkHash,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,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"` Index uint32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*ActionInfo) Descriptor
deprecated
func (*ActionInfo) Descriptor() ([]byte, []int)
Deprecated: Use ActionInfo.ProtoReflect.Descriptor instead.
func (*ActionInfo) GetActHash ¶
func (x *ActionInfo) GetActHash() string
func (*ActionInfo) GetAction ¶
func (x *ActionInfo) GetAction() *iotextypes.Action
func (*ActionInfo) GetBlkHash ¶
func (x *ActionInfo) GetBlkHash() string
func (*ActionInfo) GetBlkHeight ¶ added in v0.2.0
func (x *ActionInfo) GetBlkHeight() uint64
func (*ActionInfo) GetGasFee ¶ added in v0.2.5
func (x *ActionInfo) GetGasFee() string
func (*ActionInfo) GetIndex ¶ added in v0.4.8
func (x *ActionInfo) GetIndex() uint32
func (*ActionInfo) GetSender ¶ added in v0.2.0
func (x *ActionInfo) GetSender() string
func (*ActionInfo) GetTimestamp ¶
func (x *ActionInfo) GetTimestamp() *timestamppb.Timestamp
func (*ActionInfo) ProtoMessage ¶
func (*ActionInfo) ProtoMessage()
func (*ActionInfo) ProtoReflect ¶ added in v0.4.0
func (x *ActionInfo) ProtoReflect() protoreflect.Message
func (*ActionInfo) Reset ¶
func (x *ActionInfo) Reset()
func (*ActionInfo) String ¶
func (x *ActionInfo) String() string
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"` TransactionLogs *iotextypes.TransactionLogs `protobuf:"bytes,3,opt,name=transactionLogs,proto3" json:"transactionLogs,omitempty"` // contains filtered or unexported fields }
func (*BlockInfo) Descriptor
deprecated
func (*BlockInfo) GetBlock ¶
func (x *BlockInfo) GetBlock() *iotextypes.Block
func (*BlockInfo) GetReceipts ¶
func (x *BlockInfo) GetReceipts() []*iotextypes.Receipt
func (*BlockInfo) GetTransactionLogs ¶ added in v0.4.5
func (x *BlockInfo) GetTransactionLogs() *iotextypes.TransactionLogs
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) ProtoReflect ¶ added in v0.4.0
func (x *BlockInfo) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*BlockProducerInfo) Descriptor
deprecated
func (*BlockProducerInfo) Descriptor() ([]byte, []int)
Deprecated: Use BlockProducerInfo.ProtoReflect.Descriptor instead.
func (*BlockProducerInfo) GetActive ¶
func (x *BlockProducerInfo) GetActive() bool
func (*BlockProducerInfo) GetAddress ¶
func (x *BlockProducerInfo) GetAddress() string
func (*BlockProducerInfo) GetProduction ¶
func (x *BlockProducerInfo) GetProduction() uint64
func (*BlockProducerInfo) GetVotes ¶
func (x *BlockProducerInfo) GetVotes() string
func (*BlockProducerInfo) ProtoMessage ¶
func (*BlockProducerInfo) ProtoMessage()
func (*BlockProducerInfo) ProtoReflect ¶ added in v0.4.0
func (x *BlockProducerInfo) ProtoReflect() protoreflect.Message
func (*BlockProducerInfo) Reset ¶
func (x *BlockProducerInfo) Reset()
func (*BlockProducerInfo) String ¶
func (x *BlockProducerInfo) String() string
type Bucket ¶ added in v0.2.5
type Bucket struct { // hex string Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"` Votes string `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"` WeightedVotes string `protobuf:"bytes,3,opt,name=weightedVotes,proto3" json:"weightedVotes,omitempty"` // human readable duration RemainingDuration string `protobuf:"bytes,4,opt,name=remainingDuration,proto3" json:"remainingDuration,omitempty"` // contains filtered or unexported fields }
func (*Bucket) Descriptor
deprecated
added in
v0.2.5
func (*Bucket) GetRemainingDuration ¶ added in v0.2.5
func (*Bucket) GetWeightedVotes ¶ added in v0.2.5
func (*Bucket) ProtoMessage ¶ added in v0.2.5
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶ added in v0.4.0
func (x *Bucket) ProtoReflect() protoreflect.Message
type EstimateActionGasConsumptionRequest ¶ added in v0.2.5
type EstimateActionGasConsumptionRequest struct { // Types that are assignable to Action: // *EstimateActionGasConsumptionRequest_Transfer // *EstimateActionGasConsumptionRequest_Execution // *EstimateActionGasConsumptionRequest_StakeCreate // *EstimateActionGasConsumptionRequest_StakeUnstake // *EstimateActionGasConsumptionRequest_StakeWithdraw // *EstimateActionGasConsumptionRequest_StakeAddDeposit // *EstimateActionGasConsumptionRequest_StakeRestake // *EstimateActionGasConsumptionRequest_StakeChangeCandidate // *EstimateActionGasConsumptionRequest_StakeTransferOwnership // *EstimateActionGasConsumptionRequest_CandidateRegister // *EstimateActionGasConsumptionRequest_CandidateUpdate Action isEstimateActionGasConsumptionRequest_Action `protobuf_oneof:"action"` CallerAddress string `protobuf:"bytes,100,opt,name=callerAddress,proto3" json:"callerAddress,omitempty"` // contains filtered or unexported fields }
func (*EstimateActionGasConsumptionRequest) Descriptor
deprecated
added in
v0.2.5
func (*EstimateActionGasConsumptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimateActionGasConsumptionRequest.ProtoReflect.Descriptor instead.
func (*EstimateActionGasConsumptionRequest) GetAction ¶ added in v0.2.5
func (m *EstimateActionGasConsumptionRequest) GetAction() isEstimateActionGasConsumptionRequest_Action
func (*EstimateActionGasConsumptionRequest) GetCallerAddress ¶ added in v0.2.5
func (x *EstimateActionGasConsumptionRequest) GetCallerAddress() string
func (*EstimateActionGasConsumptionRequest) GetCandidateRegister ¶ added in v0.3.1
func (x *EstimateActionGasConsumptionRequest) GetCandidateRegister() *iotextypes.CandidateRegister
func (*EstimateActionGasConsumptionRequest) GetCandidateUpdate ¶ added in v0.3.1
func (x *EstimateActionGasConsumptionRequest) GetCandidateUpdate() *iotextypes.CandidateBasicInfo
func (*EstimateActionGasConsumptionRequest) GetExecution ¶ added in v0.2.5
func (x *EstimateActionGasConsumptionRequest) GetExecution() *iotextypes.Execution
func (*EstimateActionGasConsumptionRequest) GetStakeAddDeposit ¶ added in v0.3.1
func (x *EstimateActionGasConsumptionRequest) GetStakeAddDeposit() *iotextypes.StakeAddDeposit
func (*EstimateActionGasConsumptionRequest) GetStakeChangeCandidate ¶ added in v0.3.1
func (x *EstimateActionGasConsumptionRequest) GetStakeChangeCandidate() *iotextypes.StakeChangeCandidate
func (*EstimateActionGasConsumptionRequest) GetStakeCreate ¶ added in v0.3.1
func (x *EstimateActionGasConsumptionRequest) GetStakeCreate() *iotextypes.StakeCreate
func (*EstimateActionGasConsumptionRequest) GetStakeRestake ¶ added in v0.3.1
func (x *EstimateActionGasConsumptionRequest) GetStakeRestake() *iotextypes.StakeRestake
func (*EstimateActionGasConsumptionRequest) GetStakeTransferOwnership ¶ added in v0.3.1
func (x *EstimateActionGasConsumptionRequest) GetStakeTransferOwnership() *iotextypes.StakeTransferOwnership
func (*EstimateActionGasConsumptionRequest) GetStakeUnstake ¶ added in v0.3.1
func (x *EstimateActionGasConsumptionRequest) GetStakeUnstake() *iotextypes.StakeReclaim
func (*EstimateActionGasConsumptionRequest) GetStakeWithdraw ¶ added in v0.3.1
func (x *EstimateActionGasConsumptionRequest) GetStakeWithdraw() *iotextypes.StakeReclaim
func (*EstimateActionGasConsumptionRequest) GetTransfer ¶ added in v0.2.5
func (x *EstimateActionGasConsumptionRequest) GetTransfer() *iotextypes.Transfer
func (*EstimateActionGasConsumptionRequest) ProtoMessage ¶ added in v0.2.5
func (*EstimateActionGasConsumptionRequest) ProtoMessage()
func (*EstimateActionGasConsumptionRequest) ProtoReflect ¶ added in v0.4.0
func (x *EstimateActionGasConsumptionRequest) ProtoReflect() protoreflect.Message
func (*EstimateActionGasConsumptionRequest) Reset ¶ added in v0.2.5
func (x *EstimateActionGasConsumptionRequest) Reset()
func (*EstimateActionGasConsumptionRequest) String ¶ added in v0.2.5
func (x *EstimateActionGasConsumptionRequest) String() string
type EstimateActionGasConsumptionRequest_CandidateRegister ¶ added in v0.3.1
type EstimateActionGasConsumptionRequest_CandidateRegister struct {
CandidateRegister *iotextypes.CandidateRegister `protobuf:"bytes,47,opt,name=candidateRegister,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_CandidateUpdate ¶ added in v0.3.1
type EstimateActionGasConsumptionRequest_CandidateUpdate struct {
CandidateUpdate *iotextypes.CandidateBasicInfo `protobuf:"bytes,48,opt,name=candidateUpdate,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_Execution ¶ added in v0.2.5
type EstimateActionGasConsumptionRequest_Execution struct {
Execution *iotextypes.Execution `protobuf:"bytes,2,opt,name=execution,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_StakeAddDeposit ¶ added in v0.3.1
type EstimateActionGasConsumptionRequest_StakeAddDeposit struct {
StakeAddDeposit *iotextypes.StakeAddDeposit `protobuf:"bytes,43,opt,name=stakeAddDeposit,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_StakeChangeCandidate ¶ added in v0.3.1
type EstimateActionGasConsumptionRequest_StakeChangeCandidate struct {
StakeChangeCandidate *iotextypes.StakeChangeCandidate `protobuf:"bytes,45,opt,name=stakeChangeCandidate,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_StakeCreate ¶ added in v0.3.1
type EstimateActionGasConsumptionRequest_StakeCreate struct { // Native staking StakeCreate *iotextypes.StakeCreate `protobuf:"bytes,40,opt,name=stakeCreate,proto3,oneof"` }
type EstimateActionGasConsumptionRequest_StakeRestake ¶ added in v0.3.1
type EstimateActionGasConsumptionRequest_StakeRestake struct {
StakeRestake *iotextypes.StakeRestake `protobuf:"bytes,44,opt,name=stakeRestake,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_StakeTransferOwnership ¶ added in v0.3.1
type EstimateActionGasConsumptionRequest_StakeTransferOwnership struct {
StakeTransferOwnership *iotextypes.StakeTransferOwnership `protobuf:"bytes,46,opt,name=stakeTransferOwnership,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_StakeUnstake ¶ added in v0.3.1
type EstimateActionGasConsumptionRequest_StakeUnstake struct {
StakeUnstake *iotextypes.StakeReclaim `protobuf:"bytes,41,opt,name=stakeUnstake,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_StakeWithdraw ¶ added in v0.3.1
type EstimateActionGasConsumptionRequest_StakeWithdraw struct {
StakeWithdraw *iotextypes.StakeReclaim `protobuf:"bytes,42,opt,name=stakeWithdraw,proto3,oneof"`
}
type EstimateActionGasConsumptionRequest_Transfer ¶ added in v0.2.5
type EstimateActionGasConsumptionRequest_Transfer struct {
Transfer *iotextypes.Transfer `protobuf:"bytes,1,opt,name=transfer,proto3,oneof"`
}
type EstimateActionGasConsumptionResponse ¶ added in v0.2.5
type EstimateActionGasConsumptionResponse struct { Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"` // contains filtered or unexported fields }
func (*EstimateActionGasConsumptionResponse) Descriptor
deprecated
added in
v0.2.5
func (*EstimateActionGasConsumptionResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimateActionGasConsumptionResponse.ProtoReflect.Descriptor instead.
func (*EstimateActionGasConsumptionResponse) GetGas ¶ added in v0.2.5
func (x *EstimateActionGasConsumptionResponse) GetGas() uint64
func (*EstimateActionGasConsumptionResponse) ProtoMessage ¶ added in v0.2.5
func (*EstimateActionGasConsumptionResponse) ProtoMessage()
func (*EstimateActionGasConsumptionResponse) ProtoReflect ¶ added in v0.4.0
func (x *EstimateActionGasConsumptionResponse) ProtoReflect() protoreflect.Message
func (*EstimateActionGasConsumptionResponse) Reset ¶ added in v0.2.5
func (x *EstimateActionGasConsumptionResponse) Reset()
func (*EstimateActionGasConsumptionResponse) String ¶ added in v0.2.5
func (x *EstimateActionGasConsumptionResponse) String() string
type EstimateGasForActionRequest ¶
type EstimateGasForActionRequest struct { Action *iotextypes.Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
To be deprecated
func (*EstimateGasForActionRequest) Descriptor
deprecated
func (*EstimateGasForActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimateGasForActionRequest.ProtoReflect.Descriptor instead.
func (*EstimateGasForActionRequest) GetAction ¶
func (x *EstimateGasForActionRequest) GetAction() *iotextypes.Action
func (*EstimateGasForActionRequest) ProtoMessage ¶
func (*EstimateGasForActionRequest) ProtoMessage()
func (*EstimateGasForActionRequest) ProtoReflect ¶ added in v0.4.0
func (x *EstimateGasForActionRequest) ProtoReflect() protoreflect.Message
func (*EstimateGasForActionRequest) Reset ¶
func (x *EstimateGasForActionRequest) Reset()
func (*EstimateGasForActionRequest) String ¶
func (x *EstimateGasForActionRequest) String() string
type EstimateGasForActionResponse ¶
type EstimateGasForActionResponse struct { Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"` // contains filtered or unexported fields }
func (*EstimateGasForActionResponse) Descriptor
deprecated
func (*EstimateGasForActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimateGasForActionResponse.ProtoReflect.Descriptor instead.
func (*EstimateGasForActionResponse) GetGas ¶
func (x *EstimateGasForActionResponse) GetGas() uint64
func (*EstimateGasForActionResponse) ProtoMessage ¶
func (*EstimateGasForActionResponse) ProtoMessage()
func (*EstimateGasForActionResponse) ProtoReflect ¶ added in v0.4.0
func (x *EstimateGasForActionResponse) ProtoReflect() protoreflect.Message
func (*EstimateGasForActionResponse) Reset ¶
func (x *EstimateGasForActionResponse) Reset()
func (*EstimateGasForActionResponse) String ¶
func (x *EstimateGasForActionResponse) String() string
type GetAccountRequest ¶
type GetAccountRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRequest) Descriptor
deprecated
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetAddress ¶
func (x *GetAccountRequest) GetAddress() string
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (x *GetAccountRequest) String() string
type GetAccountResponse ¶
type GetAccountResponse struct { AccountMeta *iotextypes.AccountMeta `protobuf:"bytes,1,opt,name=accountMeta,proto3" json:"accountMeta,omitempty"` BlockIdentifier *iotextypes.BlockIdentifier `protobuf:"bytes,2,opt,name=blockIdentifier,proto3" json:"blockIdentifier,omitempty"` // contains filtered or unexported fields }
func (*GetAccountResponse) Descriptor
deprecated
func (*GetAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.
func (*GetAccountResponse) GetAccountMeta ¶
func (x *GetAccountResponse) GetAccountMeta() *iotextypes.AccountMeta
func (*GetAccountResponse) GetBlockIdentifier ¶ added in v0.3.1
func (x *GetAccountResponse) GetBlockIdentifier() *iotextypes.BlockIdentifier
func (*GetAccountResponse) ProtoMessage ¶
func (*GetAccountResponse) ProtoMessage()
func (*GetAccountResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
func (*GetAccountResponse) Reset ¶
func (x *GetAccountResponse) Reset()
func (*GetAccountResponse) String ¶
func (x *GetAccountResponse) String() string
type GetActPoolActionsRequest ¶ added in v0.4.5
type GetActPoolActionsRequest struct { ActionHashes []string `protobuf:"bytes,1,rep,name=actionHashes,proto3" json:"actionHashes,omitempty"` // if this field is absent, get all actions from actpool // contains filtered or unexported fields }
func (*GetActPoolActionsRequest) Descriptor
deprecated
added in
v0.4.5
func (*GetActPoolActionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActPoolActionsRequest.ProtoReflect.Descriptor instead.
func (*GetActPoolActionsRequest) GetActionHashes ¶ added in v0.4.5
func (x *GetActPoolActionsRequest) GetActionHashes() []string
func (*GetActPoolActionsRequest) ProtoMessage ¶ added in v0.4.5
func (*GetActPoolActionsRequest) ProtoMessage()
func (*GetActPoolActionsRequest) ProtoReflect ¶ added in v0.4.5
func (x *GetActPoolActionsRequest) ProtoReflect() protoreflect.Message
func (*GetActPoolActionsRequest) Reset ¶ added in v0.4.5
func (x *GetActPoolActionsRequest) Reset()
func (*GetActPoolActionsRequest) String ¶ added in v0.4.5
func (x *GetActPoolActionsRequest) String() string
type GetActPoolActionsResponse ¶ added in v0.4.5
type GetActPoolActionsResponse struct { Actions []*iotextypes.Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*GetActPoolActionsResponse) Descriptor
deprecated
added in
v0.4.5
func (*GetActPoolActionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActPoolActionsResponse.ProtoReflect.Descriptor instead.
func (*GetActPoolActionsResponse) GetActions ¶ added in v0.4.5
func (x *GetActPoolActionsResponse) GetActions() []*iotextypes.Action
func (*GetActPoolActionsResponse) ProtoMessage ¶ added in v0.4.5
func (*GetActPoolActionsResponse) ProtoMessage()
func (*GetActPoolActionsResponse) ProtoReflect ¶ added in v0.4.5
func (x *GetActPoolActionsResponse) ProtoReflect() protoreflect.Message
func (*GetActPoolActionsResponse) Reset ¶ added in v0.4.5
func (x *GetActPoolActionsResponse) Reset()
func (*GetActPoolActionsResponse) String ¶ added in v0.4.5
func (x *GetActPoolActionsResponse) String() string
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"` // contains filtered or unexported fields }
func (*GetActionByHashRequest) Descriptor
deprecated
func (*GetActionByHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActionByHashRequest.ProtoReflect.Descriptor instead.
func (*GetActionByHashRequest) GetActionHash ¶
func (x *GetActionByHashRequest) GetActionHash() string
func (*GetActionByHashRequest) GetCheckPending ¶
func (x *GetActionByHashRequest) GetCheckPending() bool
func (*GetActionByHashRequest) ProtoMessage ¶
func (*GetActionByHashRequest) ProtoMessage()
func (*GetActionByHashRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetActionByHashRequest) ProtoReflect() protoreflect.Message
func (*GetActionByHashRequest) Reset ¶
func (x *GetActionByHashRequest) Reset()
func (*GetActionByHashRequest) String ¶
func (x *GetActionByHashRequest) String() string
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"` // contains filtered or unexported fields }
func (*GetActionsByAddressRequest) Descriptor
deprecated
func (*GetActionsByAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActionsByAddressRequest.ProtoReflect.Descriptor instead.
func (*GetActionsByAddressRequest) GetAddress ¶
func (x *GetActionsByAddressRequest) GetAddress() string
func (*GetActionsByAddressRequest) GetCount ¶
func (x *GetActionsByAddressRequest) GetCount() uint64
func (*GetActionsByAddressRequest) GetStart ¶
func (x *GetActionsByAddressRequest) GetStart() uint64
func (*GetActionsByAddressRequest) ProtoMessage ¶
func (*GetActionsByAddressRequest) ProtoMessage()
func (*GetActionsByAddressRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetActionsByAddressRequest) ProtoReflect() protoreflect.Message
func (*GetActionsByAddressRequest) Reset ¶
func (x *GetActionsByAddressRequest) Reset()
func (*GetActionsByAddressRequest) String ¶
func (x *GetActionsByAddressRequest) String() string
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"` // contains filtered or unexported fields }
func (*GetActionsByBlockRequest) Descriptor
deprecated
func (*GetActionsByBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActionsByBlockRequest.ProtoReflect.Descriptor instead.
func (*GetActionsByBlockRequest) GetBlkHash ¶
func (x *GetActionsByBlockRequest) GetBlkHash() string
func (*GetActionsByBlockRequest) GetCount ¶
func (x *GetActionsByBlockRequest) GetCount() uint64
func (*GetActionsByBlockRequest) GetStart ¶
func (x *GetActionsByBlockRequest) GetStart() uint64
func (*GetActionsByBlockRequest) ProtoMessage ¶
func (*GetActionsByBlockRequest) ProtoMessage()
func (*GetActionsByBlockRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetActionsByBlockRequest) ProtoReflect() protoreflect.Message
func (*GetActionsByBlockRequest) Reset ¶
func (x *GetActionsByBlockRequest) Reset()
func (*GetActionsByBlockRequest) String ¶
func (x *GetActionsByBlockRequest) String() string
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"` // contains filtered or unexported fields }
func (*GetActionsByIndexRequest) Descriptor
deprecated
func (*GetActionsByIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActionsByIndexRequest.ProtoReflect.Descriptor instead.
func (*GetActionsByIndexRequest) GetCount ¶
func (x *GetActionsByIndexRequest) GetCount() uint64
func (*GetActionsByIndexRequest) GetStart ¶
func (x *GetActionsByIndexRequest) GetStart() uint64
func (*GetActionsByIndexRequest) ProtoMessage ¶
func (*GetActionsByIndexRequest) ProtoMessage()
func (*GetActionsByIndexRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetActionsByIndexRequest) ProtoReflect() protoreflect.Message
func (*GetActionsByIndexRequest) Reset ¶
func (x *GetActionsByIndexRequest) Reset()
func (*GetActionsByIndexRequest) String ¶
func (x *GetActionsByIndexRequest) String() string
type GetActionsRequest ¶
type GetActionsRequest struct { // Types that are assignable to Lookup: // *GetActionsRequest_ByIndex // *GetActionsRequest_ByHash // *GetActionsRequest_ByAddr // *GetActionsRequest_UnconfirmedByAddr // *GetActionsRequest_ByBlk Lookup isGetActionsRequest_Lookup `protobuf_oneof:"lookup"` // contains filtered or unexported fields }
func (*GetActionsRequest) Descriptor
deprecated
func (*GetActionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActionsRequest.ProtoReflect.Descriptor instead.
func (*GetActionsRequest) GetByAddr ¶
func (x *GetActionsRequest) GetByAddr() *GetActionsByAddressRequest
func (*GetActionsRequest) GetByBlk ¶
func (x *GetActionsRequest) GetByBlk() *GetActionsByBlockRequest
func (*GetActionsRequest) GetByHash ¶
func (x *GetActionsRequest) GetByHash() *GetActionByHashRequest
func (*GetActionsRequest) GetByIndex ¶
func (x *GetActionsRequest) GetByIndex() *GetActionsByIndexRequest
func (*GetActionsRequest) GetLookup ¶
func (m *GetActionsRequest) GetLookup() isGetActionsRequest_Lookup
func (*GetActionsRequest) GetUnconfirmedByAddr ¶
func (x *GetActionsRequest) GetUnconfirmedByAddr() *GetUnconfirmedActionsByAddressRequest
func (*GetActionsRequest) ProtoMessage ¶
func (*GetActionsRequest) ProtoMessage()
func (*GetActionsRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetActionsRequest) ProtoReflect() protoreflect.Message
func (*GetActionsRequest) Reset ¶
func (x *GetActionsRequest) Reset()
func (*GetActionsRequest) String ¶
func (x *GetActionsRequest) String() string
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"` // contains filtered or unexported fields }
func (*GetActionsResponse) Descriptor
deprecated
func (*GetActionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActionsResponse.ProtoReflect.Descriptor instead.
func (*GetActionsResponse) GetActionInfo ¶
func (x *GetActionsResponse) GetActionInfo() []*ActionInfo
func (*GetActionsResponse) GetTotal ¶ added in v0.2.0
func (x *GetActionsResponse) GetTotal() uint64
func (*GetActionsResponse) ProtoMessage ¶
func (*GetActionsResponse) ProtoMessage()
func (*GetActionsResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetActionsResponse) ProtoReflect() protoreflect.Message
func (*GetActionsResponse) Reset ¶
func (x *GetActionsResponse) Reset()
func (*GetActionsResponse) String ¶
func (x *GetActionsResponse) String() string
type GetBlockMetaByHashRequest ¶
type GetBlockMetaByHashRequest struct { BlkHash string `protobuf:"bytes,1,opt,name=blkHash,proto3" json:"blkHash,omitempty"` // contains filtered or unexported fields }
func (*GetBlockMetaByHashRequest) Descriptor
deprecated
func (*GetBlockMetaByHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockMetaByHashRequest.ProtoReflect.Descriptor instead.
func (*GetBlockMetaByHashRequest) GetBlkHash ¶
func (x *GetBlockMetaByHashRequest) GetBlkHash() string
func (*GetBlockMetaByHashRequest) ProtoMessage ¶
func (*GetBlockMetaByHashRequest) ProtoMessage()
func (*GetBlockMetaByHashRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetBlockMetaByHashRequest) ProtoReflect() protoreflect.Message
func (*GetBlockMetaByHashRequest) Reset ¶
func (x *GetBlockMetaByHashRequest) Reset()
func (*GetBlockMetaByHashRequest) String ¶
func (x *GetBlockMetaByHashRequest) String() string
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"` // contains filtered or unexported fields }
func (*GetBlockMetasByIndexRequest) Descriptor
deprecated
func (*GetBlockMetasByIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockMetasByIndexRequest.ProtoReflect.Descriptor instead.
func (*GetBlockMetasByIndexRequest) GetCount ¶
func (x *GetBlockMetasByIndexRequest) GetCount() uint64
func (*GetBlockMetasByIndexRequest) GetStart ¶
func (x *GetBlockMetasByIndexRequest) GetStart() uint64
func (*GetBlockMetasByIndexRequest) ProtoMessage ¶
func (*GetBlockMetasByIndexRequest) ProtoMessage()
func (*GetBlockMetasByIndexRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetBlockMetasByIndexRequest) ProtoReflect() protoreflect.Message
func (*GetBlockMetasByIndexRequest) Reset ¶
func (x *GetBlockMetasByIndexRequest) Reset()
func (*GetBlockMetasByIndexRequest) String ¶
func (x *GetBlockMetasByIndexRequest) String() string
type GetBlockMetasRequest ¶
type GetBlockMetasRequest struct { // Types that are assignable to Lookup: // *GetBlockMetasRequest_ByIndex // *GetBlockMetasRequest_ByHash Lookup isGetBlockMetasRequest_Lookup `protobuf_oneof:"lookup"` // contains filtered or unexported fields }
func (*GetBlockMetasRequest) Descriptor
deprecated
func (*GetBlockMetasRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockMetasRequest.ProtoReflect.Descriptor instead.
func (*GetBlockMetasRequest) GetByHash ¶
func (x *GetBlockMetasRequest) GetByHash() *GetBlockMetaByHashRequest
func (*GetBlockMetasRequest) GetByIndex ¶
func (x *GetBlockMetasRequest) GetByIndex() *GetBlockMetasByIndexRequest
func (*GetBlockMetasRequest) GetLookup ¶
func (m *GetBlockMetasRequest) GetLookup() isGetBlockMetasRequest_Lookup
func (*GetBlockMetasRequest) ProtoMessage ¶
func (*GetBlockMetasRequest) ProtoMessage()
func (*GetBlockMetasRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetBlockMetasRequest) ProtoReflect() protoreflect.Message
func (*GetBlockMetasRequest) Reset ¶
func (x *GetBlockMetasRequest) Reset()
func (*GetBlockMetasRequest) String ¶
func (x *GetBlockMetasRequest) String() string
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"` // contains filtered or unexported fields }
func (*GetBlockMetasResponse) Descriptor
deprecated
func (*GetBlockMetasResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockMetasResponse.ProtoReflect.Descriptor instead.
func (*GetBlockMetasResponse) GetBlkMetas ¶
func (x *GetBlockMetasResponse) GetBlkMetas() []*iotextypes.BlockMeta
func (*GetBlockMetasResponse) GetTotal ¶ added in v0.2.0
func (x *GetBlockMetasResponse) GetTotal() uint64
func (*GetBlockMetasResponse) ProtoMessage ¶
func (*GetBlockMetasResponse) ProtoMessage()
func (*GetBlockMetasResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetBlockMetasResponse) ProtoReflect() protoreflect.Message
func (*GetBlockMetasResponse) Reset ¶
func (x *GetBlockMetasResponse) Reset()
func (*GetBlockMetasResponse) String ¶
func (x *GetBlockMetasResponse) String() string
type GetChainMetaRequest ¶
type GetChainMetaRequest struct {
// contains filtered or unexported fields
}
func (*GetChainMetaRequest) Descriptor
deprecated
func (*GetChainMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChainMetaRequest.ProtoReflect.Descriptor instead.
func (*GetChainMetaRequest) ProtoMessage ¶
func (*GetChainMetaRequest) ProtoMessage()
func (*GetChainMetaRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetChainMetaRequest) ProtoReflect() protoreflect.Message
func (*GetChainMetaRequest) Reset ¶
func (x *GetChainMetaRequest) Reset()
func (*GetChainMetaRequest) String ¶
func (x *GetChainMetaRequest) String() string
type GetChainMetaResponse ¶
type GetChainMetaResponse struct { ChainMeta *iotextypes.ChainMeta `protobuf:"bytes,1,opt,name=chainMeta,proto3" json:"chainMeta,omitempty"` SyncStage string `protobuf:"bytes,2,opt,name=syncStage,proto3" json:"syncStage,omitempty"` // sync stage // contains filtered or unexported fields }
func (*GetChainMetaResponse) Descriptor
deprecated
func (*GetChainMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChainMetaResponse.ProtoReflect.Descriptor instead.
func (*GetChainMetaResponse) GetChainMeta ¶
func (x *GetChainMetaResponse) GetChainMeta() *iotextypes.ChainMeta
func (*GetChainMetaResponse) GetSyncStage ¶ added in v0.4.7
func (x *GetChainMetaResponse) GetSyncStage() string
func (*GetChainMetaResponse) ProtoMessage ¶
func (*GetChainMetaResponse) ProtoMessage()
func (*GetChainMetaResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetChainMetaResponse) ProtoReflect() protoreflect.Message
func (*GetChainMetaResponse) Reset ¶
func (x *GetChainMetaResponse) Reset()
func (*GetChainMetaResponse) String ¶
func (x *GetChainMetaResponse) String() string
type GetElectionBucketsRequest ¶ added in v0.2.5
type GetElectionBucketsRequest struct { EpochNum uint64 `protobuf:"varint,1,opt,name=epochNum,proto3" json:"epochNum,omitempty"` // contains filtered or unexported fields }
election APIs
func (*GetElectionBucketsRequest) Descriptor
deprecated
added in
v0.2.5
func (*GetElectionBucketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetElectionBucketsRequest.ProtoReflect.Descriptor instead.
func (*GetElectionBucketsRequest) GetEpochNum ¶ added in v0.2.5
func (x *GetElectionBucketsRequest) GetEpochNum() uint64
func (*GetElectionBucketsRequest) ProtoMessage ¶ added in v0.2.5
func (*GetElectionBucketsRequest) ProtoMessage()
func (*GetElectionBucketsRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetElectionBucketsRequest) ProtoReflect() protoreflect.Message
func (*GetElectionBucketsRequest) Reset ¶ added in v0.2.5
func (x *GetElectionBucketsRequest) Reset()
func (*GetElectionBucketsRequest) String ¶ added in v0.2.5
func (x *GetElectionBucketsRequest) String() string
type GetElectionBucketsResponse ¶ added in v0.2.5
type GetElectionBucketsResponse struct { Buckets []*iotextypes.ElectionBucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` // contains filtered or unexported fields }
func (*GetElectionBucketsResponse) Descriptor
deprecated
added in
v0.2.5
func (*GetElectionBucketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetElectionBucketsResponse.ProtoReflect.Descriptor instead.
func (*GetElectionBucketsResponse) GetBuckets ¶ added in v0.2.5
func (x *GetElectionBucketsResponse) GetBuckets() []*iotextypes.ElectionBucket
func (*GetElectionBucketsResponse) ProtoMessage ¶ added in v0.2.5
func (*GetElectionBucketsResponse) ProtoMessage()
func (*GetElectionBucketsResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetElectionBucketsResponse) ProtoReflect() protoreflect.Message
func (*GetElectionBucketsResponse) Reset ¶ added in v0.2.5
func (x *GetElectionBucketsResponse) Reset()
func (*GetElectionBucketsResponse) String ¶ added in v0.2.5
func (x *GetElectionBucketsResponse) String() string
type GetEpochMetaRequest ¶
type GetEpochMetaRequest struct { EpochNumber uint64 `protobuf:"varint,1,opt,name=epochNumber,proto3" json:"epochNumber,omitempty"` // contains filtered or unexported fields }
func (*GetEpochMetaRequest) Descriptor
deprecated
func (*GetEpochMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEpochMetaRequest.ProtoReflect.Descriptor instead.
func (*GetEpochMetaRequest) GetEpochNumber ¶
func (x *GetEpochMetaRequest) GetEpochNumber() uint64
func (*GetEpochMetaRequest) ProtoMessage ¶
func (*GetEpochMetaRequest) ProtoMessage()
func (*GetEpochMetaRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetEpochMetaRequest) ProtoReflect() protoreflect.Message
func (*GetEpochMetaRequest) Reset ¶
func (x *GetEpochMetaRequest) Reset()
func (*GetEpochMetaRequest) String ¶
func (x *GetEpochMetaRequest) String() string
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"` // contains filtered or unexported fields }
func (*GetEpochMetaResponse) Descriptor
deprecated
func (*GetEpochMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEpochMetaResponse.ProtoReflect.Descriptor instead.
func (*GetEpochMetaResponse) GetBlockProducersInfo ¶
func (x *GetEpochMetaResponse) GetBlockProducersInfo() []*BlockProducerInfo
func (*GetEpochMetaResponse) GetEpochData ¶
func (x *GetEpochMetaResponse) GetEpochData() *iotextypes.EpochData
func (*GetEpochMetaResponse) GetTotalBlocks ¶
func (x *GetEpochMetaResponse) GetTotalBlocks() uint64
func (*GetEpochMetaResponse) ProtoMessage ¶
func (*GetEpochMetaResponse) ProtoMessage()
func (*GetEpochMetaResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetEpochMetaResponse) ProtoReflect() protoreflect.Message
func (*GetEpochMetaResponse) Reset ¶
func (x *GetEpochMetaResponse) Reset()
func (*GetEpochMetaResponse) String ¶
func (x *GetEpochMetaResponse) String() string
type GetEvmTransfersByActionHashRequest ¶ added in v0.3.0
type GetEvmTransfersByActionHashRequest struct { ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"` // contains filtered or unexported fields }
Deprecated
func (*GetEvmTransfersByActionHashRequest) Descriptor
deprecated
added in
v0.3.0
func (*GetEvmTransfersByActionHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEvmTransfersByActionHashRequest.ProtoReflect.Descriptor instead.
func (*GetEvmTransfersByActionHashRequest) GetActionHash ¶ added in v0.3.0
func (x *GetEvmTransfersByActionHashRequest) GetActionHash() string
func (*GetEvmTransfersByActionHashRequest) ProtoMessage ¶ added in v0.3.0
func (*GetEvmTransfersByActionHashRequest) ProtoMessage()
func (*GetEvmTransfersByActionHashRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetEvmTransfersByActionHashRequest) ProtoReflect() protoreflect.Message
func (*GetEvmTransfersByActionHashRequest) Reset ¶ added in v0.3.0
func (x *GetEvmTransfersByActionHashRequest) Reset()
func (*GetEvmTransfersByActionHashRequest) String ¶ added in v0.3.0
func (x *GetEvmTransfersByActionHashRequest) String() string
type GetEvmTransfersByActionHashResponse ¶ added in v0.3.0
type GetEvmTransfersByActionHashResponse struct { ActionEvmTransfers *iotextypes.ActionEvmTransfer `protobuf:"bytes,1,opt,name=actionEvmTransfers,proto3" json:"actionEvmTransfers,omitempty"` // contains filtered or unexported fields }
Deprecated
func (*GetEvmTransfersByActionHashResponse) Descriptor
deprecated
added in
v0.3.0
func (*GetEvmTransfersByActionHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEvmTransfersByActionHashResponse.ProtoReflect.Descriptor instead.
func (*GetEvmTransfersByActionHashResponse) GetActionEvmTransfers ¶ added in v0.3.0
func (x *GetEvmTransfersByActionHashResponse) GetActionEvmTransfers() *iotextypes.ActionEvmTransfer
func (*GetEvmTransfersByActionHashResponse) ProtoMessage ¶ added in v0.3.0
func (*GetEvmTransfersByActionHashResponse) ProtoMessage()
func (*GetEvmTransfersByActionHashResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetEvmTransfersByActionHashResponse) ProtoReflect() protoreflect.Message
func (*GetEvmTransfersByActionHashResponse) Reset ¶ added in v0.3.0
func (x *GetEvmTransfersByActionHashResponse) Reset()
func (*GetEvmTransfersByActionHashResponse) String ¶ added in v0.3.0
func (x *GetEvmTransfersByActionHashResponse) String() string
type GetEvmTransfersByBlockHeightRequest ¶ added in v0.3.0
type GetEvmTransfersByBlockHeightRequest struct { BlockHeight uint64 `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` // contains filtered or unexported fields }
Deprecated
func (*GetEvmTransfersByBlockHeightRequest) Descriptor
deprecated
added in
v0.3.0
func (*GetEvmTransfersByBlockHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEvmTransfersByBlockHeightRequest.ProtoReflect.Descriptor instead.
func (*GetEvmTransfersByBlockHeightRequest) GetBlockHeight ¶ added in v0.3.0
func (x *GetEvmTransfersByBlockHeightRequest) GetBlockHeight() uint64
func (*GetEvmTransfersByBlockHeightRequest) ProtoMessage ¶ added in v0.3.0
func (*GetEvmTransfersByBlockHeightRequest) ProtoMessage()
func (*GetEvmTransfersByBlockHeightRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetEvmTransfersByBlockHeightRequest) ProtoReflect() protoreflect.Message
func (*GetEvmTransfersByBlockHeightRequest) Reset ¶ added in v0.3.0
func (x *GetEvmTransfersByBlockHeightRequest) Reset()
func (*GetEvmTransfersByBlockHeightRequest) String ¶ added in v0.3.0
func (x *GetEvmTransfersByBlockHeightRequest) String() string
type GetEvmTransfersByBlockHeightResponse ¶ added in v0.3.0
type GetEvmTransfersByBlockHeightResponse struct { BlockEvmTransfers *iotextypes.BlockEvmTransfer `protobuf:"bytes,1,opt,name=blockEvmTransfers,proto3" json:"blockEvmTransfers,omitempty"` // contains filtered or unexported fields }
Deprecated
func (*GetEvmTransfersByBlockHeightResponse) Descriptor
deprecated
added in
v0.3.0
func (*GetEvmTransfersByBlockHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEvmTransfersByBlockHeightResponse.ProtoReflect.Descriptor instead.
func (*GetEvmTransfersByBlockHeightResponse) GetBlockEvmTransfers ¶ added in v0.3.0
func (x *GetEvmTransfersByBlockHeightResponse) GetBlockEvmTransfers() *iotextypes.BlockEvmTransfer
func (*GetEvmTransfersByBlockHeightResponse) ProtoMessage ¶ added in v0.3.0
func (*GetEvmTransfersByBlockHeightResponse) ProtoMessage()
func (*GetEvmTransfersByBlockHeightResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetEvmTransfersByBlockHeightResponse) ProtoReflect() protoreflect.Message
func (*GetEvmTransfersByBlockHeightResponse) Reset ¶ added in v0.3.0
func (x *GetEvmTransfersByBlockHeightResponse) Reset()
func (*GetEvmTransfersByBlockHeightResponse) String ¶ added in v0.3.0
func (x *GetEvmTransfersByBlockHeightResponse) String() string
type GetLogsByBlock ¶ added in v0.2.5
type GetLogsByBlock struct { BlockHash []byte `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"` // contains filtered or unexported fields }
func (*GetLogsByBlock) Descriptor
deprecated
added in
v0.2.5
func (*GetLogsByBlock) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsByBlock.ProtoReflect.Descriptor instead.
func (*GetLogsByBlock) GetBlockHash ¶ added in v0.2.5
func (x *GetLogsByBlock) GetBlockHash() []byte
func (*GetLogsByBlock) ProtoMessage ¶ added in v0.2.5
func (*GetLogsByBlock) ProtoMessage()
func (*GetLogsByBlock) ProtoReflect ¶ added in v0.4.0
func (x *GetLogsByBlock) ProtoReflect() protoreflect.Message
func (*GetLogsByBlock) Reset ¶ added in v0.2.5
func (x *GetLogsByBlock) Reset()
func (*GetLogsByBlock) String ¶ added in v0.2.5
func (x *GetLogsByBlock) String() string
type GetLogsByRange ¶ added in v0.2.5
type GetLogsByRange struct { FromBlock uint64 `protobuf:"varint,1,opt,name=fromBlock,proto3" json:"fromBlock,omitempty"` ToBlock uint64 `protobuf:"varint,2,opt,name=toBlock,proto3" json:"toBlock,omitempty"` PaginationSize uint64 `protobuf:"varint,3,opt,name=paginationSize,proto3" json:"paginationSize,omitempty"` // contains filtered or unexported fields }
func (*GetLogsByRange) Descriptor
deprecated
added in
v0.2.5
func (*GetLogsByRange) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsByRange.ProtoReflect.Descriptor instead.
func (*GetLogsByRange) GetFromBlock ¶ added in v0.2.5
func (x *GetLogsByRange) GetFromBlock() uint64
func (*GetLogsByRange) GetPaginationSize ¶ added in v0.4.5
func (x *GetLogsByRange) GetPaginationSize() uint64
func (*GetLogsByRange) GetToBlock ¶ added in v0.4.5
func (x *GetLogsByRange) GetToBlock() uint64
func (*GetLogsByRange) ProtoMessage ¶ added in v0.2.5
func (*GetLogsByRange) ProtoMessage()
func (*GetLogsByRange) ProtoReflect ¶ added in v0.4.0
func (x *GetLogsByRange) ProtoReflect() protoreflect.Message
func (*GetLogsByRange) Reset ¶ added in v0.2.5
func (x *GetLogsByRange) Reset()
func (*GetLogsByRange) String ¶ added in v0.2.5
func (x *GetLogsByRange) String() string
type GetLogsRequest ¶ added in v0.2.5
type GetLogsRequest struct { Filter *LogsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // Types that are assignable to Lookup: // *GetLogsRequest_ByBlock // *GetLogsRequest_ByRange Lookup isGetLogsRequest_Lookup `protobuf_oneof:"lookup"` // contains filtered or unexported fields }
func (*GetLogsRequest) Descriptor
deprecated
added in
v0.2.5
func (*GetLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsRequest.ProtoReflect.Descriptor instead.
func (*GetLogsRequest) GetByBlock ¶ added in v0.2.5
func (x *GetLogsRequest) GetByBlock() *GetLogsByBlock
func (*GetLogsRequest) GetByRange ¶ added in v0.2.5
func (x *GetLogsRequest) GetByRange() *GetLogsByRange
func (*GetLogsRequest) GetFilter ¶ added in v0.2.5
func (x *GetLogsRequest) GetFilter() *LogsFilter
func (*GetLogsRequest) GetLookup ¶ added in v0.2.5
func (m *GetLogsRequest) GetLookup() isGetLogsRequest_Lookup
func (*GetLogsRequest) ProtoMessage ¶ added in v0.2.5
func (*GetLogsRequest) ProtoMessage()
func (*GetLogsRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetLogsRequest) ProtoReflect() protoreflect.Message
func (*GetLogsRequest) Reset ¶ added in v0.2.5
func (x *GetLogsRequest) Reset()
func (*GetLogsRequest) String ¶ added in v0.2.5
func (x *GetLogsRequest) String() string
type GetLogsRequest_ByBlock ¶ added in v0.2.5
type GetLogsRequest_ByBlock struct {
ByBlock *GetLogsByBlock `protobuf:"bytes,2,opt,name=byBlock,proto3,oneof"`
}
type GetLogsRequest_ByRange ¶ added in v0.2.5
type GetLogsRequest_ByRange struct {
ByRange *GetLogsByRange `protobuf:"bytes,3,opt,name=byRange,proto3,oneof"`
}
type GetLogsResponse ¶ added in v0.2.5
type GetLogsResponse struct { Logs []*iotextypes.Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*GetLogsResponse) Descriptor
deprecated
added in
v0.2.5
func (*GetLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsResponse.ProtoReflect.Descriptor instead.
func (*GetLogsResponse) GetLogs ¶ added in v0.2.5
func (x *GetLogsResponse) GetLogs() []*iotextypes.Log
func (*GetLogsResponse) ProtoMessage ¶ added in v0.2.5
func (*GetLogsResponse) ProtoMessage()
func (*GetLogsResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetLogsResponse) ProtoReflect() protoreflect.Message
func (*GetLogsResponse) Reset ¶ added in v0.2.5
func (x *GetLogsResponse) Reset()
func (*GetLogsResponse) String ¶ added in v0.2.5
func (x *GetLogsResponse) String() string
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"` WithTransactionLogs bool `protobuf:"varint,4,opt,name=withTransactionLogs,proto3" json:"withTransactionLogs,omitempty"` // contains filtered or unexported fields }
func (*GetRawBlocksRequest) Descriptor
deprecated
func (*GetRawBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRawBlocksRequest.ProtoReflect.Descriptor instead.
func (*GetRawBlocksRequest) GetCount ¶
func (x *GetRawBlocksRequest) GetCount() uint64
func (*GetRawBlocksRequest) GetStartHeight ¶
func (x *GetRawBlocksRequest) GetStartHeight() uint64
func (*GetRawBlocksRequest) GetWithReceipts ¶
func (x *GetRawBlocksRequest) GetWithReceipts() bool
func (*GetRawBlocksRequest) GetWithTransactionLogs ¶ added in v0.4.5
func (x *GetRawBlocksRequest) GetWithTransactionLogs() bool
func (*GetRawBlocksRequest) ProtoMessage ¶
func (*GetRawBlocksRequest) ProtoMessage()
func (*GetRawBlocksRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetRawBlocksRequest) ProtoReflect() protoreflect.Message
func (*GetRawBlocksRequest) Reset ¶
func (x *GetRawBlocksRequest) Reset()
func (*GetRawBlocksRequest) String ¶
func (x *GetRawBlocksRequest) String() string
type GetRawBlocksResponse ¶
type GetRawBlocksResponse struct { Blocks []*BlockInfo `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*GetRawBlocksResponse) Descriptor
deprecated
func (*GetRawBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRawBlocksResponse.ProtoReflect.Descriptor instead.
func (*GetRawBlocksResponse) GetBlocks ¶
func (x *GetRawBlocksResponse) GetBlocks() []*BlockInfo
func (*GetRawBlocksResponse) ProtoMessage ¶
func (*GetRawBlocksResponse) ProtoMessage()
func (*GetRawBlocksResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetRawBlocksResponse) ProtoReflect() protoreflect.Message
func (*GetRawBlocksResponse) Reset ¶
func (x *GetRawBlocksResponse) Reset()
func (*GetRawBlocksResponse) String ¶
func (x *GetRawBlocksResponse) String() string
type GetReceiptByActionRequest ¶
type GetReceiptByActionRequest struct { ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"` // contains filtered or unexported fields }
func (*GetReceiptByActionRequest) Descriptor
deprecated
func (*GetReceiptByActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReceiptByActionRequest.ProtoReflect.Descriptor instead.
func (*GetReceiptByActionRequest) GetActionHash ¶
func (x *GetReceiptByActionRequest) GetActionHash() string
func (*GetReceiptByActionRequest) ProtoMessage ¶
func (*GetReceiptByActionRequest) ProtoMessage()
func (*GetReceiptByActionRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetReceiptByActionRequest) ProtoReflect() protoreflect.Message
func (*GetReceiptByActionRequest) Reset ¶
func (x *GetReceiptByActionRequest) Reset()
func (*GetReceiptByActionRequest) String ¶
func (x *GetReceiptByActionRequest) String() string
type GetReceiptByActionResponse ¶
type GetReceiptByActionResponse struct { ReceiptInfo *ReceiptInfo `protobuf:"bytes,1,opt,name=receiptInfo,proto3" json:"receiptInfo,omitempty"` // contains filtered or unexported fields }
func (*GetReceiptByActionResponse) Descriptor
deprecated
func (*GetReceiptByActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReceiptByActionResponse.ProtoReflect.Descriptor instead.
func (*GetReceiptByActionResponse) GetReceiptInfo ¶
func (x *GetReceiptByActionResponse) GetReceiptInfo() *ReceiptInfo
func (*GetReceiptByActionResponse) ProtoMessage ¶
func (*GetReceiptByActionResponse) ProtoMessage()
func (*GetReceiptByActionResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetReceiptByActionResponse) ProtoReflect() protoreflect.Message
func (*GetReceiptByActionResponse) Reset ¶
func (x *GetReceiptByActionResponse) Reset()
func (*GetReceiptByActionResponse) String ¶
func (x *GetReceiptByActionResponse) String() string
type GetServerMetaRequest ¶
type GetServerMetaRequest struct {
// contains filtered or unexported fields
}
func (*GetServerMetaRequest) Descriptor
deprecated
func (*GetServerMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerMetaRequest.ProtoReflect.Descriptor instead.
func (*GetServerMetaRequest) ProtoMessage ¶
func (*GetServerMetaRequest) ProtoMessage()
func (*GetServerMetaRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetServerMetaRequest) ProtoReflect() protoreflect.Message
func (*GetServerMetaRequest) Reset ¶
func (x *GetServerMetaRequest) Reset()
func (*GetServerMetaRequest) String ¶
func (x *GetServerMetaRequest) String() string
type GetServerMetaResponse ¶
type GetServerMetaResponse struct { ServerMeta *iotextypes.ServerMeta `protobuf:"bytes,1,opt,name=serverMeta,proto3" json:"serverMeta,omitempty"` // contains filtered or unexported fields }
func (*GetServerMetaResponse) Descriptor
deprecated
func (*GetServerMetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServerMetaResponse.ProtoReflect.Descriptor instead.
func (*GetServerMetaResponse) GetServerMeta ¶
func (x *GetServerMetaResponse) GetServerMeta() *iotextypes.ServerMeta
func (*GetServerMetaResponse) ProtoMessage ¶
func (*GetServerMetaResponse) ProtoMessage()
func (*GetServerMetaResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetServerMetaResponse) ProtoReflect() protoreflect.Message
func (*GetServerMetaResponse) Reset ¶
func (x *GetServerMetaResponse) Reset()
func (*GetServerMetaResponse) String ¶
func (x *GetServerMetaResponse) String() string
type GetTransactionLogByActionHashRequest ¶ added in v0.3.1
type GetTransactionLogByActionHashRequest struct { ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionLogByActionHashRequest) Descriptor
deprecated
added in
v0.3.1
func (*GetTransactionLogByActionHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionLogByActionHashRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionLogByActionHashRequest) GetActionHash ¶ added in v0.3.1
func (x *GetTransactionLogByActionHashRequest) GetActionHash() string
func (*GetTransactionLogByActionHashRequest) ProtoMessage ¶ added in v0.3.1
func (*GetTransactionLogByActionHashRequest) ProtoMessage()
func (*GetTransactionLogByActionHashRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetTransactionLogByActionHashRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionLogByActionHashRequest) Reset ¶ added in v0.3.1
func (x *GetTransactionLogByActionHashRequest) Reset()
func (*GetTransactionLogByActionHashRequest) String ¶ added in v0.3.1
func (x *GetTransactionLogByActionHashRequest) String() string
type GetTransactionLogByActionHashResponse ¶ added in v0.3.1
type GetTransactionLogByActionHashResponse struct { TransactionLog *iotextypes.TransactionLog `protobuf:"bytes,1,opt,name=transactionLog,proto3" json:"transactionLog,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionLogByActionHashResponse) Descriptor
deprecated
added in
v0.3.1
func (*GetTransactionLogByActionHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionLogByActionHashResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionLogByActionHashResponse) GetTransactionLog ¶ added in v0.3.1
func (x *GetTransactionLogByActionHashResponse) GetTransactionLog() *iotextypes.TransactionLog
func (*GetTransactionLogByActionHashResponse) ProtoMessage ¶ added in v0.3.1
func (*GetTransactionLogByActionHashResponse) ProtoMessage()
func (*GetTransactionLogByActionHashResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetTransactionLogByActionHashResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionLogByActionHashResponse) Reset ¶ added in v0.3.1
func (x *GetTransactionLogByActionHashResponse) Reset()
func (*GetTransactionLogByActionHashResponse) String ¶ added in v0.3.1
func (x *GetTransactionLogByActionHashResponse) String() string
type GetTransactionLogByBlockHeightRequest ¶ added in v0.3.1
type GetTransactionLogByBlockHeightRequest struct { BlockHeight uint64 `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionLogByBlockHeightRequest) Descriptor
deprecated
added in
v0.3.1
func (*GetTransactionLogByBlockHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionLogByBlockHeightRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionLogByBlockHeightRequest) GetBlockHeight ¶ added in v0.3.1
func (x *GetTransactionLogByBlockHeightRequest) GetBlockHeight() uint64
func (*GetTransactionLogByBlockHeightRequest) ProtoMessage ¶ added in v0.3.1
func (*GetTransactionLogByBlockHeightRequest) ProtoMessage()
func (*GetTransactionLogByBlockHeightRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetTransactionLogByBlockHeightRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionLogByBlockHeightRequest) Reset ¶ added in v0.3.1
func (x *GetTransactionLogByBlockHeightRequest) Reset()
func (*GetTransactionLogByBlockHeightRequest) String ¶ added in v0.3.1
func (x *GetTransactionLogByBlockHeightRequest) String() string
type GetTransactionLogByBlockHeightResponse ¶ added in v0.3.1
type GetTransactionLogByBlockHeightResponse struct { TransactionLogs *iotextypes.TransactionLogs `protobuf:"bytes,1,opt,name=transactionLogs,proto3" json:"transactionLogs,omitempty"` BlockIdentifier *iotextypes.BlockIdentifier `protobuf:"bytes,2,opt,name=blockIdentifier,proto3" json:"blockIdentifier,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionLogByBlockHeightResponse) Descriptor
deprecated
added in
v0.3.1
func (*GetTransactionLogByBlockHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionLogByBlockHeightResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionLogByBlockHeightResponse) GetBlockIdentifier ¶ added in v0.3.1
func (x *GetTransactionLogByBlockHeightResponse) GetBlockIdentifier() *iotextypes.BlockIdentifier
func (*GetTransactionLogByBlockHeightResponse) GetTransactionLogs ¶ added in v0.3.2
func (x *GetTransactionLogByBlockHeightResponse) GetTransactionLogs() *iotextypes.TransactionLogs
func (*GetTransactionLogByBlockHeightResponse) ProtoMessage ¶ added in v0.3.1
func (*GetTransactionLogByBlockHeightResponse) ProtoMessage()
func (*GetTransactionLogByBlockHeightResponse) ProtoReflect ¶ added in v0.4.0
func (x *GetTransactionLogByBlockHeightResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionLogByBlockHeightResponse) Reset ¶ added in v0.3.1
func (x *GetTransactionLogByBlockHeightResponse) Reset()
func (*GetTransactionLogByBlockHeightResponse) String ¶ added in v0.3.1
func (x *GetTransactionLogByBlockHeightResponse) String() string
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"` // contains filtered or unexported fields }
func (*GetUnconfirmedActionsByAddressRequest) Descriptor
deprecated
func (*GetUnconfirmedActionsByAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUnconfirmedActionsByAddressRequest.ProtoReflect.Descriptor instead.
func (*GetUnconfirmedActionsByAddressRequest) GetAddress ¶
func (x *GetUnconfirmedActionsByAddressRequest) GetAddress() string
func (*GetUnconfirmedActionsByAddressRequest) GetCount ¶
func (x *GetUnconfirmedActionsByAddressRequest) GetCount() uint64
func (*GetUnconfirmedActionsByAddressRequest) GetStart ¶
func (x *GetUnconfirmedActionsByAddressRequest) GetStart() uint64
func (*GetUnconfirmedActionsByAddressRequest) ProtoMessage ¶
func (*GetUnconfirmedActionsByAddressRequest) ProtoMessage()
func (*GetUnconfirmedActionsByAddressRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetUnconfirmedActionsByAddressRequest) ProtoReflect() protoreflect.Message
func (*GetUnconfirmedActionsByAddressRequest) Reset ¶
func (x *GetUnconfirmedActionsByAddressRequest) Reset()
func (*GetUnconfirmedActionsByAddressRequest) String ¶
func (x *GetUnconfirmedActionsByAddressRequest) String() string
type LogsFilter ¶ added in v0.2.5
type LogsFilter struct { Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` Topics []*Topics `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // contains filtered or unexported fields }
func (*LogsFilter) Descriptor
deprecated
added in
v0.2.5
func (*LogsFilter) Descriptor() ([]byte, []int)
Deprecated: Use LogsFilter.ProtoReflect.Descriptor instead.
func (*LogsFilter) GetAddress ¶ added in v0.2.5
func (x *LogsFilter) GetAddress() []string
func (*LogsFilter) GetTopics ¶ added in v0.2.5
func (x *LogsFilter) GetTopics() []*Topics
func (*LogsFilter) ProtoMessage ¶ added in v0.2.5
func (*LogsFilter) ProtoMessage()
func (*LogsFilter) ProtoReflect ¶ added in v0.4.0
func (x *LogsFilter) ProtoReflect() protoreflect.Message
func (*LogsFilter) Reset ¶ added in v0.2.5
func (x *LogsFilter) Reset()
func (*LogsFilter) String ¶ added in v0.2.5
func (x *LogsFilter) String() string
type PaginationParam ¶ added in v0.3.0
type PaginationParam struct { Offset uint32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*PaginationParam) Descriptor
deprecated
added in
v0.3.0
func (*PaginationParam) Descriptor() ([]byte, []int)
Deprecated: Use PaginationParam.ProtoReflect.Descriptor instead.
func (*PaginationParam) GetLimit ¶ added in v0.3.0
func (x *PaginationParam) GetLimit() uint32
func (*PaginationParam) GetOffset ¶ added in v0.3.0
func (x *PaginationParam) GetOffset() uint32
func (*PaginationParam) ProtoMessage ¶ added in v0.3.0
func (*PaginationParam) ProtoMessage()
func (*PaginationParam) ProtoReflect ¶ added in v0.4.0
func (x *PaginationParam) ProtoReflect() protoreflect.Message
func (*PaginationParam) Reset ¶ added in v0.3.0
func (x *PaginationParam) Reset()
func (*PaginationParam) String ¶ added in v0.3.0
func (x *PaginationParam) String() string
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"` GasLimit uint64 `protobuf:"varint,3,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"` GasPrice string `protobuf:"bytes,4,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"` // contains filtered or unexported fields }
func (*ReadContractRequest) Descriptor
deprecated
func (*ReadContractRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadContractRequest.ProtoReflect.Descriptor instead.
func (*ReadContractRequest) GetCallerAddress ¶
func (x *ReadContractRequest) GetCallerAddress() string
func (*ReadContractRequest) GetExecution ¶
func (x *ReadContractRequest) GetExecution() *iotextypes.Execution
func (*ReadContractRequest) GetGasLimit ¶ added in v0.5.2
func (x *ReadContractRequest) GetGasLimit() uint64
func (*ReadContractRequest) GetGasPrice ¶ added in v0.5.2
func (x *ReadContractRequest) GetGasPrice() string
func (*ReadContractRequest) ProtoMessage ¶
func (*ReadContractRequest) ProtoMessage()
func (*ReadContractRequest) ProtoReflect ¶ added in v0.4.0
func (x *ReadContractRequest) ProtoReflect() protoreflect.Message
func (*ReadContractRequest) Reset ¶
func (x *ReadContractRequest) Reset()
func (*ReadContractRequest) String ¶
func (x *ReadContractRequest) String() string
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"` // contains filtered or unexported fields }
func (*ReadContractResponse) Descriptor
deprecated
func (*ReadContractResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadContractResponse.ProtoReflect.Descriptor instead.
func (*ReadContractResponse) GetData ¶
func (x *ReadContractResponse) GetData() string
func (*ReadContractResponse) GetReceipt ¶
func (x *ReadContractResponse) GetReceipt() *iotextypes.Receipt
func (*ReadContractResponse) ProtoMessage ¶
func (*ReadContractResponse) ProtoMessage()
func (*ReadContractResponse) ProtoReflect ¶ added in v0.4.0
func (x *ReadContractResponse) ProtoReflect() protoreflect.Message
func (*ReadContractResponse) Reset ¶
func (x *ReadContractResponse) Reset()
func (*ReadContractResponse) String ¶
func (x *ReadContractResponse) String() string
type ReadContractStorageRequest ¶ added in v0.5.4
type ReadContractStorageRequest struct { Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ReadContractStorageRequest) Descriptor
deprecated
added in
v0.5.4
func (*ReadContractStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadContractStorageRequest.ProtoReflect.Descriptor instead.
func (*ReadContractStorageRequest) GetContract ¶ added in v0.5.4
func (x *ReadContractStorageRequest) GetContract() string
func (*ReadContractStorageRequest) GetKey ¶ added in v0.5.4
func (x *ReadContractStorageRequest) GetKey() []byte
func (*ReadContractStorageRequest) ProtoMessage ¶ added in v0.5.4
func (*ReadContractStorageRequest) ProtoMessage()
func (*ReadContractStorageRequest) ProtoReflect ¶ added in v0.5.4
func (x *ReadContractStorageRequest) ProtoReflect() protoreflect.Message
func (*ReadContractStorageRequest) Reset ¶ added in v0.5.4
func (x *ReadContractStorageRequest) Reset()
func (*ReadContractStorageRequest) String ¶ added in v0.5.4
func (x *ReadContractStorageRequest) String() string
type ReadContractStorageResponse ¶ added in v0.5.4
type ReadContractStorageResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReadContractStorageResponse) Descriptor
deprecated
added in
v0.5.4
func (*ReadContractStorageResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadContractStorageResponse.ProtoReflect.Descriptor instead.
func (*ReadContractStorageResponse) GetData ¶ added in v0.5.4
func (x *ReadContractStorageResponse) GetData() []byte
func (*ReadContractStorageResponse) ProtoMessage ¶ added in v0.5.4
func (*ReadContractStorageResponse) ProtoMessage()
func (*ReadContractStorageResponse) ProtoReflect ¶ added in v0.5.4
func (x *ReadContractStorageResponse) ProtoReflect() protoreflect.Message
func (*ReadContractStorageResponse) Reset ¶ added in v0.5.4
func (x *ReadContractStorageResponse) Reset()
func (*ReadContractStorageResponse) String ¶ added in v0.5.4
func (x *ReadContractStorageResponse) String() string
type ReadStakingDataMethod ¶ added in v0.3.0
type ReadStakingDataMethod struct { Method ReadStakingDataMethod_Name `protobuf:"varint,1,opt,name=method,proto3,enum=iotexapi.ReadStakingDataMethod_Name" json:"method,omitempty"` // contains filtered or unexported fields }
func (*ReadStakingDataMethod) Descriptor
deprecated
added in
v0.3.0
func (*ReadStakingDataMethod) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataMethod.ProtoReflect.Descriptor instead.
func (*ReadStakingDataMethod) GetMethod ¶ added in v0.3.0
func (x *ReadStakingDataMethod) GetMethod() ReadStakingDataMethod_Name
func (*ReadStakingDataMethod) ProtoMessage ¶ added in v0.3.0
func (*ReadStakingDataMethod) ProtoMessage()
func (*ReadStakingDataMethod) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataMethod) ProtoReflect() protoreflect.Message
func (*ReadStakingDataMethod) Reset ¶ added in v0.3.0
func (x *ReadStakingDataMethod) Reset()
func (*ReadStakingDataMethod) String ¶ added in v0.3.0
func (x *ReadStakingDataMethod) String() string
type ReadStakingDataMethod_Name ¶ added in v0.3.0
type ReadStakingDataMethod_Name int32
const ( ReadStakingDataMethod_INVALID ReadStakingDataMethod_Name = 0 ReadStakingDataMethod_BUCKETS ReadStakingDataMethod_Name = 1 ReadStakingDataMethod_BUCKETS_BY_VOTER ReadStakingDataMethod_Name = 2 ReadStakingDataMethod_BUCKETS_BY_CANDIDATE ReadStakingDataMethod_Name = 3 ReadStakingDataMethod_CANDIDATES ReadStakingDataMethod_Name = 4 ReadStakingDataMethod_CANDIDATE_BY_NAME ReadStakingDataMethod_Name = 5 ReadStakingDataMethod_BUCKETS_BY_INDEXES ReadStakingDataMethod_Name = 6 ReadStakingDataMethod_CANDIDATE_BY_ADDRESS ReadStakingDataMethod_Name = 7 ReadStakingDataMethod_TOTAL_STAKING_AMOUNT ReadStakingDataMethod_Name = 8 ReadStakingDataMethod_BUCKETS_COUNT ReadStakingDataMethod_Name = 9 )
func (ReadStakingDataMethod_Name) Descriptor ¶ added in v0.4.0
func (ReadStakingDataMethod_Name) Descriptor() protoreflect.EnumDescriptor
func (ReadStakingDataMethod_Name) Enum ¶ added in v0.4.0
func (x ReadStakingDataMethod_Name) Enum() *ReadStakingDataMethod_Name
func (ReadStakingDataMethod_Name) EnumDescriptor
deprecated
added in
v0.3.0
func (ReadStakingDataMethod_Name) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataMethod_Name.Descriptor instead.
func (ReadStakingDataMethod_Name) Number ¶ added in v0.4.0
func (x ReadStakingDataMethod_Name) Number() protoreflect.EnumNumber
func (ReadStakingDataMethod_Name) String ¶ added in v0.3.0
func (x ReadStakingDataMethod_Name) String() string
func (ReadStakingDataMethod_Name) Type ¶ added in v0.4.0
func (ReadStakingDataMethod_Name) Type() protoreflect.EnumType
type ReadStakingDataRequest ¶ added in v0.3.0
type ReadStakingDataRequest struct { // Types that are assignable to Request: // *ReadStakingDataRequest_Buckets // *ReadStakingDataRequest_BucketsByVoter // *ReadStakingDataRequest_BucketsByCandidate // *ReadStakingDataRequest_Candidates_ // *ReadStakingDataRequest_CandidateByName_ // *ReadStakingDataRequest_BucketsByIndexes // *ReadStakingDataRequest_CandidateByAddress_ // *ReadStakingDataRequest_TotalStakingAmount_ // *ReadStakingDataRequest_BucketsCount_ Request isReadStakingDataRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*ReadStakingDataRequest) Descriptor
deprecated
added in
v0.3.0
func (*ReadStakingDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest) GetBuckets ¶ added in v0.3.0
func (x *ReadStakingDataRequest) GetBuckets() *ReadStakingDataRequest_VoteBuckets
func (*ReadStakingDataRequest) GetBucketsByCandidate ¶ added in v0.3.0
func (x *ReadStakingDataRequest) GetBucketsByCandidate() *ReadStakingDataRequest_VoteBucketsByCandidate
func (*ReadStakingDataRequest) GetBucketsByIndexes ¶ added in v0.3.0
func (x *ReadStakingDataRequest) GetBucketsByIndexes() *ReadStakingDataRequest_VoteBucketsByIndexes
func (*ReadStakingDataRequest) GetBucketsByVoter ¶ added in v0.3.0
func (x *ReadStakingDataRequest) GetBucketsByVoter() *ReadStakingDataRequest_VoteBucketsByVoter
func (*ReadStakingDataRequest) GetBucketsCount ¶ added in v0.3.2
func (x *ReadStakingDataRequest) GetBucketsCount() *ReadStakingDataRequest_BucketsCount
func (*ReadStakingDataRequest) GetCandidateByAddress ¶ added in v0.3.1
func (x *ReadStakingDataRequest) GetCandidateByAddress() *ReadStakingDataRequest_CandidateByAddress
func (*ReadStakingDataRequest) GetCandidateByName ¶ added in v0.3.0
func (x *ReadStakingDataRequest) GetCandidateByName() *ReadStakingDataRequest_CandidateByName
func (*ReadStakingDataRequest) GetCandidates ¶ added in v0.3.0
func (x *ReadStakingDataRequest) GetCandidates() *ReadStakingDataRequest_Candidates
func (*ReadStakingDataRequest) GetRequest ¶ added in v0.3.0
func (m *ReadStakingDataRequest) GetRequest() isReadStakingDataRequest_Request
func (*ReadStakingDataRequest) GetTotalStakingAmount ¶ added in v0.3.1
func (x *ReadStakingDataRequest) GetTotalStakingAmount() *ReadStakingDataRequest_TotalStakingAmount
func (*ReadStakingDataRequest) ProtoMessage ¶ added in v0.3.0
func (*ReadStakingDataRequest) ProtoMessage()
func (*ReadStakingDataRequest) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest) Reset ¶ added in v0.3.0
func (x *ReadStakingDataRequest) Reset()
func (*ReadStakingDataRequest) String ¶ added in v0.3.0
func (x *ReadStakingDataRequest) String() string
type ReadStakingDataRequest_Buckets ¶ added in v0.3.0
type ReadStakingDataRequest_Buckets struct {
Buckets *ReadStakingDataRequest_VoteBuckets `protobuf:"bytes,1,opt,name=buckets,proto3,oneof"`
}
type ReadStakingDataRequest_BucketsByCandidate ¶ added in v0.3.0
type ReadStakingDataRequest_BucketsByCandidate struct {
BucketsByCandidate *ReadStakingDataRequest_VoteBucketsByCandidate `protobuf:"bytes,3,opt,name=bucketsByCandidate,proto3,oneof"`
}
type ReadStakingDataRequest_BucketsByIndexes ¶ added in v0.3.0
type ReadStakingDataRequest_BucketsByIndexes struct {
BucketsByIndexes *ReadStakingDataRequest_VoteBucketsByIndexes `protobuf:"bytes,6,opt,name=bucketsByIndexes,proto3,oneof"`
}
type ReadStakingDataRequest_BucketsByVoter ¶ added in v0.3.0
type ReadStakingDataRequest_BucketsByVoter struct {
BucketsByVoter *ReadStakingDataRequest_VoteBucketsByVoter `protobuf:"bytes,2,opt,name=bucketsByVoter,proto3,oneof"`
}
type ReadStakingDataRequest_BucketsCount ¶ added in v0.3.2
type ReadStakingDataRequest_BucketsCount struct {
// contains filtered or unexported fields
}
func (*ReadStakingDataRequest_BucketsCount) Descriptor
deprecated
added in
v0.3.2
func (*ReadStakingDataRequest_BucketsCount) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest_BucketsCount.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest_BucketsCount) ProtoMessage ¶ added in v0.3.2
func (*ReadStakingDataRequest_BucketsCount) ProtoMessage()
func (*ReadStakingDataRequest_BucketsCount) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest_BucketsCount) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest_BucketsCount) Reset ¶ added in v0.3.2
func (x *ReadStakingDataRequest_BucketsCount) Reset()
func (*ReadStakingDataRequest_BucketsCount) String ¶ added in v0.3.2
func (x *ReadStakingDataRequest_BucketsCount) String() string
type ReadStakingDataRequest_BucketsCount_ ¶ added in v0.3.2
type ReadStakingDataRequest_BucketsCount_ struct {
BucketsCount *ReadStakingDataRequest_BucketsCount `protobuf:"bytes,9,opt,name=bucketsCount,proto3,oneof"`
}
type ReadStakingDataRequest_CandidateByAddress ¶ added in v0.3.1
type ReadStakingDataRequest_CandidateByAddress struct { OwnerAddr string `protobuf:"bytes,1,opt,name=ownerAddr,proto3" json:"ownerAddr,omitempty"` // contains filtered or unexported fields }
func (*ReadStakingDataRequest_CandidateByAddress) Descriptor
deprecated
added in
v0.3.1
func (*ReadStakingDataRequest_CandidateByAddress) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest_CandidateByAddress.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest_CandidateByAddress) GetOwnerAddr ¶ added in v0.3.1
func (x *ReadStakingDataRequest_CandidateByAddress) GetOwnerAddr() string
func (*ReadStakingDataRequest_CandidateByAddress) ProtoMessage ¶ added in v0.3.1
func (*ReadStakingDataRequest_CandidateByAddress) ProtoMessage()
func (*ReadStakingDataRequest_CandidateByAddress) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest_CandidateByAddress) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest_CandidateByAddress) Reset ¶ added in v0.3.1
func (x *ReadStakingDataRequest_CandidateByAddress) Reset()
func (*ReadStakingDataRequest_CandidateByAddress) String ¶ added in v0.3.1
func (x *ReadStakingDataRequest_CandidateByAddress) String() string
type ReadStakingDataRequest_CandidateByAddress_ ¶ added in v0.3.1
type ReadStakingDataRequest_CandidateByAddress_ struct {
CandidateByAddress *ReadStakingDataRequest_CandidateByAddress `protobuf:"bytes,7,opt,name=candidateByAddress,proto3,oneof"`
}
type ReadStakingDataRequest_CandidateByName ¶ added in v0.3.0
type ReadStakingDataRequest_CandidateByName struct { CandName string `protobuf:"bytes,1,opt,name=candName,proto3" json:"candName,omitempty"` // contains filtered or unexported fields }
func (*ReadStakingDataRequest_CandidateByName) Descriptor
deprecated
added in
v0.3.0
func (*ReadStakingDataRequest_CandidateByName) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest_CandidateByName.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest_CandidateByName) GetCandName ¶ added in v0.3.0
func (x *ReadStakingDataRequest_CandidateByName) GetCandName() string
func (*ReadStakingDataRequest_CandidateByName) ProtoMessage ¶ added in v0.3.0
func (*ReadStakingDataRequest_CandidateByName) ProtoMessage()
func (*ReadStakingDataRequest_CandidateByName) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest_CandidateByName) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest_CandidateByName) Reset ¶ added in v0.3.0
func (x *ReadStakingDataRequest_CandidateByName) Reset()
func (*ReadStakingDataRequest_CandidateByName) String ¶ added in v0.3.0
func (x *ReadStakingDataRequest_CandidateByName) String() string
type ReadStakingDataRequest_CandidateByName_ ¶ added in v0.3.0
type ReadStakingDataRequest_CandidateByName_ struct {
CandidateByName *ReadStakingDataRequest_CandidateByName `protobuf:"bytes,5,opt,name=candidateByName,proto3,oneof"`
}
type ReadStakingDataRequest_Candidates ¶ added in v0.3.0
type ReadStakingDataRequest_Candidates struct { Pagination *PaginationParam `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ReadStakingDataRequest_Candidates) Descriptor
deprecated
added in
v0.3.0
func (*ReadStakingDataRequest_Candidates) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest_Candidates.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest_Candidates) GetPagination ¶ added in v0.3.0
func (x *ReadStakingDataRequest_Candidates) GetPagination() *PaginationParam
func (*ReadStakingDataRequest_Candidates) ProtoMessage ¶ added in v0.3.0
func (*ReadStakingDataRequest_Candidates) ProtoMessage()
func (*ReadStakingDataRequest_Candidates) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest_Candidates) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest_Candidates) Reset ¶ added in v0.3.0
func (x *ReadStakingDataRequest_Candidates) Reset()
func (*ReadStakingDataRequest_Candidates) String ¶ added in v0.3.0
func (x *ReadStakingDataRequest_Candidates) String() string
type ReadStakingDataRequest_Candidates_ ¶ added in v0.3.0
type ReadStakingDataRequest_Candidates_ struct {
Candidates *ReadStakingDataRequest_Candidates `protobuf:"bytes,4,opt,name=candidates,proto3,oneof"`
}
type ReadStakingDataRequest_TotalStakingAmount ¶ added in v0.3.1
type ReadStakingDataRequest_TotalStakingAmount struct {
// contains filtered or unexported fields
}
func (*ReadStakingDataRequest_TotalStakingAmount) Descriptor
deprecated
added in
v0.3.1
func (*ReadStakingDataRequest_TotalStakingAmount) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest_TotalStakingAmount.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest_TotalStakingAmount) ProtoMessage ¶ added in v0.3.1
func (*ReadStakingDataRequest_TotalStakingAmount) ProtoMessage()
func (*ReadStakingDataRequest_TotalStakingAmount) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest_TotalStakingAmount) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest_TotalStakingAmount) Reset ¶ added in v0.3.1
func (x *ReadStakingDataRequest_TotalStakingAmount) Reset()
func (*ReadStakingDataRequest_TotalStakingAmount) String ¶ added in v0.3.1
func (x *ReadStakingDataRequest_TotalStakingAmount) String() string
type ReadStakingDataRequest_TotalStakingAmount_ ¶ added in v0.3.1
type ReadStakingDataRequest_TotalStakingAmount_ struct {
TotalStakingAmount *ReadStakingDataRequest_TotalStakingAmount `protobuf:"bytes,8,opt,name=totalStakingAmount,proto3,oneof"`
}
type ReadStakingDataRequest_VoteBuckets ¶ added in v0.3.0
type ReadStakingDataRequest_VoteBuckets struct { Pagination *PaginationParam `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ReadStakingDataRequest_VoteBuckets) Descriptor
deprecated
added in
v0.3.0
func (*ReadStakingDataRequest_VoteBuckets) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest_VoteBuckets.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest_VoteBuckets) GetPagination ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBuckets) GetPagination() *PaginationParam
func (*ReadStakingDataRequest_VoteBuckets) ProtoMessage ¶ added in v0.3.0
func (*ReadStakingDataRequest_VoteBuckets) ProtoMessage()
func (*ReadStakingDataRequest_VoteBuckets) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest_VoteBuckets) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest_VoteBuckets) Reset ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBuckets) Reset()
func (*ReadStakingDataRequest_VoteBuckets) String ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBuckets) String() string
type ReadStakingDataRequest_VoteBucketsByCandidate ¶ added in v0.3.0
type ReadStakingDataRequest_VoteBucketsByCandidate struct { CandName string `protobuf:"bytes,1,opt,name=candName,proto3" json:"candName,omitempty"` Pagination *PaginationParam `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ReadStakingDataRequest_VoteBucketsByCandidate) Descriptor
deprecated
added in
v0.3.0
func (*ReadStakingDataRequest_VoteBucketsByCandidate) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest_VoteBucketsByCandidate.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest_VoteBucketsByCandidate) GetCandName ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByCandidate) GetCandName() string
func (*ReadStakingDataRequest_VoteBucketsByCandidate) GetPagination ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByCandidate) GetPagination() *PaginationParam
func (*ReadStakingDataRequest_VoteBucketsByCandidate) ProtoMessage ¶ added in v0.3.0
func (*ReadStakingDataRequest_VoteBucketsByCandidate) ProtoMessage()
func (*ReadStakingDataRequest_VoteBucketsByCandidate) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest_VoteBucketsByCandidate) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest_VoteBucketsByCandidate) Reset ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByCandidate) Reset()
func (*ReadStakingDataRequest_VoteBucketsByCandidate) String ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByCandidate) String() string
type ReadStakingDataRequest_VoteBucketsByIndexes ¶ added in v0.3.0
type ReadStakingDataRequest_VoteBucketsByIndexes struct { Index []uint64 `protobuf:"varint,1,rep,packed,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*ReadStakingDataRequest_VoteBucketsByIndexes) Descriptor
deprecated
added in
v0.3.0
func (*ReadStakingDataRequest_VoteBucketsByIndexes) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest_VoteBucketsByIndexes.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest_VoteBucketsByIndexes) GetIndex ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByIndexes) GetIndex() []uint64
func (*ReadStakingDataRequest_VoteBucketsByIndexes) ProtoMessage ¶ added in v0.3.0
func (*ReadStakingDataRequest_VoteBucketsByIndexes) ProtoMessage()
func (*ReadStakingDataRequest_VoteBucketsByIndexes) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest_VoteBucketsByIndexes) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest_VoteBucketsByIndexes) Reset ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByIndexes) Reset()
func (*ReadStakingDataRequest_VoteBucketsByIndexes) String ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByIndexes) String() string
type ReadStakingDataRequest_VoteBucketsByVoter ¶ added in v0.3.0
type ReadStakingDataRequest_VoteBucketsByVoter struct { VoterAddress string `protobuf:"bytes,1,opt,name=voterAddress,proto3" json:"voterAddress,omitempty"` Pagination *PaginationParam `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ReadStakingDataRequest_VoteBucketsByVoter) Descriptor
deprecated
added in
v0.3.0
func (*ReadStakingDataRequest_VoteBucketsByVoter) Descriptor() ([]byte, []int)
Deprecated: Use ReadStakingDataRequest_VoteBucketsByVoter.ProtoReflect.Descriptor instead.
func (*ReadStakingDataRequest_VoteBucketsByVoter) GetPagination ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByVoter) GetPagination() *PaginationParam
func (*ReadStakingDataRequest_VoteBucketsByVoter) GetVoterAddress ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByVoter) GetVoterAddress() string
func (*ReadStakingDataRequest_VoteBucketsByVoter) ProtoMessage ¶ added in v0.3.0
func (*ReadStakingDataRequest_VoteBucketsByVoter) ProtoMessage()
func (*ReadStakingDataRequest_VoteBucketsByVoter) ProtoReflect ¶ added in v0.4.0
func (x *ReadStakingDataRequest_VoteBucketsByVoter) ProtoReflect() protoreflect.Message
func (*ReadStakingDataRequest_VoteBucketsByVoter) Reset ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByVoter) Reset()
func (*ReadStakingDataRequest_VoteBucketsByVoter) String ¶ added in v0.3.0
func (x *ReadStakingDataRequest_VoteBucketsByVoter) String() string
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"` Height string `protobuf:"bytes,4,opt,name=height,proto3" json:"height,omitempty"` // optional, if not present, read from tip height // contains filtered or unexported fields }
func (*ReadStateRequest) Descriptor
deprecated
func (*ReadStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadStateRequest.ProtoReflect.Descriptor instead.
func (*ReadStateRequest) GetArguments ¶
func (x *ReadStateRequest) GetArguments() [][]byte
func (*ReadStateRequest) GetHeight ¶ added in v0.3.0
func (x *ReadStateRequest) GetHeight() string
func (*ReadStateRequest) GetMethodName ¶
func (x *ReadStateRequest) GetMethodName() []byte
func (*ReadStateRequest) GetProtocolID ¶
func (x *ReadStateRequest) GetProtocolID() []byte
func (*ReadStateRequest) ProtoMessage ¶
func (*ReadStateRequest) ProtoMessage()
func (*ReadStateRequest) ProtoReflect ¶ added in v0.4.0
func (x *ReadStateRequest) ProtoReflect() protoreflect.Message
func (*ReadStateRequest) Reset ¶
func (x *ReadStateRequest) Reset()
func (*ReadStateRequest) String ¶
func (x *ReadStateRequest) String() string
type ReadStateResponse ¶
type ReadStateResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` BlockIdentifier *iotextypes.BlockIdentifier `protobuf:"bytes,2,opt,name=blockIdentifier,proto3" json:"blockIdentifier,omitempty"` // contains filtered or unexported fields }
func (*ReadStateResponse) Descriptor
deprecated
func (*ReadStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadStateResponse.ProtoReflect.Descriptor instead.
func (*ReadStateResponse) GetBlockIdentifier ¶ added in v0.3.1
func (x *ReadStateResponse) GetBlockIdentifier() *iotextypes.BlockIdentifier
func (*ReadStateResponse) GetData ¶
func (x *ReadStateResponse) GetData() []byte
func (*ReadStateResponse) ProtoMessage ¶
func (*ReadStateResponse) ProtoMessage()
func (*ReadStateResponse) ProtoReflect ¶ added in v0.4.0
func (x *ReadStateResponse) ProtoReflect() protoreflect.Message
func (*ReadStateResponse) Reset ¶
func (x *ReadStateResponse) Reset()
func (*ReadStateResponse) String ¶
func (x *ReadStateResponse) String() string
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"` // contains filtered or unexported fields }
func (*ReceiptInfo) Descriptor
deprecated
func (*ReceiptInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptInfo.ProtoReflect.Descriptor instead.
func (*ReceiptInfo) GetBlkHash ¶
func (x *ReceiptInfo) GetBlkHash() string
func (*ReceiptInfo) GetReceipt ¶
func (x *ReceiptInfo) GetReceipt() *iotextypes.Receipt
func (*ReceiptInfo) ProtoMessage ¶
func (*ReceiptInfo) ProtoMessage()
func (*ReceiptInfo) ProtoReflect ¶ added in v0.4.0
func (x *ReceiptInfo) ProtoReflect() protoreflect.Message
func (*ReceiptInfo) Reset ¶
func (x *ReceiptInfo) Reset()
func (*ReceiptInfo) String ¶
func (x *ReceiptInfo) String() string
type SendActionRequest ¶
type SendActionRequest struct { Action *iotextypes.Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*SendActionRequest) Descriptor
deprecated
func (*SendActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendActionRequest.ProtoReflect.Descriptor instead.
func (*SendActionRequest) GetAction ¶
func (x *SendActionRequest) GetAction() *iotextypes.Action
func (*SendActionRequest) ProtoMessage ¶
func (*SendActionRequest) ProtoMessage()
func (*SendActionRequest) ProtoReflect ¶ added in v0.4.0
func (x *SendActionRequest) ProtoReflect() protoreflect.Message
func (*SendActionRequest) Reset ¶
func (x *SendActionRequest) Reset()
func (*SendActionRequest) String ¶
func (x *SendActionRequest) String() string
type SendActionResponse ¶
type SendActionResponse struct { ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"` // contains filtered or unexported fields }
func (*SendActionResponse) Descriptor
deprecated
func (*SendActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendActionResponse.ProtoReflect.Descriptor instead.
func (*SendActionResponse) GetActionHash ¶
func (x *SendActionResponse) GetActionHash() string
func (*SendActionResponse) ProtoMessage ¶
func (*SendActionResponse) ProtoMessage()
func (*SendActionResponse) ProtoReflect ¶ added in v0.4.0
func (x *SendActionResponse) ProtoReflect() protoreflect.Message
func (*SendActionResponse) Reset ¶
func (x *SendActionResponse) Reset()
func (*SendActionResponse) String ¶
func (x *SendActionResponse) String() string
type SendSignedActionBytesRequest ¶ added in v0.2.5
type SendSignedActionBytesRequest struct { SignedActionBytes string `protobuf:"bytes,1,opt,name=signedActionBytes,proto3" json:"signedActionBytes,omitempty"` // contains filtered or unexported fields }
func (*SendSignedActionBytesRequest) Descriptor
deprecated
added in
v0.2.5
func (*SendSignedActionBytesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendSignedActionBytesRequest.ProtoReflect.Descriptor instead.
func (*SendSignedActionBytesRequest) GetSignedActionBytes ¶ added in v0.2.5
func (x *SendSignedActionBytesRequest) GetSignedActionBytes() string
func (*SendSignedActionBytesRequest) ProtoMessage ¶ added in v0.2.5
func (*SendSignedActionBytesRequest) ProtoMessage()
func (*SendSignedActionBytesRequest) ProtoReflect ¶ added in v0.4.0
func (x *SendSignedActionBytesRequest) ProtoReflect() protoreflect.Message
func (*SendSignedActionBytesRequest) Reset ¶ added in v0.2.5
func (x *SendSignedActionBytesRequest) Reset()
func (*SendSignedActionBytesRequest) String ¶ added in v0.2.5
func (x *SendSignedActionBytesRequest) String() string
type StreamBlocksRequest ¶ added in v0.2.5
type StreamBlocksRequest struct {
// contains filtered or unexported fields
}
below are streaming APIs
func (*StreamBlocksRequest) Descriptor
deprecated
added in
v0.2.5
func (*StreamBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamBlocksRequest.ProtoReflect.Descriptor instead.
func (*StreamBlocksRequest) ProtoMessage ¶ added in v0.2.5
func (*StreamBlocksRequest) ProtoMessage()
func (*StreamBlocksRequest) ProtoReflect ¶ added in v0.4.0
func (x *StreamBlocksRequest) ProtoReflect() protoreflect.Message
func (*StreamBlocksRequest) Reset ¶ added in v0.2.5
func (x *StreamBlocksRequest) Reset()
func (*StreamBlocksRequest) String ¶ added in v0.2.5
func (x *StreamBlocksRequest) String() string
type StreamBlocksResponse ¶ added in v0.2.5
type StreamBlocksResponse struct { Block *BlockInfo `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` BlockIdentifier *iotextypes.BlockIdentifier `protobuf:"bytes,2,opt,name=blockIdentifier,proto3" json:"blockIdentifier,omitempty"` // contains filtered or unexported fields }
func (*StreamBlocksResponse) Descriptor
deprecated
added in
v0.2.5
func (*StreamBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamBlocksResponse.ProtoReflect.Descriptor instead.
func (*StreamBlocksResponse) GetBlock ¶ added in v0.2.5
func (x *StreamBlocksResponse) GetBlock() *BlockInfo
func (*StreamBlocksResponse) GetBlockIdentifier ¶ added in v0.5.1
func (x *StreamBlocksResponse) GetBlockIdentifier() *iotextypes.BlockIdentifier
func (*StreamBlocksResponse) ProtoMessage ¶ added in v0.2.5
func (*StreamBlocksResponse) ProtoMessage()
func (*StreamBlocksResponse) ProtoReflect ¶ added in v0.4.0
func (x *StreamBlocksResponse) ProtoReflect() protoreflect.Message
func (*StreamBlocksResponse) Reset ¶ added in v0.2.5
func (x *StreamBlocksResponse) Reset()
func (*StreamBlocksResponse) String ¶ added in v0.2.5
func (x *StreamBlocksResponse) String() string
type StreamLogsRequest ¶ added in v0.2.5
type StreamLogsRequest struct { Filter *LogsFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*StreamLogsRequest) Descriptor
deprecated
added in
v0.2.5
func (*StreamLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamLogsRequest.ProtoReflect.Descriptor instead.
func (*StreamLogsRequest) GetFilter ¶ added in v0.2.5
func (x *StreamLogsRequest) GetFilter() *LogsFilter
func (*StreamLogsRequest) ProtoMessage ¶ added in v0.2.5
func (*StreamLogsRequest) ProtoMessage()
func (*StreamLogsRequest) ProtoReflect ¶ added in v0.4.0
func (x *StreamLogsRequest) ProtoReflect() protoreflect.Message
func (*StreamLogsRequest) Reset ¶ added in v0.2.5
func (x *StreamLogsRequest) Reset()
func (*StreamLogsRequest) String ¶ added in v0.2.5
func (x *StreamLogsRequest) String() string
type StreamLogsResponse ¶ added in v0.2.5
type StreamLogsResponse struct { Log *iotextypes.Log `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*StreamLogsResponse) Descriptor
deprecated
added in
v0.2.5
func (*StreamLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamLogsResponse.ProtoReflect.Descriptor instead.
func (*StreamLogsResponse) GetLog ¶ added in v0.2.5
func (x *StreamLogsResponse) GetLog() *iotextypes.Log
func (*StreamLogsResponse) ProtoMessage ¶ added in v0.2.5
func (*StreamLogsResponse) ProtoMessage()
func (*StreamLogsResponse) ProtoReflect ¶ added in v0.4.0
func (x *StreamLogsResponse) ProtoReflect() protoreflect.Message
func (*StreamLogsResponse) Reset ¶ added in v0.2.5
func (x *StreamLogsResponse) Reset()
func (*StreamLogsResponse) String ¶ added in v0.2.5
func (x *StreamLogsResponse) String() string
type SuggestGasPriceRequest ¶
type SuggestGasPriceRequest struct {
// contains filtered or unexported fields
}
func (*SuggestGasPriceRequest) Descriptor
deprecated
func (*SuggestGasPriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuggestGasPriceRequest.ProtoReflect.Descriptor instead.
func (*SuggestGasPriceRequest) ProtoMessage ¶
func (*SuggestGasPriceRequest) ProtoMessage()
func (*SuggestGasPriceRequest) ProtoReflect ¶ added in v0.4.0
func (x *SuggestGasPriceRequest) ProtoReflect() protoreflect.Message
func (*SuggestGasPriceRequest) Reset ¶
func (x *SuggestGasPriceRequest) Reset()
func (*SuggestGasPriceRequest) String ¶
func (x *SuggestGasPriceRequest) String() string
type SuggestGasPriceResponse ¶
type SuggestGasPriceResponse struct { GasPrice uint64 `protobuf:"varint,1,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"` // contains filtered or unexported fields }
func (*SuggestGasPriceResponse) Descriptor
deprecated
func (*SuggestGasPriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuggestGasPriceResponse.ProtoReflect.Descriptor instead.
func (*SuggestGasPriceResponse) GetGasPrice ¶
func (x *SuggestGasPriceResponse) GetGasPrice() uint64
func (*SuggestGasPriceResponse) ProtoMessage ¶
func (*SuggestGasPriceResponse) ProtoMessage()
func (*SuggestGasPriceResponse) ProtoReflect ¶ added in v0.4.0
func (x *SuggestGasPriceResponse) ProtoReflect() protoreflect.Message
func (*SuggestGasPriceResponse) Reset ¶
func (x *SuggestGasPriceResponse) Reset()
func (*SuggestGasPriceResponse) String ¶
func (x *SuggestGasPriceResponse) String() string
type Topics ¶ added in v0.2.5
type Topics struct { Topic [][]byte `protobuf:"bytes,1,rep,name=topic,proto3" json:"topic,omitempty"` // contains filtered or unexported fields }
func (*Topics) Descriptor
deprecated
added in
v0.2.5
func (*Topics) ProtoMessage ¶ added in v0.2.5
func (*Topics) ProtoMessage()
func (*Topics) ProtoReflect ¶ added in v0.4.0
func (x *Topics) ProtoReflect() protoreflect.Message
type TraceTransactionStructLogsRequest ¶ added in v0.5.7
type TraceTransactionStructLogsRequest struct { ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"` // contains filtered or unexported fields }
func (*TraceTransactionStructLogsRequest) Descriptor
deprecated
added in
v0.5.7
func (*TraceTransactionStructLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TraceTransactionStructLogsRequest.ProtoReflect.Descriptor instead.
func (*TraceTransactionStructLogsRequest) GetActionHash ¶ added in v0.5.7
func (x *TraceTransactionStructLogsRequest) GetActionHash() string
func (*TraceTransactionStructLogsRequest) ProtoMessage ¶ added in v0.5.7
func (*TraceTransactionStructLogsRequest) ProtoMessage()
func (*TraceTransactionStructLogsRequest) ProtoReflect ¶ added in v0.5.7
func (x *TraceTransactionStructLogsRequest) ProtoReflect() protoreflect.Message
func (*TraceTransactionStructLogsRequest) Reset ¶ added in v0.5.7
func (x *TraceTransactionStructLogsRequest) Reset()
func (*TraceTransactionStructLogsRequest) String ¶ added in v0.5.7
func (x *TraceTransactionStructLogsRequest) String() string
type TraceTransactionStructLogsResponse ¶ added in v0.5.7
type TraceTransactionStructLogsResponse struct { StructLogs []*iotextypes.TransactionStructLog `protobuf:"bytes,1,rep,name=structLogs,proto3" json:"structLogs,omitempty"` // contains filtered or unexported fields }
func (*TraceTransactionStructLogsResponse) Descriptor
deprecated
added in
v0.5.7
func (*TraceTransactionStructLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use TraceTransactionStructLogsResponse.ProtoReflect.Descriptor instead.
func (*TraceTransactionStructLogsResponse) GetStructLogs ¶ added in v0.5.7
func (x *TraceTransactionStructLogsResponse) GetStructLogs() []*iotextypes.TransactionStructLog
func (*TraceTransactionStructLogsResponse) ProtoMessage ¶ added in v0.5.7
func (*TraceTransactionStructLogsResponse) ProtoMessage()
func (*TraceTransactionStructLogsResponse) ProtoReflect ¶ added in v0.5.7
func (x *TraceTransactionStructLogsResponse) ProtoReflect() protoreflect.Message
func (*TraceTransactionStructLogsResponse) Reset ¶ added in v0.5.7
func (x *TraceTransactionStructLogsResponse) Reset()
func (*TraceTransactionStructLogsResponse) String ¶ added in v0.5.7
func (x *TraceTransactionStructLogsResponse) String() string
type TransactionLogServiceClient ¶ added in v0.3.1
type TransactionLogServiceClient interface { GetTransactionLogByActionHash(ctx context.Context, in *GetTransactionLogByActionHashRequest, opts ...grpc.CallOption) (*GetTransactionLogByActionHashResponse, error) GetTransactionLogByBlockHeight(ctx context.Context, in *GetTransactionLogByBlockHeightRequest, opts ...grpc.CallOption) (*GetTransactionLogByBlockHeightResponse, error) }
TransactionLogServiceClient is the client API for TransactionLogService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTransactionLogServiceClient ¶ added in v0.3.1
func NewTransactionLogServiceClient(cc grpc.ClientConnInterface) TransactionLogServiceClient
type TransactionLogServiceServer ¶ added in v0.3.1
type TransactionLogServiceServer interface { GetTransactionLogByActionHash(context.Context, *GetTransactionLogByActionHashRequest) (*GetTransactionLogByActionHashResponse, error) GetTransactionLogByBlockHeight(context.Context, *GetTransactionLogByBlockHeightRequest) (*GetTransactionLogByBlockHeightResponse, error) }
TransactionLogServiceServer is the server API for TransactionLogService service.
type UnimplementedAPIServiceServer ¶ added in v0.2.5
type UnimplementedAPIServiceServer struct { }
UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServiceServer) EstimateActionGasConsumption ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) EstimateActionGasConsumption(context.Context, *EstimateActionGasConsumptionRequest) (*EstimateActionGasConsumptionResponse, error)
func (*UnimplementedAPIServiceServer) EstimateGasForAction ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) EstimateGasForAction(context.Context, *EstimateGasForActionRequest) (*EstimateGasForActionResponse, error)
func (*UnimplementedAPIServiceServer) GetAccount ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
func (*UnimplementedAPIServiceServer) GetActPoolActions ¶ added in v0.4.5
func (*UnimplementedAPIServiceServer) GetActPoolActions(context.Context, *GetActPoolActionsRequest) (*GetActPoolActionsResponse, error)
func (*UnimplementedAPIServiceServer) GetActions ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetActions(context.Context, *GetActionsRequest) (*GetActionsResponse, error)
func (*UnimplementedAPIServiceServer) GetBlockMetas ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetBlockMetas(context.Context, *GetBlockMetasRequest) (*GetBlockMetasResponse, error)
func (*UnimplementedAPIServiceServer) GetChainMeta ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetChainMeta(context.Context, *GetChainMetaRequest) (*GetChainMetaResponse, error)
func (*UnimplementedAPIServiceServer) GetElectionBuckets ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetElectionBuckets(context.Context, *GetElectionBucketsRequest) (*GetElectionBucketsResponse, error)
func (*UnimplementedAPIServiceServer) GetEpochMeta ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetEpochMeta(context.Context, *GetEpochMetaRequest) (*GetEpochMetaResponse, error)
func (*UnimplementedAPIServiceServer) GetEvmTransfersByActionHash ¶ added in v0.3.0
func (*UnimplementedAPIServiceServer) GetEvmTransfersByActionHash(context.Context, *GetEvmTransfersByActionHashRequest) (*GetEvmTransfersByActionHashResponse, error)
func (*UnimplementedAPIServiceServer) GetEvmTransfersByBlockHeight ¶ added in v0.3.0
func (*UnimplementedAPIServiceServer) GetEvmTransfersByBlockHeight(context.Context, *GetEvmTransfersByBlockHeightRequest) (*GetEvmTransfersByBlockHeightResponse, error)
func (*UnimplementedAPIServiceServer) GetLogs ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetLogs(context.Context, *GetLogsRequest) (*GetLogsResponse, error)
func (*UnimplementedAPIServiceServer) GetRawBlocks ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetRawBlocks(context.Context, *GetRawBlocksRequest) (*GetRawBlocksResponse, error)
func (*UnimplementedAPIServiceServer) GetReceiptByAction ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetReceiptByAction(context.Context, *GetReceiptByActionRequest) (*GetReceiptByActionResponse, error)
func (*UnimplementedAPIServiceServer) GetServerMeta ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) GetServerMeta(context.Context, *GetServerMetaRequest) (*GetServerMetaResponse, error)
func (*UnimplementedAPIServiceServer) GetTransactionLogByActionHash ¶ added in v0.3.1
func (*UnimplementedAPIServiceServer) GetTransactionLogByActionHash(context.Context, *GetTransactionLogByActionHashRequest) (*GetTransactionLogByActionHashResponse, error)
func (*UnimplementedAPIServiceServer) GetTransactionLogByBlockHeight ¶ added in v0.3.1
func (*UnimplementedAPIServiceServer) GetTransactionLogByBlockHeight(context.Context, *GetTransactionLogByBlockHeightRequest) (*GetTransactionLogByBlockHeightResponse, error)
func (*UnimplementedAPIServiceServer) ReadContract ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) ReadContract(context.Context, *ReadContractRequest) (*ReadContractResponse, error)
func (*UnimplementedAPIServiceServer) ReadContractStorage ¶ added in v0.5.4
func (*UnimplementedAPIServiceServer) ReadContractStorage(context.Context, *ReadContractStorageRequest) (*ReadContractStorageResponse, error)
func (*UnimplementedAPIServiceServer) ReadState ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) ReadState(context.Context, *ReadStateRequest) (*ReadStateResponse, error)
func (*UnimplementedAPIServiceServer) SendAction ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) SendAction(context.Context, *SendActionRequest) (*SendActionResponse, error)
func (*UnimplementedAPIServiceServer) StreamBlocks ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) StreamBlocks(*StreamBlocksRequest, APIService_StreamBlocksServer) error
func (*UnimplementedAPIServiceServer) StreamLogs ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) StreamLogs(*StreamLogsRequest, APIService_StreamLogsServer) error
func (*UnimplementedAPIServiceServer) SuggestGasPrice ¶ added in v0.2.5
func (*UnimplementedAPIServiceServer) SuggestGasPrice(context.Context, *SuggestGasPriceRequest) (*SuggestGasPriceResponse, error)
func (*UnimplementedAPIServiceServer) TraceTransactionStructLogs ¶ added in v0.5.7
func (*UnimplementedAPIServiceServer) TraceTransactionStructLogs(context.Context, *TraceTransactionStructLogsRequest) (*TraceTransactionStructLogsResponse, error)
type UnimplementedTransactionLogServiceServer ¶ added in v0.3.1
type UnimplementedTransactionLogServiceServer struct { }
UnimplementedTransactionLogServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTransactionLogServiceServer) GetTransactionLogByActionHash ¶ added in v0.3.1
func (*UnimplementedTransactionLogServiceServer) GetTransactionLogByActionHash(context.Context, *GetTransactionLogByActionHashRequest) (*GetTransactionLogByActionHashResponse, error)
func (*UnimplementedTransactionLogServiceServer) GetTransactionLogByBlockHeight ¶ added in v0.3.1
func (*UnimplementedTransactionLogServiceServer) GetTransactionLogByBlockHeight(context.Context, *GetTransactionLogByBlockHeightRequest) (*GetTransactionLogByBlockHeightResponse, error)
Directories
¶
Path | Synopsis |
---|---|
Package mock_iotexapi is a generated GoMock package.
|
Package mock_iotexapi is a generated GoMock package. |