Documentation
¶
Overview ¶
Package iotexapi is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterAPIServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAPIServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client APIServiceClient) error
- func RegisterAPIServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
- type APIServiceClient
- type APIServiceServer
- type ActionInfo
- func (*ActionInfo) Descriptor() ([]byte, []int)
- func (m *ActionInfo) GetActHash() string
- func (m *ActionInfo) GetAction() *iotextypes.Action
- func (m *ActionInfo) GetBlkHash() string
- func (m *ActionInfo) GetBlkHeight() uint64
- func (m *ActionInfo) GetSender() string
- func (m *ActionInfo) GetTimestamp() *timestamp.Timestamp
- func (*ActionInfo) ProtoMessage()
- func (m *ActionInfo) Reset()
- func (m *ActionInfo) String() string
- func (m *ActionInfo) XXX_DiscardUnknown()
- func (m *ActionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionInfo) XXX_Merge(src proto.Message)
- func (m *ActionInfo) XXX_Size() int
- func (m *ActionInfo) XXX_Unmarshal(b []byte) error
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)
- func (m *BlockInfo) GetBlock() *iotextypes.Block
- func (m *BlockInfo) GetReceipts() []*iotextypes.Receipt
- func (*BlockInfo) ProtoMessage()
- func (m *BlockInfo) Reset()
- func (m *BlockInfo) String() string
- func (m *BlockInfo) XXX_DiscardUnknown()
- func (m *BlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockInfo) XXX_Merge(src proto.Message)
- func (m *BlockInfo) XXX_Size() int
- func (m *BlockInfo) XXX_Unmarshal(b []byte) error
- type BlockProducerInfo
- func (*BlockProducerInfo) Descriptor() ([]byte, []int)
- func (m *BlockProducerInfo) GetActive() bool
- func (m *BlockProducerInfo) GetAddress() string
- func (m *BlockProducerInfo) GetProduction() uint64
- func (m *BlockProducerInfo) GetVotes() string
- func (*BlockProducerInfo) ProtoMessage()
- func (m *BlockProducerInfo) Reset()
- func (m *BlockProducerInfo) String() string
- func (m *BlockProducerInfo) XXX_DiscardUnknown()
- func (m *BlockProducerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockProducerInfo) XXX_Merge(src proto.Message)
- func (m *BlockProducerInfo) XXX_Size() int
- func (m *BlockProducerInfo) XXX_Unmarshal(b []byte) error
- type EstimateGasForActionRequest
- func (*EstimateGasForActionRequest) Descriptor() ([]byte, []int)
- func (m *EstimateGasForActionRequest) GetAction() *iotextypes.Action
- func (*EstimateGasForActionRequest) ProtoMessage()
- func (m *EstimateGasForActionRequest) Reset()
- func (m *EstimateGasForActionRequest) String() string
- func (m *EstimateGasForActionRequest) XXX_DiscardUnknown()
- func (m *EstimateGasForActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateGasForActionRequest) XXX_Merge(src proto.Message)
- func (m *EstimateGasForActionRequest) XXX_Size() int
- func (m *EstimateGasForActionRequest) XXX_Unmarshal(b []byte) error
- type EstimateGasForActionResponse
- func (*EstimateGasForActionResponse) Descriptor() ([]byte, []int)
- func (m *EstimateGasForActionResponse) GetGas() uint64
- func (*EstimateGasForActionResponse) ProtoMessage()
- func (m *EstimateGasForActionResponse) Reset()
- func (m *EstimateGasForActionResponse) String() string
- func (m *EstimateGasForActionResponse) XXX_DiscardUnknown()
- func (m *EstimateGasForActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateGasForActionResponse) XXX_Merge(src proto.Message)
- func (m *EstimateGasForActionResponse) XXX_Size() int
- func (m *EstimateGasForActionResponse) XXX_Unmarshal(b []byte) error
- type GetAccountRequest
- func (*GetAccountRequest) Descriptor() ([]byte, []int)
- func (m *GetAccountRequest) GetAddress() string
- func (*GetAccountRequest) ProtoMessage()
- func (m *GetAccountRequest) Reset()
- func (m *GetAccountRequest) String() string
- func (m *GetAccountRequest) XXX_DiscardUnknown()
- func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountRequest) XXX_Merge(src proto.Message)
- func (m *GetAccountRequest) XXX_Size() int
- func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error
- type GetAccountResponse
- func (*GetAccountResponse) Descriptor() ([]byte, []int)
- func (m *GetAccountResponse) GetAccountMeta() *iotextypes.AccountMeta
- func (*GetAccountResponse) ProtoMessage()
- func (m *GetAccountResponse) Reset()
- func (m *GetAccountResponse) String() string
- func (m *GetAccountResponse) XXX_DiscardUnknown()
- func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountResponse) XXX_Merge(src proto.Message)
- func (m *GetAccountResponse) XXX_Size() int
- func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error
- type GetActionByHashRequest
- func (*GetActionByHashRequest) Descriptor() ([]byte, []int)
- func (m *GetActionByHashRequest) GetActionHash() string
- func (m *GetActionByHashRequest) GetCheckPending() bool
- func (*GetActionByHashRequest) ProtoMessage()
- func (m *GetActionByHashRequest) Reset()
- func (m *GetActionByHashRequest) String() string
- func (m *GetActionByHashRequest) XXX_DiscardUnknown()
- func (m *GetActionByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionByHashRequest) XXX_Merge(src proto.Message)
- func (m *GetActionByHashRequest) XXX_Size() int
- func (m *GetActionByHashRequest) XXX_Unmarshal(b []byte) error
- type GetActionsByAddressRequest
- func (*GetActionsByAddressRequest) Descriptor() ([]byte, []int)
- func (m *GetActionsByAddressRequest) GetAddress() string
- func (m *GetActionsByAddressRequest) GetCount() uint64
- func (m *GetActionsByAddressRequest) GetStart() uint64
- func (*GetActionsByAddressRequest) ProtoMessage()
- func (m *GetActionsByAddressRequest) Reset()
- func (m *GetActionsByAddressRequest) String() string
- func (m *GetActionsByAddressRequest) XXX_DiscardUnknown()
- func (m *GetActionsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsByAddressRequest) XXX_Merge(src proto.Message)
- func (m *GetActionsByAddressRequest) XXX_Size() int
- func (m *GetActionsByAddressRequest) XXX_Unmarshal(b []byte) error
- type GetActionsByBlockRequest
- func (*GetActionsByBlockRequest) Descriptor() ([]byte, []int)
- func (m *GetActionsByBlockRequest) GetBlkHash() string
- func (m *GetActionsByBlockRequest) GetCount() uint64
- func (m *GetActionsByBlockRequest) GetStart() uint64
- func (*GetActionsByBlockRequest) ProtoMessage()
- func (m *GetActionsByBlockRequest) Reset()
- func (m *GetActionsByBlockRequest) String() string
- func (m *GetActionsByBlockRequest) XXX_DiscardUnknown()
- func (m *GetActionsByBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsByBlockRequest) XXX_Merge(src proto.Message)
- func (m *GetActionsByBlockRequest) XXX_Size() int
- func (m *GetActionsByBlockRequest) XXX_Unmarshal(b []byte) error
- type GetActionsByIndexRequest
- func (*GetActionsByIndexRequest) Descriptor() ([]byte, []int)
- func (m *GetActionsByIndexRequest) GetCount() uint64
- func (m *GetActionsByIndexRequest) GetStart() uint64
- func (*GetActionsByIndexRequest) ProtoMessage()
- func (m *GetActionsByIndexRequest) Reset()
- func (m *GetActionsByIndexRequest) String() string
- func (m *GetActionsByIndexRequest) XXX_DiscardUnknown()
- func (m *GetActionsByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsByIndexRequest) XXX_Merge(src proto.Message)
- func (m *GetActionsByIndexRequest) XXX_Size() int
- func (m *GetActionsByIndexRequest) XXX_Unmarshal(b []byte) error
- type GetActionsRequest
- func (*GetActionsRequest) Descriptor() ([]byte, []int)
- func (m *GetActionsRequest) GetByAddr() *GetActionsByAddressRequest
- func (m *GetActionsRequest) GetByBlk() *GetActionsByBlockRequest
- func (m *GetActionsRequest) GetByHash() *GetActionByHashRequest
- func (m *GetActionsRequest) GetByIndex() *GetActionsByIndexRequest
- func (m *GetActionsRequest) GetLookup() isGetActionsRequest_Lookup
- func (m *GetActionsRequest) GetUnconfirmedByAddr() *GetUnconfirmedActionsByAddressRequest
- func (*GetActionsRequest) ProtoMessage()
- func (m *GetActionsRequest) Reset()
- func (m *GetActionsRequest) String() string
- func (m *GetActionsRequest) XXX_DiscardUnknown()
- func (m *GetActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsRequest) XXX_Merge(src proto.Message)
- func (*GetActionsRequest) XXX_OneofWrappers() []interface{}
- func (m *GetActionsRequest) XXX_Size() int
- func (m *GetActionsRequest) XXX_Unmarshal(b []byte) error
- type GetActionsRequest_ByAddr
- type GetActionsRequest_ByBlk
- type GetActionsRequest_ByHash
- type GetActionsRequest_ByIndex
- type GetActionsRequest_UnconfirmedByAddr
- type GetActionsResponse
- func (*GetActionsResponse) Descriptor() ([]byte, []int)
- func (m *GetActionsResponse) GetActionInfo() []*ActionInfo
- func (m *GetActionsResponse) GetTotal() uint64
- func (*GetActionsResponse) ProtoMessage()
- func (m *GetActionsResponse) Reset()
- func (m *GetActionsResponse) String() string
- func (m *GetActionsResponse) XXX_DiscardUnknown()
- func (m *GetActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsResponse) XXX_Merge(src proto.Message)
- func (m *GetActionsResponse) XXX_Size() int
- func (m *GetActionsResponse) XXX_Unmarshal(b []byte) error
- type GetBlockMetaByHashRequest
- func (*GetBlockMetaByHashRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockMetaByHashRequest) GetBlkHash() string
- func (*GetBlockMetaByHashRequest) ProtoMessage()
- func (m *GetBlockMetaByHashRequest) Reset()
- func (m *GetBlockMetaByHashRequest) String() string
- func (m *GetBlockMetaByHashRequest) XXX_DiscardUnknown()
- func (m *GetBlockMetaByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockMetaByHashRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockMetaByHashRequest) XXX_Size() int
- func (m *GetBlockMetaByHashRequest) XXX_Unmarshal(b []byte) error
- type GetBlockMetasByIndexRequest
- func (*GetBlockMetasByIndexRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockMetasByIndexRequest) GetCount() uint64
- func (m *GetBlockMetasByIndexRequest) GetStart() uint64
- func (*GetBlockMetasByIndexRequest) ProtoMessage()
- func (m *GetBlockMetasByIndexRequest) Reset()
- func (m *GetBlockMetasByIndexRequest) String() string
- func (m *GetBlockMetasByIndexRequest) XXX_DiscardUnknown()
- func (m *GetBlockMetasByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockMetasByIndexRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockMetasByIndexRequest) XXX_Size() int
- func (m *GetBlockMetasByIndexRequest) XXX_Unmarshal(b []byte) error
- type GetBlockMetasRequest
- func (*GetBlockMetasRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockMetasRequest) GetByHash() *GetBlockMetaByHashRequest
- func (m *GetBlockMetasRequest) GetByIndex() *GetBlockMetasByIndexRequest
- func (m *GetBlockMetasRequest) GetLookup() isGetBlockMetasRequest_Lookup
- func (*GetBlockMetasRequest) ProtoMessage()
- func (m *GetBlockMetasRequest) Reset()
- func (m *GetBlockMetasRequest) String() string
- func (m *GetBlockMetasRequest) XXX_DiscardUnknown()
- func (m *GetBlockMetasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockMetasRequest) XXX_Merge(src proto.Message)
- func (*GetBlockMetasRequest) XXX_OneofWrappers() []interface{}
- func (m *GetBlockMetasRequest) XXX_Size() int
- func (m *GetBlockMetasRequest) XXX_Unmarshal(b []byte) error
- type GetBlockMetasRequest_ByHash
- type GetBlockMetasRequest_ByIndex
- type GetBlockMetasResponse
- func (*GetBlockMetasResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockMetasResponse) GetBlkMetas() []*iotextypes.BlockMeta
- func (m *GetBlockMetasResponse) GetTotal() uint64
- func (*GetBlockMetasResponse) ProtoMessage()
- func (m *GetBlockMetasResponse) Reset()
- func (m *GetBlockMetasResponse) String() string
- func (m *GetBlockMetasResponse) XXX_DiscardUnknown()
- func (m *GetBlockMetasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockMetasResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockMetasResponse) XXX_Size() int
- func (m *GetBlockMetasResponse) XXX_Unmarshal(b []byte) error
- type GetChainMetaRequest
- func (*GetChainMetaRequest) Descriptor() ([]byte, []int)
- func (*GetChainMetaRequest) ProtoMessage()
- func (m *GetChainMetaRequest) Reset()
- func (m *GetChainMetaRequest) String() string
- func (m *GetChainMetaRequest) XXX_DiscardUnknown()
- func (m *GetChainMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetChainMetaRequest) XXX_Merge(src proto.Message)
- func (m *GetChainMetaRequest) XXX_Size() int
- func (m *GetChainMetaRequest) XXX_Unmarshal(b []byte) error
- type GetChainMetaResponse
- func (*GetChainMetaResponse) Descriptor() ([]byte, []int)
- func (m *GetChainMetaResponse) GetChainMeta() *iotextypes.ChainMeta
- func (*GetChainMetaResponse) ProtoMessage()
- func (m *GetChainMetaResponse) Reset()
- func (m *GetChainMetaResponse) String() string
- func (m *GetChainMetaResponse) XXX_DiscardUnknown()
- func (m *GetChainMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetChainMetaResponse) XXX_Merge(src proto.Message)
- func (m *GetChainMetaResponse) XXX_Size() int
- func (m *GetChainMetaResponse) XXX_Unmarshal(b []byte) error
- type GetEpochMetaRequest
- func (*GetEpochMetaRequest) Descriptor() ([]byte, []int)
- func (m *GetEpochMetaRequest) GetEpochNumber() uint64
- func (*GetEpochMetaRequest) ProtoMessage()
- func (m *GetEpochMetaRequest) Reset()
- func (m *GetEpochMetaRequest) String() string
- func (m *GetEpochMetaRequest) XXX_DiscardUnknown()
- func (m *GetEpochMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEpochMetaRequest) XXX_Merge(src proto.Message)
- func (m *GetEpochMetaRequest) XXX_Size() int
- func (m *GetEpochMetaRequest) XXX_Unmarshal(b []byte) error
- type GetEpochMetaResponse
- func (*GetEpochMetaResponse) Descriptor() ([]byte, []int)
- func (m *GetEpochMetaResponse) GetBlockProducersInfo() []*BlockProducerInfo
- func (m *GetEpochMetaResponse) GetEpochData() *iotextypes.EpochData
- func (m *GetEpochMetaResponse) GetTotalBlocks() uint64
- func (*GetEpochMetaResponse) ProtoMessage()
- func (m *GetEpochMetaResponse) Reset()
- func (m *GetEpochMetaResponse) String() string
- func (m *GetEpochMetaResponse) XXX_DiscardUnknown()
- func (m *GetEpochMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEpochMetaResponse) XXX_Merge(src proto.Message)
- func (m *GetEpochMetaResponse) XXX_Size() int
- func (m *GetEpochMetaResponse) XXX_Unmarshal(b []byte) error
- type GetRawBlocksRequest
- func (*GetRawBlocksRequest) Descriptor() ([]byte, []int)
- func (m *GetRawBlocksRequest) GetCount() uint64
- func (m *GetRawBlocksRequest) GetStartHeight() uint64
- func (m *GetRawBlocksRequest) GetWithReceipts() bool
- func (*GetRawBlocksRequest) ProtoMessage()
- func (m *GetRawBlocksRequest) Reset()
- func (m *GetRawBlocksRequest) String() string
- func (m *GetRawBlocksRequest) XXX_DiscardUnknown()
- func (m *GetRawBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawBlocksRequest) XXX_Merge(src proto.Message)
- func (m *GetRawBlocksRequest) XXX_Size() int
- func (m *GetRawBlocksRequest) XXX_Unmarshal(b []byte) error
- type GetRawBlocksResponse
- func (*GetRawBlocksResponse) Descriptor() ([]byte, []int)
- func (m *GetRawBlocksResponse) GetBlocks() []*BlockInfo
- func (*GetRawBlocksResponse) ProtoMessage()
- func (m *GetRawBlocksResponse) Reset()
- func (m *GetRawBlocksResponse) String() string
- func (m *GetRawBlocksResponse) XXX_DiscardUnknown()
- func (m *GetRawBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRawBlocksResponse) XXX_Merge(src proto.Message)
- func (m *GetRawBlocksResponse) XXX_Size() int
- func (m *GetRawBlocksResponse) XXX_Unmarshal(b []byte) error
- type GetReceiptByActionRequest
- func (*GetReceiptByActionRequest) Descriptor() ([]byte, []int)
- func (m *GetReceiptByActionRequest) GetActionHash() string
- func (*GetReceiptByActionRequest) ProtoMessage()
- func (m *GetReceiptByActionRequest) Reset()
- func (m *GetReceiptByActionRequest) String() string
- func (m *GetReceiptByActionRequest) XXX_DiscardUnknown()
- func (m *GetReceiptByActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReceiptByActionRequest) XXX_Merge(src proto.Message)
- func (m *GetReceiptByActionRequest) XXX_Size() int
- func (m *GetReceiptByActionRequest) XXX_Unmarshal(b []byte) error
- type GetReceiptByActionResponse
- func (*GetReceiptByActionResponse) Descriptor() ([]byte, []int)
- func (m *GetReceiptByActionResponse) GetReceiptInfo() *ReceiptInfo
- func (*GetReceiptByActionResponse) ProtoMessage()
- func (m *GetReceiptByActionResponse) Reset()
- func (m *GetReceiptByActionResponse) String() string
- func (m *GetReceiptByActionResponse) XXX_DiscardUnknown()
- func (m *GetReceiptByActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReceiptByActionResponse) XXX_Merge(src proto.Message)
- func (m *GetReceiptByActionResponse) XXX_Size() int
- func (m *GetReceiptByActionResponse) XXX_Unmarshal(b []byte) error
- type GetServerMetaRequest
- func (*GetServerMetaRequest) Descriptor() ([]byte, []int)
- func (*GetServerMetaRequest) ProtoMessage()
- func (m *GetServerMetaRequest) Reset()
- func (m *GetServerMetaRequest) String() string
- func (m *GetServerMetaRequest) XXX_DiscardUnknown()
- func (m *GetServerMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerMetaRequest) XXX_Merge(src proto.Message)
- func (m *GetServerMetaRequest) XXX_Size() int
- func (m *GetServerMetaRequest) XXX_Unmarshal(b []byte) error
- type GetServerMetaResponse
- func (*GetServerMetaResponse) Descriptor() ([]byte, []int)
- func (m *GetServerMetaResponse) GetServerMeta() *iotextypes.ServerMeta
- func (*GetServerMetaResponse) ProtoMessage()
- func (m *GetServerMetaResponse) Reset()
- func (m *GetServerMetaResponse) String() string
- func (m *GetServerMetaResponse) XXX_DiscardUnknown()
- func (m *GetServerMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServerMetaResponse) XXX_Merge(src proto.Message)
- func (m *GetServerMetaResponse) XXX_Size() int
- func (m *GetServerMetaResponse) XXX_Unmarshal(b []byte) error
- type GetUnconfirmedActionsByAddressRequest
- func (*GetUnconfirmedActionsByAddressRequest) Descriptor() ([]byte, []int)
- func (m *GetUnconfirmedActionsByAddressRequest) GetAddress() string
- func (m *GetUnconfirmedActionsByAddressRequest) GetCount() uint64
- func (m *GetUnconfirmedActionsByAddressRequest) GetStart() uint64
- func (*GetUnconfirmedActionsByAddressRequest) ProtoMessage()
- func (m *GetUnconfirmedActionsByAddressRequest) Reset()
- func (m *GetUnconfirmedActionsByAddressRequest) String() string
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_DiscardUnknown()
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_Merge(src proto.Message)
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_Size() int
- func (m *GetUnconfirmedActionsByAddressRequest) XXX_Unmarshal(b []byte) error
- type ReadContractRequest
- func (*ReadContractRequest) Descriptor() ([]byte, []int)
- func (m *ReadContractRequest) GetCallerAddress() string
- func (m *ReadContractRequest) GetExecution() *iotextypes.Execution
- func (*ReadContractRequest) ProtoMessage()
- func (m *ReadContractRequest) Reset()
- func (m *ReadContractRequest) String() string
- func (m *ReadContractRequest) XXX_DiscardUnknown()
- func (m *ReadContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadContractRequest) XXX_Merge(src proto.Message)
- func (m *ReadContractRequest) XXX_Size() int
- func (m *ReadContractRequest) XXX_Unmarshal(b []byte) error
- type ReadContractResponse
- func (*ReadContractResponse) Descriptor() ([]byte, []int)
- func (m *ReadContractResponse) GetData() string
- func (m *ReadContractResponse) GetReceipt() *iotextypes.Receipt
- func (*ReadContractResponse) ProtoMessage()
- func (m *ReadContractResponse) Reset()
- func (m *ReadContractResponse) String() string
- func (m *ReadContractResponse) XXX_DiscardUnknown()
- func (m *ReadContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadContractResponse) XXX_Merge(src proto.Message)
- func (m *ReadContractResponse) XXX_Size() int
- func (m *ReadContractResponse) XXX_Unmarshal(b []byte) error
- type ReadStateRequest
- func (*ReadStateRequest) Descriptor() ([]byte, []int)
- func (m *ReadStateRequest) GetArguments() [][]byte
- func (m *ReadStateRequest) GetMethodName() []byte
- func (m *ReadStateRequest) GetProtocolID() []byte
- func (*ReadStateRequest) ProtoMessage()
- func (m *ReadStateRequest) Reset()
- func (m *ReadStateRequest) String() string
- func (m *ReadStateRequest) XXX_DiscardUnknown()
- func (m *ReadStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadStateRequest) XXX_Merge(src proto.Message)
- func (m *ReadStateRequest) XXX_Size() int
- func (m *ReadStateRequest) XXX_Unmarshal(b []byte) error
- type ReadStateResponse
- func (*ReadStateResponse) Descriptor() ([]byte, []int)
- func (m *ReadStateResponse) GetData() []byte
- func (*ReadStateResponse) ProtoMessage()
- func (m *ReadStateResponse) Reset()
- func (m *ReadStateResponse) String() string
- func (m *ReadStateResponse) XXX_DiscardUnknown()
- func (m *ReadStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadStateResponse) XXX_Merge(src proto.Message)
- func (m *ReadStateResponse) XXX_Size() int
- func (m *ReadStateResponse) XXX_Unmarshal(b []byte) error
- type ReceiptInfo
- func (*ReceiptInfo) Descriptor() ([]byte, []int)
- func (m *ReceiptInfo) GetBlkHash() string
- func (m *ReceiptInfo) GetReceipt() *iotextypes.Receipt
- func (*ReceiptInfo) ProtoMessage()
- func (m *ReceiptInfo) Reset()
- func (m *ReceiptInfo) String() string
- func (m *ReceiptInfo) XXX_DiscardUnknown()
- func (m *ReceiptInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptInfo) XXX_Merge(src proto.Message)
- func (m *ReceiptInfo) XXX_Size() int
- func (m *ReceiptInfo) XXX_Unmarshal(b []byte) error
- type SendActionRequest
- func (*SendActionRequest) Descriptor() ([]byte, []int)
- func (m *SendActionRequest) GetAction() *iotextypes.Action
- func (*SendActionRequest) ProtoMessage()
- func (m *SendActionRequest) Reset()
- func (m *SendActionRequest) String() string
- func (m *SendActionRequest) XXX_DiscardUnknown()
- func (m *SendActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendActionRequest) XXX_Merge(src proto.Message)
- func (m *SendActionRequest) XXX_Size() int
- func (m *SendActionRequest) XXX_Unmarshal(b []byte) error
- type SendActionResponse
- func (*SendActionResponse) Descriptor() ([]byte, []int)
- func (m *SendActionResponse) GetActionHash() string
- func (*SendActionResponse) ProtoMessage()
- func (m *SendActionResponse) Reset()
- func (m *SendActionResponse) String() string
- func (m *SendActionResponse) XXX_DiscardUnknown()
- func (m *SendActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendActionResponse) XXX_Merge(src proto.Message)
- func (m *SendActionResponse) XXX_Size() int
- func (m *SendActionResponse) XXX_Unmarshal(b []byte) error
- type SuggestGasPriceRequest
- func (*SuggestGasPriceRequest) Descriptor() ([]byte, []int)
- func (*SuggestGasPriceRequest) ProtoMessage()
- func (m *SuggestGasPriceRequest) Reset()
- func (m *SuggestGasPriceRequest) String() string
- func (m *SuggestGasPriceRequest) XXX_DiscardUnknown()
- func (m *SuggestGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SuggestGasPriceRequest) XXX_Merge(src proto.Message)
- func (m *SuggestGasPriceRequest) XXX_Size() int
- func (m *SuggestGasPriceRequest) XXX_Unmarshal(b []byte) error
- type SuggestGasPriceResponse
- func (*SuggestGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *SuggestGasPriceResponse) GetGasPrice() uint64
- func (*SuggestGasPriceResponse) ProtoMessage()
- func (m *SuggestGasPriceResponse) Reset()
- func (m *SuggestGasPriceResponse) String() string
- func (m *SuggestGasPriceResponse) XXX_DiscardUnknown()
- func (m *SuggestGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SuggestGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *SuggestGasPriceResponse) XXX_Size() int
- func (m *SuggestGasPriceResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAPIServiceHandler ¶ added in v0.2.0
func RegisterAPIServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAPIServiceHandler registers the http handlers for service APIService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAPIServiceHandlerClient ¶ added in v0.2.0
func RegisterAPIServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client APIServiceClient) error
RegisterAPIServiceHandlerClient registers the http handlers for service APIService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "APIServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "APIServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "APIServiceClient" to call the correct interceptors.
func RegisterAPIServiceHandlerFromEndpoint ¶ added in v0.2.0
func RegisterAPIServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAPIServiceHandlerFromEndpoint is same as RegisterAPIServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAPIServiceServer ¶
func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
Types ¶
type APIServiceClient ¶
type APIServiceClient interface {
// get the address detail of an address
GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error)
// get action(s) by:
// 1. start index and action count
// 2. action hash
// 3. address with start index and action count
// 4. get unconfirmed actions by address with start index and action count
// 5. block hash with start index and action count
GetActions(ctx context.Context, in *GetActionsRequest, opts ...grpc.CallOption) (*GetActionsResponse, error)
// get block metadata(s) by:
// 1. start index and block count
// 2. block hash
GetBlockMetas(ctx context.Context, in *GetBlockMetasRequest, opts ...grpc.CallOption) (*GetBlockMetasResponse, error)
// get chain metadata
GetChainMeta(ctx context.Context, in *GetChainMetaRequest, opts ...grpc.CallOption) (*GetChainMetaResponse, error)
// get server version
GetServerMeta(ctx context.Context, in *GetServerMetaRequest, opts ...grpc.CallOption) (*GetServerMetaResponse, error)
// sendAction
SendAction(ctx context.Context, in *SendActionRequest, opts ...grpc.CallOption) (*SendActionResponse, error)
// get receipt by action Hash
GetReceiptByAction(ctx context.Context, in *GetReceiptByActionRequest, opts ...grpc.CallOption) (*GetReceiptByActionResponse, error)
// TODO: read contract
ReadContract(ctx context.Context, in *ReadContractRequest, opts ...grpc.CallOption) (*ReadContractResponse, error)
// suggest gas price
SuggestGasPrice(ctx context.Context, in *SuggestGasPriceRequest, opts ...grpc.CallOption) (*SuggestGasPriceResponse, error)
// estimate gas for action
EstimateGasForAction(ctx context.Context, in *EstimateGasForActionRequest, opts ...grpc.CallOption) (*EstimateGasForActionResponse, 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 actions by addr
// this is to WA grpc-gateway cannot handle oneof message
// refer to https://github.com/grpc-ecosystem/grpc-gateway/issues/753
GetActionsByAddress(ctx context.Context, in *GetActionsByAddressRequest, opts ...grpc.CallOption) (*GetActionsResponse, error)
}
APIServiceClient is the client API for APIService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAPIServiceClient ¶
func NewAPIServiceClient(cc *grpc.ClientConn) APIServiceClient
type APIServiceServer ¶
type APIServiceServer interface {
// get the address detail of an address
GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
// get action(s) by:
// 1. start index and action count
// 2. action hash
// 3. address with start index and action count
// 4. get unconfirmed actions by address with start index and action count
// 5. block hash with start index and action count
GetActions(context.Context, *GetActionsRequest) (*GetActionsResponse, error)
// get block metadata(s) by:
// 1. start index and block count
// 2. block hash
GetBlockMetas(context.Context, *GetBlockMetasRequest) (*GetBlockMetasResponse, error)
// get chain metadata
GetChainMeta(context.Context, *GetChainMetaRequest) (*GetChainMetaResponse, error)
// get server version
GetServerMeta(context.Context, *GetServerMetaRequest) (*GetServerMetaResponse, error)
// sendAction
SendAction(context.Context, *SendActionRequest) (*SendActionResponse, error)
// get receipt by action Hash
GetReceiptByAction(context.Context, *GetReceiptByActionRequest) (*GetReceiptByActionResponse, error)
// TODO: read contract
ReadContract(context.Context, *ReadContractRequest) (*ReadContractResponse, error)
// suggest gas price
SuggestGasPrice(context.Context, *SuggestGasPriceRequest) (*SuggestGasPriceResponse, error)
// estimate gas for action
EstimateGasForAction(context.Context, *EstimateGasForActionRequest) (*EstimateGasForActionResponse, 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 actions by addr
// this is to WA grpc-gateway cannot handle oneof message
// refer to https://github.com/grpc-ecosystem/grpc-gateway/issues/753
GetActionsByAddress(context.Context, *GetActionsByAddressRequest) (*GetActionsResponse, error)
}
APIServiceServer is the server API for APIService service.
type ActionInfo ¶
type ActionInfo struct {
Action *iotextypes.Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
ActHash string `protobuf:"bytes,2,opt,name=actHash,proto3" json:"actHash,omitempty"`
BlkHash string `protobuf:"bytes,3,opt,name=blkHash,proto3" json:"blkHash,omitempty"`
BlkHeight uint64 `protobuf:"varint,5,opt,name=blkHeight,proto3" json:"blkHeight,omitempty"`
Sender string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ActionInfo) Descriptor ¶
func (*ActionInfo) Descriptor() ([]byte, []int)
func (*ActionInfo) GetActHash ¶
func (m *ActionInfo) GetActHash() string
func (*ActionInfo) GetAction ¶
func (m *ActionInfo) GetAction() *iotextypes.Action
func (*ActionInfo) GetBlkHash ¶
func (m *ActionInfo) GetBlkHash() string
func (*ActionInfo) GetBlkHeight ¶ added in v0.2.0
func (m *ActionInfo) GetBlkHeight() uint64
func (*ActionInfo) GetSender ¶ added in v0.2.0
func (m *ActionInfo) GetSender() string
func (*ActionInfo) GetTimestamp ¶
func (m *ActionInfo) GetTimestamp() *timestamp.Timestamp
func (*ActionInfo) ProtoMessage ¶
func (*ActionInfo) ProtoMessage()
func (*ActionInfo) Reset ¶
func (m *ActionInfo) Reset()
func (*ActionInfo) String ¶
func (m *ActionInfo) String() string
func (*ActionInfo) XXX_DiscardUnknown ¶
func (m *ActionInfo) XXX_DiscardUnknown()
func (*ActionInfo) XXX_Marshal ¶
func (m *ActionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionInfo) XXX_Merge ¶
func (m *ActionInfo) XXX_Merge(src proto.Message)
func (*ActionInfo) XXX_Size ¶
func (m *ActionInfo) XXX_Size() int
func (*ActionInfo) XXX_Unmarshal ¶
func (m *ActionInfo) XXX_Unmarshal(b []byte) error
type BlockInfo ¶
type BlockInfo struct {
Block *iotextypes.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
Receipts []*iotextypes.Receipt `protobuf:"bytes,2,rep,name=receipts,proto3" json:"receipts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockInfo) Descriptor ¶
func (*BlockInfo) GetBlock ¶
func (m *BlockInfo) GetBlock() *iotextypes.Block
func (*BlockInfo) GetReceipts ¶
func (m *BlockInfo) GetReceipts() []*iotextypes.Receipt
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) XXX_DiscardUnknown ¶
func (m *BlockInfo) XXX_DiscardUnknown()
func (*BlockInfo) XXX_Marshal ¶
func (*BlockInfo) XXX_Unmarshal ¶
type BlockProducerInfo ¶
type BlockProducerInfo struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Votes string `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"`
Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
Production uint64 `protobuf:"varint,4,opt,name=production,proto3" json:"production,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockProducerInfo) Descriptor ¶
func (*BlockProducerInfo) Descriptor() ([]byte, []int)
func (*BlockProducerInfo) GetActive ¶
func (m *BlockProducerInfo) GetActive() bool
func (*BlockProducerInfo) GetAddress ¶
func (m *BlockProducerInfo) GetAddress() string
func (*BlockProducerInfo) GetProduction ¶
func (m *BlockProducerInfo) GetProduction() uint64
func (*BlockProducerInfo) GetVotes ¶
func (m *BlockProducerInfo) GetVotes() string
func (*BlockProducerInfo) ProtoMessage ¶
func (*BlockProducerInfo) ProtoMessage()
func (*BlockProducerInfo) Reset ¶
func (m *BlockProducerInfo) Reset()
func (*BlockProducerInfo) String ¶
func (m *BlockProducerInfo) String() string
func (*BlockProducerInfo) XXX_DiscardUnknown ¶
func (m *BlockProducerInfo) XXX_DiscardUnknown()
func (*BlockProducerInfo) XXX_Marshal ¶
func (m *BlockProducerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockProducerInfo) XXX_Merge ¶
func (m *BlockProducerInfo) XXX_Merge(src proto.Message)
func (*BlockProducerInfo) XXX_Size ¶
func (m *BlockProducerInfo) XXX_Size() int
func (*BlockProducerInfo) XXX_Unmarshal ¶
func (m *BlockProducerInfo) XXX_Unmarshal(b []byte) error
type EstimateGasForActionRequest ¶
type EstimateGasForActionRequest struct {
Action *iotextypes.Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EstimateGasForActionRequest) Descriptor ¶
func (*EstimateGasForActionRequest) Descriptor() ([]byte, []int)
func (*EstimateGasForActionRequest) GetAction ¶
func (m *EstimateGasForActionRequest) GetAction() *iotextypes.Action
func (*EstimateGasForActionRequest) ProtoMessage ¶
func (*EstimateGasForActionRequest) ProtoMessage()
func (*EstimateGasForActionRequest) Reset ¶
func (m *EstimateGasForActionRequest) Reset()
func (*EstimateGasForActionRequest) String ¶
func (m *EstimateGasForActionRequest) String() string
func (*EstimateGasForActionRequest) XXX_DiscardUnknown ¶
func (m *EstimateGasForActionRequest) XXX_DiscardUnknown()
func (*EstimateGasForActionRequest) XXX_Marshal ¶
func (m *EstimateGasForActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateGasForActionRequest) XXX_Merge ¶
func (m *EstimateGasForActionRequest) XXX_Merge(src proto.Message)
func (*EstimateGasForActionRequest) XXX_Size ¶
func (m *EstimateGasForActionRequest) XXX_Size() int
func (*EstimateGasForActionRequest) XXX_Unmarshal ¶
func (m *EstimateGasForActionRequest) XXX_Unmarshal(b []byte) error
type EstimateGasForActionResponse ¶
type EstimateGasForActionResponse struct {
Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EstimateGasForActionResponse) Descriptor ¶
func (*EstimateGasForActionResponse) Descriptor() ([]byte, []int)
func (*EstimateGasForActionResponse) GetGas ¶
func (m *EstimateGasForActionResponse) GetGas() uint64
func (*EstimateGasForActionResponse) ProtoMessage ¶
func (*EstimateGasForActionResponse) ProtoMessage()
func (*EstimateGasForActionResponse) Reset ¶
func (m *EstimateGasForActionResponse) Reset()
func (*EstimateGasForActionResponse) String ¶
func (m *EstimateGasForActionResponse) String() string
func (*EstimateGasForActionResponse) XXX_DiscardUnknown ¶
func (m *EstimateGasForActionResponse) XXX_DiscardUnknown()
func (*EstimateGasForActionResponse) XXX_Marshal ¶
func (m *EstimateGasForActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateGasForActionResponse) XXX_Merge ¶
func (m *EstimateGasForActionResponse) XXX_Merge(src proto.Message)
func (*EstimateGasForActionResponse) XXX_Size ¶
func (m *EstimateGasForActionResponse) XXX_Size() int
func (*EstimateGasForActionResponse) XXX_Unmarshal ¶
func (m *EstimateGasForActionResponse) XXX_Unmarshal(b []byte) error
type GetAccountRequest ¶
type GetAccountRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetAccountRequest) Descriptor ¶
func (*GetAccountRequest) Descriptor() ([]byte, []int)
func (*GetAccountRequest) GetAddress ¶
func (m *GetAccountRequest) GetAddress() string
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) Reset ¶
func (m *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (m *GetAccountRequest) String() string
func (*GetAccountRequest) XXX_DiscardUnknown ¶
func (m *GetAccountRequest) XXX_DiscardUnknown()
func (*GetAccountRequest) XXX_Marshal ¶
func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountRequest) XXX_Merge ¶
func (m *GetAccountRequest) XXX_Merge(src proto.Message)
func (*GetAccountRequest) XXX_Size ¶
func (m *GetAccountRequest) XXX_Size() int
func (*GetAccountRequest) XXX_Unmarshal ¶
func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error
type GetAccountResponse ¶
type GetAccountResponse struct {
AccountMeta *iotextypes.AccountMeta `protobuf:"bytes,1,opt,name=accountMeta,proto3" json:"accountMeta,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetAccountResponse) Descriptor ¶
func (*GetAccountResponse) Descriptor() ([]byte, []int)
func (*GetAccountResponse) GetAccountMeta ¶
func (m *GetAccountResponse) GetAccountMeta() *iotextypes.AccountMeta
func (*GetAccountResponse) ProtoMessage ¶
func (*GetAccountResponse) ProtoMessage()
func (*GetAccountResponse) Reset ¶
func (m *GetAccountResponse) Reset()
func (*GetAccountResponse) String ¶
func (m *GetAccountResponse) String() string
func (*GetAccountResponse) XXX_DiscardUnknown ¶
func (m *GetAccountResponse) XXX_DiscardUnknown()
func (*GetAccountResponse) XXX_Marshal ¶
func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountResponse) XXX_Merge ¶
func (m *GetAccountResponse) XXX_Merge(src proto.Message)
func (*GetAccountResponse) XXX_Size ¶
func (m *GetAccountResponse) XXX_Size() int
func (*GetAccountResponse) XXX_Unmarshal ¶
func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error
type GetActionByHashRequest ¶
type GetActionByHashRequest struct {
ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
CheckPending bool `protobuf:"varint,2,opt,name=checkPending,proto3" json:"checkPending,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionByHashRequest) Descriptor ¶
func (*GetActionByHashRequest) Descriptor() ([]byte, []int)
func (*GetActionByHashRequest) GetActionHash ¶
func (m *GetActionByHashRequest) GetActionHash() string
func (*GetActionByHashRequest) GetCheckPending ¶
func (m *GetActionByHashRequest) GetCheckPending() bool
func (*GetActionByHashRequest) ProtoMessage ¶
func (*GetActionByHashRequest) ProtoMessage()
func (*GetActionByHashRequest) Reset ¶
func (m *GetActionByHashRequest) Reset()
func (*GetActionByHashRequest) String ¶
func (m *GetActionByHashRequest) String() string
func (*GetActionByHashRequest) XXX_DiscardUnknown ¶
func (m *GetActionByHashRequest) XXX_DiscardUnknown()
func (*GetActionByHashRequest) XXX_Marshal ¶
func (m *GetActionByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionByHashRequest) XXX_Merge ¶
func (m *GetActionByHashRequest) XXX_Merge(src proto.Message)
func (*GetActionByHashRequest) XXX_Size ¶
func (m *GetActionByHashRequest) XXX_Size() int
func (*GetActionByHashRequest) XXX_Unmarshal ¶
func (m *GetActionByHashRequest) XXX_Unmarshal(b []byte) error
type GetActionsByAddressRequest ¶
type GetActionsByAddressRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Start uint64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsByAddressRequest) Descriptor ¶
func (*GetActionsByAddressRequest) Descriptor() ([]byte, []int)
func (*GetActionsByAddressRequest) GetAddress ¶
func (m *GetActionsByAddressRequest) GetAddress() string
func (*GetActionsByAddressRequest) GetCount ¶
func (m *GetActionsByAddressRequest) GetCount() uint64
func (*GetActionsByAddressRequest) GetStart ¶
func (m *GetActionsByAddressRequest) GetStart() uint64
func (*GetActionsByAddressRequest) ProtoMessage ¶
func (*GetActionsByAddressRequest) ProtoMessage()
func (*GetActionsByAddressRequest) Reset ¶
func (m *GetActionsByAddressRequest) Reset()
func (*GetActionsByAddressRequest) String ¶
func (m *GetActionsByAddressRequest) String() string
func (*GetActionsByAddressRequest) XXX_DiscardUnknown ¶
func (m *GetActionsByAddressRequest) XXX_DiscardUnknown()
func (*GetActionsByAddressRequest) XXX_Marshal ¶
func (m *GetActionsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsByAddressRequest) XXX_Merge ¶
func (m *GetActionsByAddressRequest) XXX_Merge(src proto.Message)
func (*GetActionsByAddressRequest) XXX_Size ¶
func (m *GetActionsByAddressRequest) XXX_Size() int
func (*GetActionsByAddressRequest) XXX_Unmarshal ¶
func (m *GetActionsByAddressRequest) XXX_Unmarshal(b []byte) error
type GetActionsByBlockRequest ¶
type GetActionsByBlockRequest struct {
BlkHash string `protobuf:"bytes,1,opt,name=blkHash,proto3" json:"blkHash,omitempty"`
Start uint64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsByBlockRequest) Descriptor ¶
func (*GetActionsByBlockRequest) Descriptor() ([]byte, []int)
func (*GetActionsByBlockRequest) GetBlkHash ¶
func (m *GetActionsByBlockRequest) GetBlkHash() string
func (*GetActionsByBlockRequest) GetCount ¶
func (m *GetActionsByBlockRequest) GetCount() uint64
func (*GetActionsByBlockRequest) GetStart ¶
func (m *GetActionsByBlockRequest) GetStart() uint64
func (*GetActionsByBlockRequest) ProtoMessage ¶
func (*GetActionsByBlockRequest) ProtoMessage()
func (*GetActionsByBlockRequest) Reset ¶
func (m *GetActionsByBlockRequest) Reset()
func (*GetActionsByBlockRequest) String ¶
func (m *GetActionsByBlockRequest) String() string
func (*GetActionsByBlockRequest) XXX_DiscardUnknown ¶
func (m *GetActionsByBlockRequest) XXX_DiscardUnknown()
func (*GetActionsByBlockRequest) XXX_Marshal ¶
func (m *GetActionsByBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsByBlockRequest) XXX_Merge ¶
func (m *GetActionsByBlockRequest) XXX_Merge(src proto.Message)
func (*GetActionsByBlockRequest) XXX_Size ¶
func (m *GetActionsByBlockRequest) XXX_Size() int
func (*GetActionsByBlockRequest) XXX_Unmarshal ¶
func (m *GetActionsByBlockRequest) XXX_Unmarshal(b []byte) error
type GetActionsByIndexRequest ¶
type GetActionsByIndexRequest struct {
Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsByIndexRequest) Descriptor ¶
func (*GetActionsByIndexRequest) Descriptor() ([]byte, []int)
func (*GetActionsByIndexRequest) GetCount ¶
func (m *GetActionsByIndexRequest) GetCount() uint64
func (*GetActionsByIndexRequest) GetStart ¶
func (m *GetActionsByIndexRequest) GetStart() uint64
func (*GetActionsByIndexRequest) ProtoMessage ¶
func (*GetActionsByIndexRequest) ProtoMessage()
func (*GetActionsByIndexRequest) Reset ¶
func (m *GetActionsByIndexRequest) Reset()
func (*GetActionsByIndexRequest) String ¶
func (m *GetActionsByIndexRequest) String() string
func (*GetActionsByIndexRequest) XXX_DiscardUnknown ¶
func (m *GetActionsByIndexRequest) XXX_DiscardUnknown()
func (*GetActionsByIndexRequest) XXX_Marshal ¶
func (m *GetActionsByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsByIndexRequest) XXX_Merge ¶
func (m *GetActionsByIndexRequest) XXX_Merge(src proto.Message)
func (*GetActionsByIndexRequest) XXX_Size ¶
func (m *GetActionsByIndexRequest) XXX_Size() int
func (*GetActionsByIndexRequest) XXX_Unmarshal ¶
func (m *GetActionsByIndexRequest) XXX_Unmarshal(b []byte) error
type GetActionsRequest ¶
type GetActionsRequest struct {
// Types that are valid to be assigned to Lookup:
// *GetActionsRequest_ByIndex
// *GetActionsRequest_ByHash
// *GetActionsRequest_ByAddr
// *GetActionsRequest_UnconfirmedByAddr
// *GetActionsRequest_ByBlk
Lookup isGetActionsRequest_Lookup `protobuf_oneof:"lookup"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsRequest) Descriptor ¶
func (*GetActionsRequest) Descriptor() ([]byte, []int)
func (*GetActionsRequest) GetByAddr ¶
func (m *GetActionsRequest) GetByAddr() *GetActionsByAddressRequest
func (*GetActionsRequest) GetByBlk ¶
func (m *GetActionsRequest) GetByBlk() *GetActionsByBlockRequest
func (*GetActionsRequest) GetByHash ¶
func (m *GetActionsRequest) GetByHash() *GetActionByHashRequest
func (*GetActionsRequest) GetByIndex ¶
func (m *GetActionsRequest) GetByIndex() *GetActionsByIndexRequest
func (*GetActionsRequest) GetLookup ¶
func (m *GetActionsRequest) GetLookup() isGetActionsRequest_Lookup
func (*GetActionsRequest) GetUnconfirmedByAddr ¶
func (m *GetActionsRequest) GetUnconfirmedByAddr() *GetUnconfirmedActionsByAddressRequest
func (*GetActionsRequest) ProtoMessage ¶
func (*GetActionsRequest) ProtoMessage()
func (*GetActionsRequest) Reset ¶
func (m *GetActionsRequest) Reset()
func (*GetActionsRequest) String ¶
func (m *GetActionsRequest) String() string
func (*GetActionsRequest) XXX_DiscardUnknown ¶
func (m *GetActionsRequest) XXX_DiscardUnknown()
func (*GetActionsRequest) XXX_Marshal ¶
func (m *GetActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsRequest) XXX_Merge ¶
func (m *GetActionsRequest) XXX_Merge(src proto.Message)
func (*GetActionsRequest) XXX_OneofWrappers ¶
func (*GetActionsRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GetActionsRequest) XXX_Size ¶
func (m *GetActionsRequest) XXX_Size() int
func (*GetActionsRequest) XXX_Unmarshal ¶
func (m *GetActionsRequest) XXX_Unmarshal(b []byte) error
type GetActionsRequest_ByAddr ¶
type GetActionsRequest_ByAddr struct {
ByAddr *GetActionsByAddressRequest `protobuf:"bytes,3,opt,name=byAddr,proto3,oneof"`
}
type GetActionsRequest_ByBlk ¶
type GetActionsRequest_ByBlk struct {
ByBlk *GetActionsByBlockRequest `protobuf:"bytes,5,opt,name=byBlk,proto3,oneof"`
}
type GetActionsRequest_ByHash ¶
type GetActionsRequest_ByHash struct {
ByHash *GetActionByHashRequest `protobuf:"bytes,2,opt,name=byHash,proto3,oneof"`
}
type GetActionsRequest_ByIndex ¶
type GetActionsRequest_ByIndex struct {
ByIndex *GetActionsByIndexRequest `protobuf:"bytes,1,opt,name=byIndex,proto3,oneof"`
}
type GetActionsRequest_UnconfirmedByAddr ¶
type GetActionsRequest_UnconfirmedByAddr struct {
UnconfirmedByAddr *GetUnconfirmedActionsByAddressRequest `protobuf:"bytes,4,opt,name=unconfirmedByAddr,proto3,oneof"`
}
type GetActionsResponse ¶
type GetActionsResponse struct {
Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
ActionInfo []*ActionInfo `protobuf:"bytes,1,rep,name=actionInfo,proto3" json:"actionInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetActionsResponse) Descriptor ¶
func (*GetActionsResponse) Descriptor() ([]byte, []int)
func (*GetActionsResponse) GetActionInfo ¶
func (m *GetActionsResponse) GetActionInfo() []*ActionInfo
func (*GetActionsResponse) GetTotal ¶ added in v0.2.0
func (m *GetActionsResponse) GetTotal() uint64
func (*GetActionsResponse) ProtoMessage ¶
func (*GetActionsResponse) ProtoMessage()
func (*GetActionsResponse) Reset ¶
func (m *GetActionsResponse) Reset()
func (*GetActionsResponse) String ¶
func (m *GetActionsResponse) String() string
func (*GetActionsResponse) XXX_DiscardUnknown ¶
func (m *GetActionsResponse) XXX_DiscardUnknown()
func (*GetActionsResponse) XXX_Marshal ¶
func (m *GetActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsResponse) XXX_Merge ¶
func (m *GetActionsResponse) XXX_Merge(src proto.Message)
func (*GetActionsResponse) XXX_Size ¶
func (m *GetActionsResponse) XXX_Size() int
func (*GetActionsResponse) XXX_Unmarshal ¶
func (m *GetActionsResponse) XXX_Unmarshal(b []byte) error
type GetBlockMetaByHashRequest ¶
type GetBlockMetaByHashRequest struct {
BlkHash string `protobuf:"bytes,1,opt,name=blkHash,proto3" json:"blkHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockMetaByHashRequest) Descriptor ¶
func (*GetBlockMetaByHashRequest) Descriptor() ([]byte, []int)
func (*GetBlockMetaByHashRequest) GetBlkHash ¶
func (m *GetBlockMetaByHashRequest) GetBlkHash() string
func (*GetBlockMetaByHashRequest) ProtoMessage ¶
func (*GetBlockMetaByHashRequest) ProtoMessage()
func (*GetBlockMetaByHashRequest) Reset ¶
func (m *GetBlockMetaByHashRequest) Reset()
func (*GetBlockMetaByHashRequest) String ¶
func (m *GetBlockMetaByHashRequest) String() string
func (*GetBlockMetaByHashRequest) XXX_DiscardUnknown ¶
func (m *GetBlockMetaByHashRequest) XXX_DiscardUnknown()
func (*GetBlockMetaByHashRequest) XXX_Marshal ¶
func (m *GetBlockMetaByHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockMetaByHashRequest) XXX_Merge ¶
func (m *GetBlockMetaByHashRequest) XXX_Merge(src proto.Message)
func (*GetBlockMetaByHashRequest) XXX_Size ¶
func (m *GetBlockMetaByHashRequest) XXX_Size() int
func (*GetBlockMetaByHashRequest) XXX_Unmarshal ¶
func (m *GetBlockMetaByHashRequest) XXX_Unmarshal(b []byte) error
type GetBlockMetasByIndexRequest ¶
type GetBlockMetasByIndexRequest struct {
Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockMetasByIndexRequest) Descriptor ¶
func (*GetBlockMetasByIndexRequest) Descriptor() ([]byte, []int)
func (*GetBlockMetasByIndexRequest) GetCount ¶
func (m *GetBlockMetasByIndexRequest) GetCount() uint64
func (*GetBlockMetasByIndexRequest) GetStart ¶
func (m *GetBlockMetasByIndexRequest) GetStart() uint64
func (*GetBlockMetasByIndexRequest) ProtoMessage ¶
func (*GetBlockMetasByIndexRequest) ProtoMessage()
func (*GetBlockMetasByIndexRequest) Reset ¶
func (m *GetBlockMetasByIndexRequest) Reset()
func (*GetBlockMetasByIndexRequest) String ¶
func (m *GetBlockMetasByIndexRequest) String() string
func (*GetBlockMetasByIndexRequest) XXX_DiscardUnknown ¶
func (m *GetBlockMetasByIndexRequest) XXX_DiscardUnknown()
func (*GetBlockMetasByIndexRequest) XXX_Marshal ¶
func (m *GetBlockMetasByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockMetasByIndexRequest) XXX_Merge ¶
func (m *GetBlockMetasByIndexRequest) XXX_Merge(src proto.Message)
func (*GetBlockMetasByIndexRequest) XXX_Size ¶
func (m *GetBlockMetasByIndexRequest) XXX_Size() int
func (*GetBlockMetasByIndexRequest) XXX_Unmarshal ¶
func (m *GetBlockMetasByIndexRequest) XXX_Unmarshal(b []byte) error
type GetBlockMetasRequest ¶
type GetBlockMetasRequest struct {
// Types that are valid to be assigned to Lookup:
// *GetBlockMetasRequest_ByIndex
// *GetBlockMetasRequest_ByHash
Lookup isGetBlockMetasRequest_Lookup `protobuf_oneof:"lookup"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockMetasRequest) Descriptor ¶
func (*GetBlockMetasRequest) Descriptor() ([]byte, []int)
func (*GetBlockMetasRequest) GetByHash ¶
func (m *GetBlockMetasRequest) GetByHash() *GetBlockMetaByHashRequest
func (*GetBlockMetasRequest) GetByIndex ¶
func (m *GetBlockMetasRequest) GetByIndex() *GetBlockMetasByIndexRequest
func (*GetBlockMetasRequest) GetLookup ¶
func (m *GetBlockMetasRequest) GetLookup() isGetBlockMetasRequest_Lookup
func (*GetBlockMetasRequest) ProtoMessage ¶
func (*GetBlockMetasRequest) ProtoMessage()
func (*GetBlockMetasRequest) Reset ¶
func (m *GetBlockMetasRequest) Reset()
func (*GetBlockMetasRequest) String ¶
func (m *GetBlockMetasRequest) String() string
func (*GetBlockMetasRequest) XXX_DiscardUnknown ¶
func (m *GetBlockMetasRequest) XXX_DiscardUnknown()
func (*GetBlockMetasRequest) XXX_Marshal ¶
func (m *GetBlockMetasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockMetasRequest) XXX_Merge ¶
func (m *GetBlockMetasRequest) XXX_Merge(src proto.Message)
func (*GetBlockMetasRequest) XXX_OneofWrappers ¶
func (*GetBlockMetasRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GetBlockMetasRequest) XXX_Size ¶
func (m *GetBlockMetasRequest) XXX_Size() int
func (*GetBlockMetasRequest) XXX_Unmarshal ¶
func (m *GetBlockMetasRequest) XXX_Unmarshal(b []byte) error
type GetBlockMetasRequest_ByHash ¶
type GetBlockMetasRequest_ByHash struct {
ByHash *GetBlockMetaByHashRequest `protobuf:"bytes,2,opt,name=byHash,proto3,oneof"`
}
type GetBlockMetasRequest_ByIndex ¶
type GetBlockMetasRequest_ByIndex struct {
ByIndex *GetBlockMetasByIndexRequest `protobuf:"bytes,1,opt,name=byIndex,proto3,oneof"`
}
type GetBlockMetasResponse ¶
type GetBlockMetasResponse struct {
Total uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
BlkMetas []*iotextypes.BlockMeta `protobuf:"bytes,1,rep,name=blkMetas,proto3" json:"blkMetas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBlockMetasResponse) Descriptor ¶
func (*GetBlockMetasResponse) Descriptor() ([]byte, []int)
func (*GetBlockMetasResponse) GetBlkMetas ¶
func (m *GetBlockMetasResponse) GetBlkMetas() []*iotextypes.BlockMeta
func (*GetBlockMetasResponse) GetTotal ¶ added in v0.2.0
func (m *GetBlockMetasResponse) GetTotal() uint64
func (*GetBlockMetasResponse) ProtoMessage ¶
func (*GetBlockMetasResponse) ProtoMessage()
func (*GetBlockMetasResponse) Reset ¶
func (m *GetBlockMetasResponse) Reset()
func (*GetBlockMetasResponse) String ¶
func (m *GetBlockMetasResponse) String() string
func (*GetBlockMetasResponse) XXX_DiscardUnknown ¶
func (m *GetBlockMetasResponse) XXX_DiscardUnknown()
func (*GetBlockMetasResponse) XXX_Marshal ¶
func (m *GetBlockMetasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockMetasResponse) XXX_Merge ¶
func (m *GetBlockMetasResponse) XXX_Merge(src proto.Message)
func (*GetBlockMetasResponse) XXX_Size ¶
func (m *GetBlockMetasResponse) XXX_Size() int
func (*GetBlockMetasResponse) XXX_Unmarshal ¶
func (m *GetBlockMetasResponse) XXX_Unmarshal(b []byte) error
type GetChainMetaRequest ¶
type GetChainMetaRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetChainMetaRequest) Descriptor ¶
func (*GetChainMetaRequest) Descriptor() ([]byte, []int)
func (*GetChainMetaRequest) ProtoMessage ¶
func (*GetChainMetaRequest) ProtoMessage()
func (*GetChainMetaRequest) Reset ¶
func (m *GetChainMetaRequest) Reset()
func (*GetChainMetaRequest) String ¶
func (m *GetChainMetaRequest) String() string
func (*GetChainMetaRequest) XXX_DiscardUnknown ¶
func (m *GetChainMetaRequest) XXX_DiscardUnknown()
func (*GetChainMetaRequest) XXX_Marshal ¶
func (m *GetChainMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetChainMetaRequest) XXX_Merge ¶
func (m *GetChainMetaRequest) XXX_Merge(src proto.Message)
func (*GetChainMetaRequest) XXX_Size ¶
func (m *GetChainMetaRequest) XXX_Size() int
func (*GetChainMetaRequest) XXX_Unmarshal ¶
func (m *GetChainMetaRequest) XXX_Unmarshal(b []byte) error
type GetChainMetaResponse ¶
type GetChainMetaResponse struct {
ChainMeta *iotextypes.ChainMeta `protobuf:"bytes,1,opt,name=chainMeta,proto3" json:"chainMeta,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetChainMetaResponse) Descriptor ¶
func (*GetChainMetaResponse) Descriptor() ([]byte, []int)
func (*GetChainMetaResponse) GetChainMeta ¶
func (m *GetChainMetaResponse) GetChainMeta() *iotextypes.ChainMeta
func (*GetChainMetaResponse) ProtoMessage ¶
func (*GetChainMetaResponse) ProtoMessage()
func (*GetChainMetaResponse) Reset ¶
func (m *GetChainMetaResponse) Reset()
func (*GetChainMetaResponse) String ¶
func (m *GetChainMetaResponse) String() string
func (*GetChainMetaResponse) XXX_DiscardUnknown ¶
func (m *GetChainMetaResponse) XXX_DiscardUnknown()
func (*GetChainMetaResponse) XXX_Marshal ¶
func (m *GetChainMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetChainMetaResponse) XXX_Merge ¶
func (m *GetChainMetaResponse) XXX_Merge(src proto.Message)
func (*GetChainMetaResponse) XXX_Size ¶
func (m *GetChainMetaResponse) XXX_Size() int
func (*GetChainMetaResponse) XXX_Unmarshal ¶
func (m *GetChainMetaResponse) XXX_Unmarshal(b []byte) error
type GetEpochMetaRequest ¶
type GetEpochMetaRequest struct {
EpochNumber uint64 `protobuf:"varint,1,opt,name=epochNumber,proto3" json:"epochNumber,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetEpochMetaRequest) Descriptor ¶
func (*GetEpochMetaRequest) Descriptor() ([]byte, []int)
func (*GetEpochMetaRequest) GetEpochNumber ¶
func (m *GetEpochMetaRequest) GetEpochNumber() uint64
func (*GetEpochMetaRequest) ProtoMessage ¶
func (*GetEpochMetaRequest) ProtoMessage()
func (*GetEpochMetaRequest) Reset ¶
func (m *GetEpochMetaRequest) Reset()
func (*GetEpochMetaRequest) String ¶
func (m *GetEpochMetaRequest) String() string
func (*GetEpochMetaRequest) XXX_DiscardUnknown ¶
func (m *GetEpochMetaRequest) XXX_DiscardUnknown()
func (*GetEpochMetaRequest) XXX_Marshal ¶
func (m *GetEpochMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEpochMetaRequest) XXX_Merge ¶
func (m *GetEpochMetaRequest) XXX_Merge(src proto.Message)
func (*GetEpochMetaRequest) XXX_Size ¶
func (m *GetEpochMetaRequest) XXX_Size() int
func (*GetEpochMetaRequest) XXX_Unmarshal ¶
func (m *GetEpochMetaRequest) XXX_Unmarshal(b []byte) error
type GetEpochMetaResponse ¶
type GetEpochMetaResponse struct {
EpochData *iotextypes.EpochData `protobuf:"bytes,1,opt,name=epochData,proto3" json:"epochData,omitempty"`
TotalBlocks uint64 `protobuf:"varint,2,opt,name=totalBlocks,proto3" json:"totalBlocks,omitempty"`
BlockProducersInfo []*BlockProducerInfo `protobuf:"bytes,3,rep,name=blockProducersInfo,proto3" json:"blockProducersInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetEpochMetaResponse) Descriptor ¶
func (*GetEpochMetaResponse) Descriptor() ([]byte, []int)
func (*GetEpochMetaResponse) GetBlockProducersInfo ¶
func (m *GetEpochMetaResponse) GetBlockProducersInfo() []*BlockProducerInfo
func (*GetEpochMetaResponse) GetEpochData ¶
func (m *GetEpochMetaResponse) GetEpochData() *iotextypes.EpochData
func (*GetEpochMetaResponse) GetTotalBlocks ¶
func (m *GetEpochMetaResponse) GetTotalBlocks() uint64
func (*GetEpochMetaResponse) ProtoMessage ¶
func (*GetEpochMetaResponse) ProtoMessage()
func (*GetEpochMetaResponse) Reset ¶
func (m *GetEpochMetaResponse) Reset()
func (*GetEpochMetaResponse) String ¶
func (m *GetEpochMetaResponse) String() string
func (*GetEpochMetaResponse) XXX_DiscardUnknown ¶
func (m *GetEpochMetaResponse) XXX_DiscardUnknown()
func (*GetEpochMetaResponse) XXX_Marshal ¶
func (m *GetEpochMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEpochMetaResponse) XXX_Merge ¶
func (m *GetEpochMetaResponse) XXX_Merge(src proto.Message)
func (*GetEpochMetaResponse) XXX_Size ¶
func (m *GetEpochMetaResponse) XXX_Size() int
func (*GetEpochMetaResponse) XXX_Unmarshal ¶
func (m *GetEpochMetaResponse) XXX_Unmarshal(b []byte) error
type GetRawBlocksRequest ¶
type GetRawBlocksRequest struct {
StartHeight uint64 `protobuf:"varint,1,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
WithReceipts bool `protobuf:"varint,3,opt,name=withReceipts,proto3" json:"withReceipts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetRawBlocksRequest) Descriptor ¶
func (*GetRawBlocksRequest) Descriptor() ([]byte, []int)
func (*GetRawBlocksRequest) GetCount ¶
func (m *GetRawBlocksRequest) GetCount() uint64
func (*GetRawBlocksRequest) GetStartHeight ¶
func (m *GetRawBlocksRequest) GetStartHeight() uint64
func (*GetRawBlocksRequest) GetWithReceipts ¶
func (m *GetRawBlocksRequest) GetWithReceipts() bool
func (*GetRawBlocksRequest) ProtoMessage ¶
func (*GetRawBlocksRequest) ProtoMessage()
func (*GetRawBlocksRequest) Reset ¶
func (m *GetRawBlocksRequest) Reset()
func (*GetRawBlocksRequest) String ¶
func (m *GetRawBlocksRequest) String() string
func (*GetRawBlocksRequest) XXX_DiscardUnknown ¶
func (m *GetRawBlocksRequest) XXX_DiscardUnknown()
func (*GetRawBlocksRequest) XXX_Marshal ¶
func (m *GetRawBlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawBlocksRequest) XXX_Merge ¶
func (m *GetRawBlocksRequest) XXX_Merge(src proto.Message)
func (*GetRawBlocksRequest) XXX_Size ¶
func (m *GetRawBlocksRequest) XXX_Size() int
func (*GetRawBlocksRequest) XXX_Unmarshal ¶
func (m *GetRawBlocksRequest) XXX_Unmarshal(b []byte) error
type GetRawBlocksResponse ¶
type GetRawBlocksResponse struct {
Blocks []*BlockInfo `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetRawBlocksResponse) Descriptor ¶
func (*GetRawBlocksResponse) Descriptor() ([]byte, []int)
func (*GetRawBlocksResponse) GetBlocks ¶
func (m *GetRawBlocksResponse) GetBlocks() []*BlockInfo
func (*GetRawBlocksResponse) ProtoMessage ¶
func (*GetRawBlocksResponse) ProtoMessage()
func (*GetRawBlocksResponse) Reset ¶
func (m *GetRawBlocksResponse) Reset()
func (*GetRawBlocksResponse) String ¶
func (m *GetRawBlocksResponse) String() string
func (*GetRawBlocksResponse) XXX_DiscardUnknown ¶
func (m *GetRawBlocksResponse) XXX_DiscardUnknown()
func (*GetRawBlocksResponse) XXX_Marshal ¶
func (m *GetRawBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRawBlocksResponse) XXX_Merge ¶
func (m *GetRawBlocksResponse) XXX_Merge(src proto.Message)
func (*GetRawBlocksResponse) XXX_Size ¶
func (m *GetRawBlocksResponse) XXX_Size() int
func (*GetRawBlocksResponse) XXX_Unmarshal ¶
func (m *GetRawBlocksResponse) XXX_Unmarshal(b []byte) error
type GetReceiptByActionRequest ¶
type GetReceiptByActionRequest struct {
ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetReceiptByActionRequest) Descriptor ¶
func (*GetReceiptByActionRequest) Descriptor() ([]byte, []int)
func (*GetReceiptByActionRequest) GetActionHash ¶
func (m *GetReceiptByActionRequest) GetActionHash() string
func (*GetReceiptByActionRequest) ProtoMessage ¶
func (*GetReceiptByActionRequest) ProtoMessage()
func (*GetReceiptByActionRequest) Reset ¶
func (m *GetReceiptByActionRequest) Reset()
func (*GetReceiptByActionRequest) String ¶
func (m *GetReceiptByActionRequest) String() string
func (*GetReceiptByActionRequest) XXX_DiscardUnknown ¶
func (m *GetReceiptByActionRequest) XXX_DiscardUnknown()
func (*GetReceiptByActionRequest) XXX_Marshal ¶
func (m *GetReceiptByActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetReceiptByActionRequest) XXX_Merge ¶
func (m *GetReceiptByActionRequest) XXX_Merge(src proto.Message)
func (*GetReceiptByActionRequest) XXX_Size ¶
func (m *GetReceiptByActionRequest) XXX_Size() int
func (*GetReceiptByActionRequest) XXX_Unmarshal ¶
func (m *GetReceiptByActionRequest) XXX_Unmarshal(b []byte) error
type GetReceiptByActionResponse ¶
type GetReceiptByActionResponse struct {
ReceiptInfo *ReceiptInfo `protobuf:"bytes,1,opt,name=receiptInfo,proto3" json:"receiptInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetReceiptByActionResponse) Descriptor ¶
func (*GetReceiptByActionResponse) Descriptor() ([]byte, []int)
func (*GetReceiptByActionResponse) GetReceiptInfo ¶
func (m *GetReceiptByActionResponse) GetReceiptInfo() *ReceiptInfo
func (*GetReceiptByActionResponse) ProtoMessage ¶
func (*GetReceiptByActionResponse) ProtoMessage()
func (*GetReceiptByActionResponse) Reset ¶
func (m *GetReceiptByActionResponse) Reset()
func (*GetReceiptByActionResponse) String ¶
func (m *GetReceiptByActionResponse) String() string
func (*GetReceiptByActionResponse) XXX_DiscardUnknown ¶
func (m *GetReceiptByActionResponse) XXX_DiscardUnknown()
func (*GetReceiptByActionResponse) XXX_Marshal ¶
func (m *GetReceiptByActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetReceiptByActionResponse) XXX_Merge ¶
func (m *GetReceiptByActionResponse) XXX_Merge(src proto.Message)
func (*GetReceiptByActionResponse) XXX_Size ¶
func (m *GetReceiptByActionResponse) XXX_Size() int
func (*GetReceiptByActionResponse) XXX_Unmarshal ¶
func (m *GetReceiptByActionResponse) XXX_Unmarshal(b []byte) error
type GetServerMetaRequest ¶
type GetServerMetaRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetServerMetaRequest) Descriptor ¶
func (*GetServerMetaRequest) Descriptor() ([]byte, []int)
func (*GetServerMetaRequest) ProtoMessage ¶
func (*GetServerMetaRequest) ProtoMessage()
func (*GetServerMetaRequest) Reset ¶
func (m *GetServerMetaRequest) Reset()
func (*GetServerMetaRequest) String ¶
func (m *GetServerMetaRequest) String() string
func (*GetServerMetaRequest) XXX_DiscardUnknown ¶
func (m *GetServerMetaRequest) XXX_DiscardUnknown()
func (*GetServerMetaRequest) XXX_Marshal ¶
func (m *GetServerMetaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerMetaRequest) XXX_Merge ¶
func (m *GetServerMetaRequest) XXX_Merge(src proto.Message)
func (*GetServerMetaRequest) XXX_Size ¶
func (m *GetServerMetaRequest) XXX_Size() int
func (*GetServerMetaRequest) XXX_Unmarshal ¶
func (m *GetServerMetaRequest) XXX_Unmarshal(b []byte) error
type GetServerMetaResponse ¶
type GetServerMetaResponse struct {
ServerMeta *iotextypes.ServerMeta `protobuf:"bytes,1,opt,name=serverMeta,proto3" json:"serverMeta,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetServerMetaResponse) Descriptor ¶
func (*GetServerMetaResponse) Descriptor() ([]byte, []int)
func (*GetServerMetaResponse) GetServerMeta ¶
func (m *GetServerMetaResponse) GetServerMeta() *iotextypes.ServerMeta
func (*GetServerMetaResponse) ProtoMessage ¶
func (*GetServerMetaResponse) ProtoMessage()
func (*GetServerMetaResponse) Reset ¶
func (m *GetServerMetaResponse) Reset()
func (*GetServerMetaResponse) String ¶
func (m *GetServerMetaResponse) String() string
func (*GetServerMetaResponse) XXX_DiscardUnknown ¶
func (m *GetServerMetaResponse) XXX_DiscardUnknown()
func (*GetServerMetaResponse) XXX_Marshal ¶
func (m *GetServerMetaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServerMetaResponse) XXX_Merge ¶
func (m *GetServerMetaResponse) XXX_Merge(src proto.Message)
func (*GetServerMetaResponse) XXX_Size ¶
func (m *GetServerMetaResponse) XXX_Size() int
func (*GetServerMetaResponse) XXX_Unmarshal ¶
func (m *GetServerMetaResponse) XXX_Unmarshal(b []byte) error
type GetUnconfirmedActionsByAddressRequest ¶
type GetUnconfirmedActionsByAddressRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Start uint64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetUnconfirmedActionsByAddressRequest) Descriptor ¶
func (*GetUnconfirmedActionsByAddressRequest) Descriptor() ([]byte, []int)
func (*GetUnconfirmedActionsByAddressRequest) GetAddress ¶
func (m *GetUnconfirmedActionsByAddressRequest) GetAddress() string
func (*GetUnconfirmedActionsByAddressRequest) GetCount ¶
func (m *GetUnconfirmedActionsByAddressRequest) GetCount() uint64
func (*GetUnconfirmedActionsByAddressRequest) GetStart ¶
func (m *GetUnconfirmedActionsByAddressRequest) GetStart() uint64
func (*GetUnconfirmedActionsByAddressRequest) ProtoMessage ¶
func (*GetUnconfirmedActionsByAddressRequest) ProtoMessage()
func (*GetUnconfirmedActionsByAddressRequest) Reset ¶
func (m *GetUnconfirmedActionsByAddressRequest) Reset()
func (*GetUnconfirmedActionsByAddressRequest) String ¶
func (m *GetUnconfirmedActionsByAddressRequest) String() string
func (*GetUnconfirmedActionsByAddressRequest) XXX_DiscardUnknown ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_DiscardUnknown()
func (*GetUnconfirmedActionsByAddressRequest) XXX_Marshal ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUnconfirmedActionsByAddressRequest) XXX_Merge ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_Merge(src proto.Message)
func (*GetUnconfirmedActionsByAddressRequest) XXX_Size ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_Size() int
func (*GetUnconfirmedActionsByAddressRequest) XXX_Unmarshal ¶
func (m *GetUnconfirmedActionsByAddressRequest) XXX_Unmarshal(b []byte) error
type ReadContractRequest ¶
type ReadContractRequest struct {
Execution *iotextypes.Execution `protobuf:"bytes,1,opt,name=execution,proto3" json:"execution,omitempty"`
CallerAddress string `protobuf:"bytes,2,opt,name=callerAddress,proto3" json:"callerAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReadContractRequest) Descriptor ¶
func (*ReadContractRequest) Descriptor() ([]byte, []int)
func (*ReadContractRequest) GetCallerAddress ¶
func (m *ReadContractRequest) GetCallerAddress() string
func (*ReadContractRequest) GetExecution ¶
func (m *ReadContractRequest) GetExecution() *iotextypes.Execution
func (*ReadContractRequest) ProtoMessage ¶
func (*ReadContractRequest) ProtoMessage()
func (*ReadContractRequest) Reset ¶
func (m *ReadContractRequest) Reset()
func (*ReadContractRequest) String ¶
func (m *ReadContractRequest) String() string
func (*ReadContractRequest) XXX_DiscardUnknown ¶
func (m *ReadContractRequest) XXX_DiscardUnknown()
func (*ReadContractRequest) XXX_Marshal ¶
func (m *ReadContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadContractRequest) XXX_Merge ¶
func (m *ReadContractRequest) XXX_Merge(src proto.Message)
func (*ReadContractRequest) XXX_Size ¶
func (m *ReadContractRequest) XXX_Size() int
func (*ReadContractRequest) XXX_Unmarshal ¶
func (m *ReadContractRequest) XXX_Unmarshal(b []byte) error
type ReadContractResponse ¶
type ReadContractResponse struct {
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
Receipt *iotextypes.Receipt `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReadContractResponse) Descriptor ¶
func (*ReadContractResponse) Descriptor() ([]byte, []int)
func (*ReadContractResponse) GetData ¶
func (m *ReadContractResponse) GetData() string
func (*ReadContractResponse) GetReceipt ¶
func (m *ReadContractResponse) GetReceipt() *iotextypes.Receipt
func (*ReadContractResponse) ProtoMessage ¶
func (*ReadContractResponse) ProtoMessage()
func (*ReadContractResponse) Reset ¶
func (m *ReadContractResponse) Reset()
func (*ReadContractResponse) String ¶
func (m *ReadContractResponse) String() string
func (*ReadContractResponse) XXX_DiscardUnknown ¶
func (m *ReadContractResponse) XXX_DiscardUnknown()
func (*ReadContractResponse) XXX_Marshal ¶
func (m *ReadContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadContractResponse) XXX_Merge ¶
func (m *ReadContractResponse) XXX_Merge(src proto.Message)
func (*ReadContractResponse) XXX_Size ¶
func (m *ReadContractResponse) XXX_Size() int
func (*ReadContractResponse) XXX_Unmarshal ¶
func (m *ReadContractResponse) XXX_Unmarshal(b []byte) error
type ReadStateRequest ¶
type ReadStateRequest struct {
ProtocolID []byte `protobuf:"bytes,1,opt,name=protocolID,proto3" json:"protocolID,omitempty"`
MethodName []byte `protobuf:"bytes,2,opt,name=methodName,proto3" json:"methodName,omitempty"`
Arguments [][]byte `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReadStateRequest) Descriptor ¶
func (*ReadStateRequest) Descriptor() ([]byte, []int)
func (*ReadStateRequest) GetArguments ¶
func (m *ReadStateRequest) GetArguments() [][]byte
func (*ReadStateRequest) GetMethodName ¶
func (m *ReadStateRequest) GetMethodName() []byte
func (*ReadStateRequest) GetProtocolID ¶
func (m *ReadStateRequest) GetProtocolID() []byte
func (*ReadStateRequest) ProtoMessage ¶
func (*ReadStateRequest) ProtoMessage()
func (*ReadStateRequest) Reset ¶
func (m *ReadStateRequest) Reset()
func (*ReadStateRequest) String ¶
func (m *ReadStateRequest) String() string
func (*ReadStateRequest) XXX_DiscardUnknown ¶
func (m *ReadStateRequest) XXX_DiscardUnknown()
func (*ReadStateRequest) XXX_Marshal ¶
func (m *ReadStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadStateRequest) XXX_Merge ¶
func (m *ReadStateRequest) XXX_Merge(src proto.Message)
func (*ReadStateRequest) XXX_Size ¶
func (m *ReadStateRequest) XXX_Size() int
func (*ReadStateRequest) XXX_Unmarshal ¶
func (m *ReadStateRequest) XXX_Unmarshal(b []byte) error
type ReadStateResponse ¶
type ReadStateResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReadStateResponse) Descriptor ¶
func (*ReadStateResponse) Descriptor() ([]byte, []int)
func (*ReadStateResponse) GetData ¶
func (m *ReadStateResponse) GetData() []byte
func (*ReadStateResponse) ProtoMessage ¶
func (*ReadStateResponse) ProtoMessage()
func (*ReadStateResponse) Reset ¶
func (m *ReadStateResponse) Reset()
func (*ReadStateResponse) String ¶
func (m *ReadStateResponse) String() string
func (*ReadStateResponse) XXX_DiscardUnknown ¶
func (m *ReadStateResponse) XXX_DiscardUnknown()
func (*ReadStateResponse) XXX_Marshal ¶
func (m *ReadStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadStateResponse) XXX_Merge ¶
func (m *ReadStateResponse) XXX_Merge(src proto.Message)
func (*ReadStateResponse) XXX_Size ¶
func (m *ReadStateResponse) XXX_Size() int
func (*ReadStateResponse) XXX_Unmarshal ¶
func (m *ReadStateResponse) XXX_Unmarshal(b []byte) error
type ReceiptInfo ¶
type ReceiptInfo struct {
Receipt *iotextypes.Receipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
BlkHash string `protobuf:"bytes,2,opt,name=blkHash,proto3" json:"blkHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReceiptInfo) Descriptor ¶
func (*ReceiptInfo) Descriptor() ([]byte, []int)
func (*ReceiptInfo) GetBlkHash ¶
func (m *ReceiptInfo) GetBlkHash() string
func (*ReceiptInfo) GetReceipt ¶
func (m *ReceiptInfo) GetReceipt() *iotextypes.Receipt
func (*ReceiptInfo) ProtoMessage ¶
func (*ReceiptInfo) ProtoMessage()
func (*ReceiptInfo) Reset ¶
func (m *ReceiptInfo) Reset()
func (*ReceiptInfo) String ¶
func (m *ReceiptInfo) String() string
func (*ReceiptInfo) XXX_DiscardUnknown ¶
func (m *ReceiptInfo) XXX_DiscardUnknown()
func (*ReceiptInfo) XXX_Marshal ¶
func (m *ReceiptInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptInfo) XXX_Merge ¶
func (m *ReceiptInfo) XXX_Merge(src proto.Message)
func (*ReceiptInfo) XXX_Size ¶
func (m *ReceiptInfo) XXX_Size() int
func (*ReceiptInfo) XXX_Unmarshal ¶
func (m *ReceiptInfo) XXX_Unmarshal(b []byte) error
type SendActionRequest ¶
type SendActionRequest struct {
Action *iotextypes.Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendActionRequest) Descriptor ¶
func (*SendActionRequest) Descriptor() ([]byte, []int)
func (*SendActionRequest) GetAction ¶
func (m *SendActionRequest) GetAction() *iotextypes.Action
func (*SendActionRequest) ProtoMessage ¶
func (*SendActionRequest) ProtoMessage()
func (*SendActionRequest) Reset ¶
func (m *SendActionRequest) Reset()
func (*SendActionRequest) String ¶
func (m *SendActionRequest) String() string
func (*SendActionRequest) XXX_DiscardUnknown ¶
func (m *SendActionRequest) XXX_DiscardUnknown()
func (*SendActionRequest) XXX_Marshal ¶
func (m *SendActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendActionRequest) XXX_Merge ¶
func (m *SendActionRequest) XXX_Merge(src proto.Message)
func (*SendActionRequest) XXX_Size ¶
func (m *SendActionRequest) XXX_Size() int
func (*SendActionRequest) XXX_Unmarshal ¶
func (m *SendActionRequest) XXX_Unmarshal(b []byte) error
type SendActionResponse ¶
type SendActionResponse struct {
ActionHash string `protobuf:"bytes,1,opt,name=actionHash,proto3" json:"actionHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendActionResponse) Descriptor ¶
func (*SendActionResponse) Descriptor() ([]byte, []int)
func (*SendActionResponse) GetActionHash ¶
func (m *SendActionResponse) GetActionHash() string
func (*SendActionResponse) ProtoMessage ¶
func (*SendActionResponse) ProtoMessage()
func (*SendActionResponse) Reset ¶
func (m *SendActionResponse) Reset()
func (*SendActionResponse) String ¶
func (m *SendActionResponse) String() string
func (*SendActionResponse) XXX_DiscardUnknown ¶
func (m *SendActionResponse) XXX_DiscardUnknown()
func (*SendActionResponse) XXX_Marshal ¶
func (m *SendActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendActionResponse) XXX_Merge ¶
func (m *SendActionResponse) XXX_Merge(src proto.Message)
func (*SendActionResponse) XXX_Size ¶
func (m *SendActionResponse) XXX_Size() int
func (*SendActionResponse) XXX_Unmarshal ¶
func (m *SendActionResponse) XXX_Unmarshal(b []byte) error
type SuggestGasPriceRequest ¶
type SuggestGasPriceRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SuggestGasPriceRequest) Descriptor ¶
func (*SuggestGasPriceRequest) Descriptor() ([]byte, []int)
func (*SuggestGasPriceRequest) ProtoMessage ¶
func (*SuggestGasPriceRequest) ProtoMessage()
func (*SuggestGasPriceRequest) Reset ¶
func (m *SuggestGasPriceRequest) Reset()
func (*SuggestGasPriceRequest) String ¶
func (m *SuggestGasPriceRequest) String() string
func (*SuggestGasPriceRequest) XXX_DiscardUnknown ¶
func (m *SuggestGasPriceRequest) XXX_DiscardUnknown()
func (*SuggestGasPriceRequest) XXX_Marshal ¶
func (m *SuggestGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SuggestGasPriceRequest) XXX_Merge ¶
func (m *SuggestGasPriceRequest) XXX_Merge(src proto.Message)
func (*SuggestGasPriceRequest) XXX_Size ¶
func (m *SuggestGasPriceRequest) XXX_Size() int
func (*SuggestGasPriceRequest) XXX_Unmarshal ¶
func (m *SuggestGasPriceRequest) XXX_Unmarshal(b []byte) error
type SuggestGasPriceResponse ¶
type SuggestGasPriceResponse struct {
GasPrice uint64 `protobuf:"varint,1,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SuggestGasPriceResponse) Descriptor ¶
func (*SuggestGasPriceResponse) Descriptor() ([]byte, []int)
func (*SuggestGasPriceResponse) GetGasPrice ¶
func (m *SuggestGasPriceResponse) GetGasPrice() uint64
func (*SuggestGasPriceResponse) ProtoMessage ¶
func (*SuggestGasPriceResponse) ProtoMessage()
func (*SuggestGasPriceResponse) Reset ¶
func (m *SuggestGasPriceResponse) Reset()
func (*SuggestGasPriceResponse) String ¶
func (m *SuggestGasPriceResponse) String() string
func (*SuggestGasPriceResponse) XXX_DiscardUnknown ¶
func (m *SuggestGasPriceResponse) XXX_DiscardUnknown()
func (*SuggestGasPriceResponse) XXX_Marshal ¶
func (m *SuggestGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SuggestGasPriceResponse) XXX_Merge ¶
func (m *SuggestGasPriceResponse) XXX_Merge(src proto.Message)
func (*SuggestGasPriceResponse) XXX_Size ¶
func (m *SuggestGasPriceResponse) XXX_Size() int
func (*SuggestGasPriceResponse) XXX_Unmarshal ¶
func (m *SuggestGasPriceResponse) XXX_Unmarshal(b []byte) error