Documentation ¶
Overview ¶
Package api_pb 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 RegisterApiServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApiServiceServer) error
- func RegisterApiServiceServer(s *grpc.Server, srv ApiServiceServer)
- type AddressBalance
- func (*AddressBalance) Descriptor() ([]byte, []int)deprecated
- func (x *AddressBalance) GetNoahValue() string
- func (x *AddressBalance) GetValue() string
- func (*AddressBalance) ProtoMessage()
- func (x *AddressBalance) ProtoReflect() protoreflect.Message
- func (x *AddressBalance) Reset()
- func (x *AddressBalance) String() string
- type AddressDelegatedBalance
- func (*AddressDelegatedBalance) Descriptor() ([]byte, []int)deprecated
- func (x *AddressDelegatedBalance) GetDelegateNoahValue() string
- func (x *AddressDelegatedBalance) GetNoahValue() string
- func (x *AddressDelegatedBalance) GetValue() string
- func (*AddressDelegatedBalance) ProtoMessage()
- func (x *AddressDelegatedBalance) ProtoReflect() protoreflect.Message
- func (x *AddressDelegatedBalance) Reset()
- func (x *AddressDelegatedBalance) String() string
- type AddressRequest
- func (*AddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddressRequest) GetAddress() string
- func (x *AddressRequest) GetDelegated() bool
- func (x *AddressRequest) GetHeight() uint64
- func (*AddressRequest) ProtoMessage()
- func (x *AddressRequest) ProtoReflect() protoreflect.Message
- func (x *AddressRequest) Reset()
- func (x *AddressRequest) String() string
- type AddressResponse
- func (*AddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddressResponse) GetBalance() map[string]*AddressBalance
- func (x *AddressResponse) GetDelegated() map[string]*AddressDelegatedBalance
- func (x *AddressResponse) GetNoahValue() string
- func (x *AddressResponse) GetTotal() map[string]*AddressBalance
- func (x *AddressResponse) GetTransactionsCount() string
- func (*AddressResponse) ProtoMessage()
- func (x *AddressResponse) ProtoReflect() protoreflect.Message
- func (x *AddressResponse) Reset()
- func (x *AddressResponse) String() string
- type AddressesRequest
- func (*AddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddressesRequest) GetAddresses() []string
- func (x *AddressesRequest) GetDelegated() bool
- func (x *AddressesRequest) GetHeight() uint64
- func (*AddressesRequest) ProtoMessage()
- func (x *AddressesRequest) ProtoReflect() protoreflect.Message
- func (x *AddressesRequest) Reset()
- func (x *AddressesRequest) String() string
- type AddressesResponse
- func (*AddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddressesResponse) GetAddresses() map[string]*AddressesResponse_Result
- func (*AddressesResponse) ProtoMessage()
- func (x *AddressesResponse) ProtoReflect() protoreflect.Message
- func (x *AddressesResponse) Reset()
- func (x *AddressesResponse) String() string
- type AddressesResponse_Result
- func (*AddressesResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *AddressesResponse_Result) GetBalance() map[string]*AddressBalance
- func (x *AddressesResponse_Result) GetDelegated() map[string]*AddressDelegatedBalance
- func (x *AddressesResponse_Result) GetNoahValue() string
- func (x *AddressesResponse_Result) GetTotal() map[string]*AddressBalance
- func (x *AddressesResponse_Result) GetTransactionsCount() string
- func (*AddressesResponse_Result) ProtoMessage()
- func (x *AddressesResponse_Result) ProtoReflect() protoreflect.Message
- func (x *AddressesResponse_Result) Reset()
- func (x *AddressesResponse_Result) String() string
- type ApiServiceClient
- type ApiServiceServer
- type ApiService_SubscribeClient
- type ApiService_SubscribeServer
- type BlockRequest
- func (*BlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockRequest) GetFields() []BlockRequest_Field
- func (x *BlockRequest) GetHeight() uint64
- func (*BlockRequest) ProtoMessage()
- func (x *BlockRequest) ProtoReflect() protoreflect.Message
- func (x *BlockRequest) Reset()
- func (x *BlockRequest) String() string
- type BlockRequest_Field
- func (BlockRequest_Field) Descriptor() protoreflect.EnumDescriptor
- func (x BlockRequest_Field) Enum() *BlockRequest_Field
- func (BlockRequest_Field) EnumDescriptor() ([]byte, []int)deprecated
- func (x BlockRequest_Field) Number() protoreflect.EnumNumber
- func (x BlockRequest_Field) String() string
- func (BlockRequest_Field) Type() protoreflect.EnumType
- type BlockResponse
- func (*BlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BlockResponse) GetBlockReward() string
- func (x *BlockResponse) GetEvidence() *BlockResponse_Evidence
- func (x *BlockResponse) GetHash() string
- func (x *BlockResponse) GetHeight() string
- func (x *BlockResponse) GetMissed() []string
- func (x *BlockResponse) GetProposer() string
- func (x *BlockResponse) GetSize() string
- func (x *BlockResponse) GetTime() string
- func (x *BlockResponse) GetTransactions() []*BlockResponse_Transaction
- func (x *BlockResponse) GetTransactionsCount() string
- func (x *BlockResponse) GetValidators() []*BlockResponse_Validator
- func (*BlockResponse) ProtoMessage()
- func (x *BlockResponse) ProtoReflect() protoreflect.Message
- func (x *BlockResponse) Reset()
- func (x *BlockResponse) String() string
- type BlockResponse_Evidence
- func (*BlockResponse_Evidence) Descriptor() ([]byte, []int)deprecated
- func (x *BlockResponse_Evidence) GetEvidence() []*BlockResponse_Evidence_Evidence
- func (*BlockResponse_Evidence) ProtoMessage()
- func (x *BlockResponse_Evidence) ProtoReflect() protoreflect.Message
- func (x *BlockResponse_Evidence) Reset()
- func (x *BlockResponse_Evidence) String() string
- type BlockResponse_Evidence_Evidence
- func (*BlockResponse_Evidence_Evidence) Descriptor() ([]byte, []int)deprecated
- func (x *BlockResponse_Evidence_Evidence) GetAddress() string
- func (x *BlockResponse_Evidence_Evidence) GetHash() string
- func (x *BlockResponse_Evidence_Evidence) GetHeight() string
- func (x *BlockResponse_Evidence_Evidence) GetTime() string
- func (*BlockResponse_Evidence_Evidence) ProtoMessage()
- func (x *BlockResponse_Evidence_Evidence) ProtoReflect() protoreflect.Message
- func (x *BlockResponse_Evidence_Evidence) Reset()
- func (x *BlockResponse_Evidence_Evidence) String() string
- type BlockResponse_Transaction
- func (*BlockResponse_Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *BlockResponse_Transaction) GetCode() string
- func (x *BlockResponse_Transaction) GetData() *_struct.Struct
- func (x *BlockResponse_Transaction) GetFrom() string
- func (x *BlockResponse_Transaction) GetGas() string
- func (x *BlockResponse_Transaction) GetGasCoin() string
- func (x *BlockResponse_Transaction) GetGasPrice() string
- func (x *BlockResponse_Transaction) GetHash() string
- func (x *BlockResponse_Transaction) GetLog() string
- func (x *BlockResponse_Transaction) GetNonce() string
- func (x *BlockResponse_Transaction) GetPayload() []byte
- func (x *BlockResponse_Transaction) GetRawTx() string
- func (x *BlockResponse_Transaction) GetServiceData() []byte
- func (x *BlockResponse_Transaction) GetTags() map[string]string
- func (x *BlockResponse_Transaction) GetType() string
- func (*BlockResponse_Transaction) ProtoMessage()
- func (x *BlockResponse_Transaction) ProtoReflect() protoreflect.Message
- func (x *BlockResponse_Transaction) Reset()
- func (x *BlockResponse_Transaction) String() string
- type BlockResponse_Validator
- func (*BlockResponse_Validator) Descriptor() ([]byte, []int)deprecated
- func (x *BlockResponse_Validator) GetPublicKey() string
- func (x *BlockResponse_Validator) GetSigned() bool
- func (*BlockResponse_Validator) ProtoMessage()
- func (x *BlockResponse_Validator) ProtoReflect() protoreflect.Message
- func (x *BlockResponse_Validator) Reset()
- func (x *BlockResponse_Validator) String() string
- type CandidateRequest
- func (*CandidateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CandidateRequest) GetHeight() uint64
- func (x *CandidateRequest) GetPublicKey() string
- func (*CandidateRequest) ProtoMessage()
- func (x *CandidateRequest) ProtoReflect() protoreflect.Message
- func (x *CandidateRequest) Reset()
- func (x *CandidateRequest) String() string
- type CandidateResponse
- func (*CandidateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CandidateResponse) GetCommission() string
- func (x *CandidateResponse) GetMinStake() string
- func (x *CandidateResponse) GetPublicKey() string
- func (x *CandidateResponse) GetRewardAddress() string
- func (x *CandidateResponse) GetStakes() []*CandidateResponse_Stake
- func (x *CandidateResponse) GetStatus() string
- func (x *CandidateResponse) GetTotalStake() string
- func (x *CandidateResponse) GetUniqUsers() string
- func (x *CandidateResponse) GetUsedSlots() string
- func (*CandidateResponse) ProtoMessage()
- func (x *CandidateResponse) ProtoReflect() protoreflect.Message
- func (x *CandidateResponse) Reset()
- func (x *CandidateResponse) String() string
- type CandidateResponse_Stake
- func (*CandidateResponse_Stake) Descriptor() ([]byte, []int)deprecated
- func (x *CandidateResponse_Stake) GetCoin() string
- func (x *CandidateResponse_Stake) GetNoahValue() string
- func (x *CandidateResponse_Stake) GetOwner() string
- func (x *CandidateResponse_Stake) GetValue() string
- func (*CandidateResponse_Stake) ProtoMessage()
- func (x *CandidateResponse_Stake) ProtoReflect() protoreflect.Message
- func (x *CandidateResponse_Stake) Reset()
- func (x *CandidateResponse_Stake) String() string
- type CandidateStatus
- func (CandidateStatus) Descriptor() protoreflect.EnumDescriptor
- func (x CandidateStatus) Enum() *CandidateStatus
- func (CandidateStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x CandidateStatus) Number() protoreflect.EnumNumber
- func (x CandidateStatus) String() string
- func (CandidateStatus) Type() protoreflect.EnumType
- type CandidatesRequest
- func (*CandidatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CandidatesRequest) GetHeight() uint64
- func (x *CandidatesRequest) GetIncludeStakes() bool
- func (x *CandidatesRequest) GetStatus() CandidateStatus
- func (*CandidatesRequest) ProtoMessage()
- func (x *CandidatesRequest) ProtoReflect() protoreflect.Message
- func (x *CandidatesRequest) Reset()
- func (x *CandidatesRequest) String() string
- type CandidatesResponse
- func (*CandidatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CandidatesResponse) GetCandidates() []*CandidateResponse
- func (*CandidatesResponse) ProtoMessage()
- func (x *CandidatesResponse) ProtoReflect() protoreflect.Message
- func (x *CandidatesResponse) Reset()
- func (x *CandidatesResponse) String() string
- type CoinInfoRequest
- func (*CoinInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CoinInfoRequest) GetHeight() uint64
- func (x *CoinInfoRequest) GetSymbol() string
- func (*CoinInfoRequest) ProtoMessage()
- func (x *CoinInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CoinInfoRequest) Reset()
- func (x *CoinInfoRequest) String() string
- type CoinInfoResponse
- func (*CoinInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CoinInfoResponse) GetCrr() string
- func (x *CoinInfoResponse) GetName() string
- func (x *CoinInfoResponse) GetReserveBalance() string
- func (x *CoinInfoResponse) GetSymbol() string
- func (x *CoinInfoResponse) GetVolume() string
- func (*CoinInfoResponse) ProtoMessage()
- func (x *CoinInfoResponse) ProtoReflect() protoreflect.Message
- func (x *CoinInfoResponse) Reset()
- func (x *CoinInfoResponse) String() string
- type EstimateCoinBuyRequest
- func (*EstimateCoinBuyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateCoinBuyRequest) GetCoinToBuy() string
- func (x *EstimateCoinBuyRequest) GetCoinToSell() string
- func (x *EstimateCoinBuyRequest) GetHeight() uint64
- func (x *EstimateCoinBuyRequest) GetValueToBuy() string
- func (*EstimateCoinBuyRequest) ProtoMessage()
- func (x *EstimateCoinBuyRequest) ProtoReflect() protoreflect.Message
- func (x *EstimateCoinBuyRequest) Reset()
- func (x *EstimateCoinBuyRequest) String() string
- type EstimateCoinBuyResponse
- func (*EstimateCoinBuyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateCoinBuyResponse) GetCommission() string
- func (x *EstimateCoinBuyResponse) GetWillPay() string
- func (*EstimateCoinBuyResponse) ProtoMessage()
- func (x *EstimateCoinBuyResponse) ProtoReflect() protoreflect.Message
- func (x *EstimateCoinBuyResponse) Reset()
- func (x *EstimateCoinBuyResponse) String() string
- type EstimateCoinSellAllRequest
- func (*EstimateCoinSellAllRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateCoinSellAllRequest) GetCoinToBuy() string
- func (x *EstimateCoinSellAllRequest) GetCoinToSell() string
- func (x *EstimateCoinSellAllRequest) GetGasPrice() uint64
- func (x *EstimateCoinSellAllRequest) GetHeight() uint64
- func (x *EstimateCoinSellAllRequest) GetValueToSell() string
- func (*EstimateCoinSellAllRequest) ProtoMessage()
- func (x *EstimateCoinSellAllRequest) ProtoReflect() protoreflect.Message
- func (x *EstimateCoinSellAllRequest) Reset()
- func (x *EstimateCoinSellAllRequest) String() string
- type EstimateCoinSellAllResponse
- func (*EstimateCoinSellAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateCoinSellAllResponse) GetWillGet() string
- func (*EstimateCoinSellAllResponse) ProtoMessage()
- func (x *EstimateCoinSellAllResponse) ProtoReflect() protoreflect.Message
- func (x *EstimateCoinSellAllResponse) Reset()
- func (x *EstimateCoinSellAllResponse) String() string
- type EstimateCoinSellRequest
- func (*EstimateCoinSellRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateCoinSellRequest) GetCoinToBuy() string
- func (x *EstimateCoinSellRequest) GetCoinToSell() string
- func (x *EstimateCoinSellRequest) GetHeight() uint64
- func (x *EstimateCoinSellRequest) GetValueToSell() string
- func (*EstimateCoinSellRequest) ProtoMessage()
- func (x *EstimateCoinSellRequest) ProtoReflect() protoreflect.Message
- func (x *EstimateCoinSellRequest) Reset()
- func (x *EstimateCoinSellRequest) String() string
- type EstimateCoinSellResponse
- func (*EstimateCoinSellResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateCoinSellResponse) GetCommission() string
- func (x *EstimateCoinSellResponse) GetWillGet() string
- func (*EstimateCoinSellResponse) ProtoMessage()
- func (x *EstimateCoinSellResponse) ProtoReflect() protoreflect.Message
- func (x *EstimateCoinSellResponse) Reset()
- func (x *EstimateCoinSellResponse) String() string
- type EstimateTxCommissionRequest
- func (*EstimateTxCommissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateTxCommissionRequest) GetData() *EstimateTxCommissionRequest_TransactionData
- func (x *EstimateTxCommissionRequest) GetHeight() uint64
- func (m *EstimateTxCommissionRequest) GetTransaction() isEstimateTxCommissionRequest_Transaction
- func (x *EstimateTxCommissionRequest) GetTx() string
- func (*EstimateTxCommissionRequest) ProtoMessage()
- func (x *EstimateTxCommissionRequest) ProtoReflect() protoreflect.Message
- func (x *EstimateTxCommissionRequest) Reset()
- func (x *EstimateTxCommissionRequest) String() string
- type EstimateTxCommissionRequest_Data
- type EstimateTxCommissionRequest_TransactionData
- func (*EstimateTxCommissionRequest_TransactionData) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateTxCommissionRequest_TransactionData) GetGasCoin() string
- func (x *EstimateTxCommissionRequest_TransactionData) GetMtxs() int64
- func (x *EstimateTxCommissionRequest_TransactionData) GetPayload() []byte
- func (x *EstimateTxCommissionRequest_TransactionData) GetType() EstimateTxCommissionRequest_TransactionData_Type
- func (*EstimateTxCommissionRequest_TransactionData) ProtoMessage()
- func (x *EstimateTxCommissionRequest_TransactionData) ProtoReflect() protoreflect.Message
- func (x *EstimateTxCommissionRequest_TransactionData) Reset()
- func (x *EstimateTxCommissionRequest_TransactionData) String() string
- type EstimateTxCommissionRequest_TransactionData_Type
- func (EstimateTxCommissionRequest_TransactionData_Type) Descriptor() protoreflect.EnumDescriptor
- func (x EstimateTxCommissionRequest_TransactionData_Type) Enum() *EstimateTxCommissionRequest_TransactionData_Type
- func (EstimateTxCommissionRequest_TransactionData_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x EstimateTxCommissionRequest_TransactionData_Type) Number() protoreflect.EnumNumber
- func (x EstimateTxCommissionRequest_TransactionData_Type) String() string
- func (EstimateTxCommissionRequest_TransactionData_Type) Type() protoreflect.EnumType
- type EstimateTxCommissionRequest_Tx
- type EstimateTxCommissionResponse
- func (*EstimateTxCommissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateTxCommissionResponse) GetCommission() string
- func (*EstimateTxCommissionResponse) ProtoMessage()
- func (x *EstimateTxCommissionResponse) ProtoReflect() protoreflect.Message
- func (x *EstimateTxCommissionResponse) Reset()
- func (x *EstimateTxCommissionResponse) String() string
- type EventsRequest
- func (*EventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EventsRequest) GetHeight() uint64
- func (x *EventsRequest) GetSearch() []string
- func (*EventsRequest) ProtoMessage()
- func (x *EventsRequest) ProtoReflect() protoreflect.Message
- func (x *EventsRequest) Reset()
- func (x *EventsRequest) String() string
- type EventsResponse
- type EventsResponse_Event
- func (*EventsResponse_Event) Descriptor() ([]byte, []int)deprecated
- func (x *EventsResponse_Event) GetType() string
- func (x *EventsResponse_Event) GetValue() *_struct.Struct
- func (*EventsResponse_Event) ProtoMessage()
- func (x *EventsResponse_Event) ProtoReflect() protoreflect.Message
- func (x *EventsResponse_Event) Reset()
- func (x *EventsResponse_Event) String() string
- type FrozenRequest
- func (*FrozenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FrozenRequest) GetAddress() string
- func (x *FrozenRequest) GetCoin() string
- func (*FrozenRequest) ProtoMessage()
- func (x *FrozenRequest) ProtoReflect() protoreflect.Message
- func (x *FrozenRequest) Reset()
- func (x *FrozenRequest) String() string
- type FrozenResponse
- type FrozenResponse_Frozen
- func (*FrozenResponse_Frozen) Descriptor() ([]byte, []int)deprecated
- func (x *FrozenResponse_Frozen) GetAddress() string
- func (x *FrozenResponse_Frozen) GetCandidateKey() string
- func (x *FrozenResponse_Frozen) GetCoin() string
- func (x *FrozenResponse_Frozen) GetHeight() string
- func (x *FrozenResponse_Frozen) GetValue() string
- func (*FrozenResponse_Frozen) ProtoMessage()
- func (x *FrozenResponse_Frozen) ProtoReflect() protoreflect.Message
- func (x *FrozenResponse_Frozen) Reset()
- func (x *FrozenResponse_Frozen) String() string
- type GenesisResponse
- func (*GenesisResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisResponse) GetAppHash() string
- func (x *GenesisResponse) GetAppState() *_struct.Struct
- func (x *GenesisResponse) GetChainId() string
- func (x *GenesisResponse) GetConsensusParams() *GenesisResponse_ConsensusParams
- func (x *GenesisResponse) GetGenesisTime() string
- func (*GenesisResponse) ProtoMessage()
- func (x *GenesisResponse) ProtoReflect() protoreflect.Message
- func (x *GenesisResponse) Reset()
- func (x *GenesisResponse) String() string
- type GenesisResponse_ConsensusParams
- func (*GenesisResponse_ConsensusParams) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisResponse_ConsensusParams) GetBlock() *GenesisResponse_ConsensusParams_Block
- func (x *GenesisResponse_ConsensusParams) GetEvidence() *GenesisResponse_ConsensusParams_Evidence
- func (x *GenesisResponse_ConsensusParams) GetValidator() *GenesisResponse_ConsensusParams_Validator
- func (*GenesisResponse_ConsensusParams) ProtoMessage()
- func (x *GenesisResponse_ConsensusParams) ProtoReflect() protoreflect.Message
- func (x *GenesisResponse_ConsensusParams) Reset()
- func (x *GenesisResponse_ConsensusParams) String() string
- type GenesisResponse_ConsensusParams_Block
- func (*GenesisResponse_ConsensusParams_Block) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisResponse_ConsensusParams_Block) GetMaxBytes() string
- func (x *GenesisResponse_ConsensusParams_Block) GetMaxGas() string
- func (x *GenesisResponse_ConsensusParams_Block) GetTimeIotaMs() string
- func (*GenesisResponse_ConsensusParams_Block) ProtoMessage()
- func (x *GenesisResponse_ConsensusParams_Block) ProtoReflect() protoreflect.Message
- func (x *GenesisResponse_ConsensusParams_Block) Reset()
- func (x *GenesisResponse_ConsensusParams_Block) String() string
- type GenesisResponse_ConsensusParams_Evidence
- func (*GenesisResponse_ConsensusParams_Evidence) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisResponse_ConsensusParams_Evidence) GetMaxAgeDuration() string
- func (x *GenesisResponse_ConsensusParams_Evidence) GetMaxAgeNumBlocks() string
- func (*GenesisResponse_ConsensusParams_Evidence) ProtoMessage()
- func (x *GenesisResponse_ConsensusParams_Evidence) ProtoReflect() protoreflect.Message
- func (x *GenesisResponse_ConsensusParams_Evidence) Reset()
- func (x *GenesisResponse_ConsensusParams_Evidence) String() string
- type GenesisResponse_ConsensusParams_Validator
- func (*GenesisResponse_ConsensusParams_Validator) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisResponse_ConsensusParams_Validator) GetPublicKeyTypes() []string
- func (*GenesisResponse_ConsensusParams_Validator) ProtoMessage()
- func (x *GenesisResponse_ConsensusParams_Validator) ProtoReflect() protoreflect.Message
- func (x *GenesisResponse_ConsensusParams_Validator) Reset()
- func (x *GenesisResponse_ConsensusParams_Validator) String() string
- type HaltsRequest
- type HaltsResponse
- type MaxGasRequest
- type MaxGasResponse
- type MinGasPriceResponse
- func (*MinGasPriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MinGasPriceResponse) GetMinGasPrice() string
- func (*MinGasPriceResponse) ProtoMessage()
- func (x *MinGasPriceResponse) ProtoReflect() protoreflect.Message
- func (x *MinGasPriceResponse) Reset()
- func (x *MinGasPriceResponse) String() string
- type MissedBlocksRequest
- func (*MissedBlocksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MissedBlocksRequest) GetHeight() uint64
- func (x *MissedBlocksRequest) GetPublicKey() string
- func (*MissedBlocksRequest) ProtoMessage()
- func (x *MissedBlocksRequest) ProtoReflect() protoreflect.Message
- func (x *MissedBlocksRequest) Reset()
- func (x *MissedBlocksRequest) String() string
- type MissedBlocksResponse
- func (*MissedBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MissedBlocksResponse) GetMissedBlocks() string
- func (x *MissedBlocksResponse) GetMissedBlocksCount() string
- func (*MissedBlocksResponse) ProtoMessage()
- func (x *MissedBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *MissedBlocksResponse) Reset()
- func (x *MissedBlocksResponse) String() string
- type NetInfoResponse
- func (*NetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse) GetCountPeers() string
- func (x *NetInfoResponse) GetListeners() []string
- func (x *NetInfoResponse) GetListening() bool
- func (x *NetInfoResponse) GetPeers() []*NetInfoResponse_Peer
- func (*NetInfoResponse) ProtoMessage()
- func (x *NetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse) Reset()
- func (x *NetInfoResponse) String() string
- type NetInfoResponse_Peer
- func (*NetInfoResponse_Peer) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse_Peer) GetConnectionStatus() *NetInfoResponse_Peer_ConnectionStatus
- func (x *NetInfoResponse_Peer) GetIsOutbound() bool
- func (x *NetInfoResponse_Peer) GetNodeInfo() *NodeInfo
- func (x *NetInfoResponse_Peer) GetRemoteIp() string
- func (*NetInfoResponse_Peer) ProtoMessage()
- func (x *NetInfoResponse_Peer) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse_Peer) Reset()
- func (x *NetInfoResponse_Peer) String() string
- type NetInfoResponse_Peer_ConnectionStatus
- func (*NetInfoResponse_Peer_ConnectionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse_Peer_ConnectionStatus) GetChannels() []*NetInfoResponse_Peer_ConnectionStatus_Channel
- func (x *NetInfoResponse_Peer_ConnectionStatus) GetDuration() string
- func (x *NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
- func (x *NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
- func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage()
- func (x *NetInfoResponse_Peer_ConnectionStatus) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse_Peer_ConnectionStatus) Reset()
- func (x *NetInfoResponse_Peer_ConnectionStatus) String() string
- type NetInfoResponse_Peer_ConnectionStatus_Channel
- func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetId() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize() string
- func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage()
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) Reset()
- func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) String() string
- type NetInfoResponse_Peer_ConnectionStatus_Monitor
- func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive() bool
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart() string
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem() string
- func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage()
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoReflect() protoreflect.Message
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset()
- func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) String() string
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetChannels() string
- func (x *NodeInfo) GetId() string
- func (x *NodeInfo) GetListenAddr() string
- func (x *NodeInfo) GetMoniker() string
- func (x *NodeInfo) GetNetwork() string
- func (x *NodeInfo) GetOther() *NodeInfo_Other
- func (x *NodeInfo) GetProtocolVersion() *NodeInfo_ProtocolVersion
- func (x *NodeInfo) GetVersion() string
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type NodeInfo_Other
- func (*NodeInfo_Other) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_Other) GetRpcAddress() string
- func (x *NodeInfo_Other) GetTxIndex() string
- func (*NodeInfo_Other) ProtoMessage()
- func (x *NodeInfo_Other) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_Other) Reset()
- func (x *NodeInfo_Other) String() string
- type NodeInfo_ProtocolVersion
- func (*NodeInfo_ProtocolVersion) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_ProtocolVersion) GetApp() string
- func (x *NodeInfo_ProtocolVersion) GetBlock() string
- func (x *NodeInfo_ProtocolVersion) GetP2P() string
- func (*NodeInfo_ProtocolVersion) ProtoMessage()
- func (x *NodeInfo_ProtocolVersion) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_ProtocolVersion) Reset()
- func (x *NodeInfo_ProtocolVersion) String() string
- type SendTransactionRequest
- func (*SendTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendTransactionRequest) GetTx() string
- func (*SendTransactionRequest) ProtoMessage()
- func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SendTransactionRequest) Reset()
- func (x *SendTransactionRequest) String() string
- type SendTransactionResponse
- func (*SendTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendTransactionResponse) GetCode() string
- func (x *SendTransactionResponse) GetData() string
- func (x *SendTransactionResponse) GetHash() string
- func (x *SendTransactionResponse) GetLog() string
- func (*SendTransactionResponse) ProtoMessage()
- func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SendTransactionResponse) Reset()
- func (x *SendTransactionResponse) String() string
- type StakesRequest
- func (*StakesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StakesRequest) GetAddress() string
- func (x *StakesRequest) GetCoin() string
- func (x *StakesRequest) GetHeight() uint64
- func (x *StakesRequest) GetPublicKey() string
- func (*StakesRequest) ProtoMessage()
- func (x *StakesRequest) ProtoReflect() protoreflect.Message
- func (x *StakesRequest) Reset()
- func (x *StakesRequest) String() string
- type StakesResponse
- type StakesResponse_Stake
- func (*StakesResponse_Stake) Descriptor() ([]byte, []int)deprecated
- func (x *StakesResponse_Stake) GetAddress() string
- func (x *StakesResponse_Stake) GetCoin() string
- func (x *StakesResponse_Stake) GetNoahValue() string
- func (x *StakesResponse_Stake) GetPubKey() string
- func (x *StakesResponse_Stake) GetValue() string
- func (*StakesResponse_Stake) ProtoMessage()
- func (x *StakesResponse_Stake) ProtoReflect() protoreflect.Message
- func (x *StakesResponse_Stake) Reset()
- func (x *StakesResponse_Stake) String() string
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetCatchingUp() bool
- func (x *StatusResponse) GetKeepLastStates() string
- func (x *StatusResponse) GetLatestAppHash() string
- func (x *StatusResponse) GetLatestBlockHash() string
- func (x *StatusResponse) GetLatestBlockHeight() string
- func (x *StatusResponse) GetLatestBlockTime() string
- func (x *StatusResponse) GetNodeId() string
- func (x *StatusResponse) GetPublicKey() string
- func (x *StatusResponse) GetTotalSlashed() string
- func (x *StatusResponse) GetVersion() string
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type SubscribeRequest
- type SubscribeResponse
- func (*SubscribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeResponse) GetData() *_struct.Struct
- func (x *SubscribeResponse) GetEvents() []*SubscribeResponse_Event
- func (x *SubscribeResponse) GetQuery() string
- func (*SubscribeResponse) ProtoMessage()
- func (x *SubscribeResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeResponse) Reset()
- func (x *SubscribeResponse) String() string
- type SubscribeResponse_Event
- func (*SubscribeResponse_Event) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeResponse_Event) GetEvents() []string
- func (x *SubscribeResponse_Event) GetKey() string
- func (*SubscribeResponse_Event) ProtoMessage()
- func (x *SubscribeResponse_Event) ProtoReflect() protoreflect.Message
- func (x *SubscribeResponse_Event) Reset()
- func (x *SubscribeResponse_Event) String() string
- type TransactionRequest
- func (*TransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionRequest) GetHash() string
- func (*TransactionRequest) ProtoMessage()
- func (x *TransactionRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionRequest) Reset()
- func (x *TransactionRequest) String() string
- type TransactionResponse
- func (*TransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionResponse) GetCode() string
- func (x *TransactionResponse) GetData() *_struct.Struct
- func (x *TransactionResponse) GetFrom() string
- func (x *TransactionResponse) GetGas() string
- func (x *TransactionResponse) GetGasCoin() string
- func (x *TransactionResponse) GetGasPrice() string
- func (x *TransactionResponse) GetHash() string
- func (x *TransactionResponse) GetHeight() string
- func (x *TransactionResponse) GetIndex() string
- func (x *TransactionResponse) GetLog() string
- func (x *TransactionResponse) GetNonce() string
- func (x *TransactionResponse) GetPayload() []byte
- func (x *TransactionResponse) GetRawTx() string
- func (x *TransactionResponse) GetTags() map[string]string
- func (x *TransactionResponse) GetType() string
- func (*TransactionResponse) ProtoMessage()
- func (x *TransactionResponse) ProtoReflect() protoreflect.Message
- func (x *TransactionResponse) Reset()
- func (x *TransactionResponse) String() string
- type TransactionsRequest
- func (*TransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsRequest) GetPage() int32
- func (x *TransactionsRequest) GetPerPage() int32
- func (x *TransactionsRequest) GetQuery() string
- func (*TransactionsRequest) ProtoMessage()
- func (x *TransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionsRequest) Reset()
- func (x *TransactionsRequest) String() string
- type TransactionsResponse
- func (*TransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsResponse) GetTransactions() []*TransactionResponse
- func (*TransactionsResponse) ProtoMessage()
- func (x *TransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *TransactionsResponse) Reset()
- func (x *TransactionsResponse) String() string
- type UnconfirmedTxsRequest
- func (*UnconfirmedTxsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnconfirmedTxsRequest) GetLimit() int32
- func (*UnconfirmedTxsRequest) ProtoMessage()
- func (x *UnconfirmedTxsRequest) ProtoReflect() protoreflect.Message
- func (x *UnconfirmedTxsRequest) Reset()
- func (x *UnconfirmedTxsRequest) String() string
- type UnconfirmedTxsResponse
- func (*UnconfirmedTxsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnconfirmedTxsResponse) GetTotalBytes() string
- func (x *UnconfirmedTxsResponse) GetTotalTransactions() string
- func (x *UnconfirmedTxsResponse) GetTransactions() []string
- func (x *UnconfirmedTxsResponse) GetTransactionsCount() string
- func (*UnconfirmedTxsResponse) ProtoMessage()
- func (x *UnconfirmedTxsResponse) ProtoReflect() protoreflect.Message
- func (x *UnconfirmedTxsResponse) Reset()
- func (x *UnconfirmedTxsResponse) String() string
- type UnimplementedApiServiceServer
- func (*UnimplementedApiServiceServer) Address(context.Context, *AddressRequest) (*AddressResponse, error)
- func (*UnimplementedApiServiceServer) Addresses(context.Context, *AddressesRequest) (*AddressesResponse, error)
- func (*UnimplementedApiServiceServer) Block(context.Context, *BlockRequest) (*BlockResponse, error)
- func (*UnimplementedApiServiceServer) Candidate(context.Context, *CandidateRequest) (*CandidateResponse, error)
- func (*UnimplementedApiServiceServer) Candidates(context.Context, *CandidatesRequest) (*CandidatesResponse, error)
- func (*UnimplementedApiServiceServer) CoinInfo(context.Context, *CoinInfoRequest) (*CoinInfoResponse, error)
- func (*UnimplementedApiServiceServer) EstimateCoinBuy(context.Context, *EstimateCoinBuyRequest) (*EstimateCoinBuyResponse, error)
- func (*UnimplementedApiServiceServer) EstimateCoinSell(context.Context, *EstimateCoinSellRequest) (*EstimateCoinSellResponse, error)
- func (*UnimplementedApiServiceServer) EstimateCoinSellAll(context.Context, *EstimateCoinSellAllRequest) (*EstimateCoinSellAllResponse, error)
- func (*UnimplementedApiServiceServer) EstimateTxCommission(context.Context, *EstimateTxCommissionRequest) (*EstimateTxCommissionResponse, error)
- func (*UnimplementedApiServiceServer) Events(context.Context, *EventsRequest) (*EventsResponse, error)
- func (*UnimplementedApiServiceServer) Frozen(context.Context, *FrozenRequest) (*FrozenResponse, error)
- func (*UnimplementedApiServiceServer) Genesis(context.Context, *empty.Empty) (*GenesisResponse, error)
- func (*UnimplementedApiServiceServer) Halts(context.Context, *HaltsRequest) (*HaltsResponse, error)
- func (*UnimplementedApiServiceServer) MaxGas(context.Context, *MaxGasRequest) (*MaxGasResponse, error)
- func (*UnimplementedApiServiceServer) MinGasPrice(context.Context, *empty.Empty) (*MinGasPriceResponse, error)
- func (*UnimplementedApiServiceServer) MissedBlocks(context.Context, *MissedBlocksRequest) (*MissedBlocksResponse, error)
- func (*UnimplementedApiServiceServer) NetInfo(context.Context, *empty.Empty) (*NetInfoResponse, error)
- func (*UnimplementedApiServiceServer) SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error)
- func (*UnimplementedApiServiceServer) Stakes(context.Context, *StakesRequest) (*StakesResponse, error)
- func (*UnimplementedApiServiceServer) Status(context.Context, *empty.Empty) (*StatusResponse, error)
- func (*UnimplementedApiServiceServer) Subscribe(*SubscribeRequest, ApiService_SubscribeServer) error
- func (*UnimplementedApiServiceServer) Transaction(context.Context, *TransactionRequest) (*TransactionResponse, error)
- func (*UnimplementedApiServiceServer) Transactions(context.Context, *TransactionsRequest) (*TransactionsResponse, error)
- func (*UnimplementedApiServiceServer) UnconfirmedTxs(context.Context, *UnconfirmedTxsRequest) (*UnconfirmedTxsResponse, error)
- func (*UnimplementedApiServiceServer) Validators(context.Context, *ValidatorsRequest) (*ValidatorsResponse, error)
- type ValidatorsRequest
- func (*ValidatorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorsRequest) GetHeight() uint64
- func (x *ValidatorsRequest) GetPage() int32
- func (x *ValidatorsRequest) GetPerPage() int32
- func (*ValidatorsRequest) ProtoMessage()
- func (x *ValidatorsRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatorsRequest) Reset()
- func (x *ValidatorsRequest) String() string
- type ValidatorsResponse
- func (*ValidatorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorsResponse) GetValidators() []*ValidatorsResponse_Result
- func (*ValidatorsResponse) ProtoMessage()
- func (x *ValidatorsResponse) ProtoReflect() protoreflect.Message
- func (x *ValidatorsResponse) Reset()
- func (x *ValidatorsResponse) String() string
- type ValidatorsResponse_Result
- func (*ValidatorsResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorsResponse_Result) GetPublicKey() string
- func (x *ValidatorsResponse_Result) GetVotingPower() string
- func (*ValidatorsResponse_Result) ProtoMessage()
- func (x *ValidatorsResponse_Result) ProtoReflect() protoreflect.Message
- func (x *ValidatorsResponse_Result) Reset()
- func (x *ValidatorsResponse_Result) String() string
Constants ¶
This section is empty.
Variables ¶
var ( CandidateStatus_name = map[int32]string{ 0: "_", 1: "CandidateOff", 2: "CandidateOn", 3: "ValidatorOn", } CandidateStatus_value = map[string]int32{ "_": 0, "CandidateOff": 1, "CandidateOn": 2, "ValidatorOn": 3, } )
Enum value maps for CandidateStatus.
var ( BlockRequest_Field_name = map[int32]string{ 0: "transactions", 1: "missed", 2: "block_reward", 3: "size", 4: "proposer", 5: "validators", 6: "evidence", } BlockRequest_Field_value = map[string]int32{ "transactions": 0, "missed": 1, "block_reward": 2, "size": 3, "proposer": 4, "validators": 5, "evidence": 6, } )
Enum value maps for BlockRequest_Field.
var ( EstimateTxCommissionRequest_TransactionData_Type_name = map[int32]string{ 0: "_", 1: "Send", 2: "SellCoin", 3: "SellAllCoin", 4: "BuyCoin", 5: "CreateCoin", 6: "DeclareCandidacy", 7: "Delegate", 8: "Unbond", 9: "RedeemCheck", 10: "SetCandidateOnline", 11: "SetCandidateOffline", 12: "CreateMultisig", 13: "Multisend", 14: "EditCandidate", } EstimateTxCommissionRequest_TransactionData_Type_value = map[string]int32{ "_": 0, "Send": 1, "SellCoin": 2, "SellAllCoin": 3, "BuyCoin": 4, "CreateCoin": 5, "DeclareCandidacy": 6, "Delegate": 7, "Unbond": 8, "RedeemCheck": 9, "SetCandidateOnline": 10, "SetCandidateOffline": 11, "CreateMultisig": 12, "Multisend": 13, "EditCandidate": 14, } )
Enum value maps for EstimateTxCommissionRequest_TransactionData_Type.
var File_api_proto protoreflect.FileDescriptor
var File_swagger_proto protoreflect.FileDescriptor
Functions ¶
func RegisterApiServiceHandler ¶
func RegisterApiServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterApiServiceHandler registers the http handlers for service ApiService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterApiServiceHandlerClient ¶
func RegisterApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApiServiceClient) error
RegisterApiServiceHandlerClient registers the http handlers for service ApiService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ApiServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ApiServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ApiServiceClient" to call the correct interceptors.
func RegisterApiServiceHandlerFromEndpoint ¶
func RegisterApiServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterApiServiceHandlerFromEndpoint is same as RegisterApiServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterApiServiceHandlerServer ¶
func RegisterApiServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApiServiceServer) error
RegisterApiServiceHandlerServer registers the http handlers for service ApiService to "mux". UnaryRPC :call ApiServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterApiServiceServer ¶
func RegisterApiServiceServer(s *grpc.Server, srv ApiServiceServer)
Types ¶
type AddressBalance ¶
type AddressBalance struct { Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` NoahValue string `protobuf:"bytes,3,opt,name=noah_value,json=noahValue,proto3" json:"noah_value,omitempty"` // contains filtered or unexported fields }
func (*AddressBalance) Descriptor
deprecated
func (*AddressBalance) Descriptor() ([]byte, []int)
Deprecated: Use AddressBalance.ProtoReflect.Descriptor instead.
func (*AddressBalance) GetNoahValue ¶
func (x *AddressBalance) GetNoahValue() string
func (*AddressBalance) GetValue ¶
func (x *AddressBalance) GetValue() string
func (*AddressBalance) ProtoMessage ¶
func (*AddressBalance) ProtoMessage()
func (*AddressBalance) ProtoReflect ¶
func (x *AddressBalance) ProtoReflect() protoreflect.Message
func (*AddressBalance) Reset ¶
func (x *AddressBalance) Reset()
func (*AddressBalance) String ¶
func (x *AddressBalance) String() string
type AddressDelegatedBalance ¶
type AddressDelegatedBalance struct { Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` NoahValue string `protobuf:"bytes,3,opt,name=noah_value,json=noahValue,proto3" json:"noah_value,omitempty"` DelegateNoahValue string `protobuf:"bytes,4,opt,name=delegate_noah_value,json=delegateNoahValue,proto3" json:"delegate_noah_value,omitempty"` // contains filtered or unexported fields }
func (*AddressDelegatedBalance) Descriptor
deprecated
func (*AddressDelegatedBalance) Descriptor() ([]byte, []int)
Deprecated: Use AddressDelegatedBalance.ProtoReflect.Descriptor instead.
func (*AddressDelegatedBalance) GetDelegateNoahValue ¶
func (x *AddressDelegatedBalance) GetDelegateNoahValue() string
func (*AddressDelegatedBalance) GetNoahValue ¶
func (x *AddressDelegatedBalance) GetNoahValue() string
func (*AddressDelegatedBalance) GetValue ¶
func (x *AddressDelegatedBalance) GetValue() string
func (*AddressDelegatedBalance) ProtoMessage ¶
func (*AddressDelegatedBalance) ProtoMessage()
func (*AddressDelegatedBalance) ProtoReflect ¶
func (x *AddressDelegatedBalance) ProtoReflect() protoreflect.Message
func (*AddressDelegatedBalance) Reset ¶
func (x *AddressDelegatedBalance) Reset()
func (*AddressDelegatedBalance) String ¶
func (x *AddressDelegatedBalance) String() string
type AddressRequest ¶
type AddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Delegated bool `protobuf:"varint,4,opt,name=delegated,proto3" json:"delegated,omitempty"` // contains filtered or unexported fields }
func (*AddressRequest) Descriptor
deprecated
func (*AddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddressRequest.ProtoReflect.Descriptor instead.
func (*AddressRequest) GetAddress ¶
func (x *AddressRequest) GetAddress() string
func (*AddressRequest) GetDelegated ¶
func (x *AddressRequest) GetDelegated() bool
func (*AddressRequest) GetHeight ¶
func (x *AddressRequest) GetHeight() uint64
func (*AddressRequest) ProtoMessage ¶
func (*AddressRequest) ProtoMessage()
func (*AddressRequest) ProtoReflect ¶
func (x *AddressRequest) ProtoReflect() protoreflect.Message
func (*AddressRequest) Reset ¶
func (x *AddressRequest) Reset()
func (*AddressRequest) String ¶
func (x *AddressRequest) String() string
type AddressResponse ¶
type AddressResponse struct { Balance map[string]*AddressBalance `` /* 155-byte string literal not displayed */ Delegated map[string]*AddressDelegatedBalance `` /* 159-byte string literal not displayed */ Total map[string]*AddressBalance `` /* 151-byte string literal not displayed */ TransactionsCount string `protobuf:"bytes,2,opt,name=transactions_count,json=transactionsCount,proto3" json:"transactions_count,omitempty"` NoahValue string `protobuf:"bytes,5,opt,name=noah_value,json=noahValue,proto3" json:"noah_value,omitempty"` // contains filtered or unexported fields }
func (*AddressResponse) Descriptor
deprecated
func (*AddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddressResponse.ProtoReflect.Descriptor instead.
func (*AddressResponse) GetBalance ¶
func (x *AddressResponse) GetBalance() map[string]*AddressBalance
func (*AddressResponse) GetDelegated ¶
func (x *AddressResponse) GetDelegated() map[string]*AddressDelegatedBalance
func (*AddressResponse) GetNoahValue ¶
func (x *AddressResponse) GetNoahValue() string
func (*AddressResponse) GetTotal ¶
func (x *AddressResponse) GetTotal() map[string]*AddressBalance
func (*AddressResponse) GetTransactionsCount ¶
func (x *AddressResponse) GetTransactionsCount() string
func (*AddressResponse) ProtoMessage ¶
func (*AddressResponse) ProtoMessage()
func (*AddressResponse) ProtoReflect ¶
func (x *AddressResponse) ProtoReflect() protoreflect.Message
func (*AddressResponse) Reset ¶
func (x *AddressResponse) Reset()
func (*AddressResponse) String ¶
func (x *AddressResponse) String() string
type AddressesRequest ¶
type AddressesRequest struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Delegated bool `protobuf:"varint,4,opt,name=delegated,proto3" json:"delegated,omitempty"` // contains filtered or unexported fields }
func (*AddressesRequest) Descriptor
deprecated
func (*AddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddressesRequest.ProtoReflect.Descriptor instead.
func (*AddressesRequest) GetAddresses ¶
func (x *AddressesRequest) GetAddresses() []string
func (*AddressesRequest) GetDelegated ¶
func (x *AddressesRequest) GetDelegated() bool
func (*AddressesRequest) GetHeight ¶
func (x *AddressesRequest) GetHeight() uint64
func (*AddressesRequest) ProtoMessage ¶
func (*AddressesRequest) ProtoMessage()
func (*AddressesRequest) ProtoReflect ¶
func (x *AddressesRequest) ProtoReflect() protoreflect.Message
func (*AddressesRequest) Reset ¶
func (x *AddressesRequest) Reset()
func (*AddressesRequest) String ¶
func (x *AddressesRequest) String() string
type AddressesResponse ¶
type AddressesResponse struct { Addresses map[string]*AddressesResponse_Result `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddressesResponse) Descriptor
deprecated
func (*AddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddressesResponse.ProtoReflect.Descriptor instead.
func (*AddressesResponse) GetAddresses ¶
func (x *AddressesResponse) GetAddresses() map[string]*AddressesResponse_Result
func (*AddressesResponse) ProtoMessage ¶
func (*AddressesResponse) ProtoMessage()
func (*AddressesResponse) ProtoReflect ¶
func (x *AddressesResponse) ProtoReflect() protoreflect.Message
func (*AddressesResponse) Reset ¶
func (x *AddressesResponse) Reset()
func (*AddressesResponse) String ¶
func (x *AddressesResponse) String() string
type AddressesResponse_Result ¶
type AddressesResponse_Result struct { Balance map[string]*AddressBalance `` /* 155-byte string literal not displayed */ Delegated map[string]*AddressDelegatedBalance `` /* 159-byte string literal not displayed */ Total map[string]*AddressBalance `` /* 151-byte string literal not displayed */ TransactionsCount string `protobuf:"bytes,3,opt,name=transactions_count,json=transactionsCount,proto3" json:"transactions_count,omitempty"` NoahValue string `protobuf:"bytes,5,opt,name=noah_value,json=noahValue,proto3" json:"noah_value,omitempty"` // contains filtered or unexported fields }
func (*AddressesResponse_Result) Descriptor
deprecated
func (*AddressesResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use AddressesResponse_Result.ProtoReflect.Descriptor instead.
func (*AddressesResponse_Result) GetBalance ¶
func (x *AddressesResponse_Result) GetBalance() map[string]*AddressBalance
func (*AddressesResponse_Result) GetDelegated ¶
func (x *AddressesResponse_Result) GetDelegated() map[string]*AddressDelegatedBalance
func (*AddressesResponse_Result) GetNoahValue ¶
func (x *AddressesResponse_Result) GetNoahValue() string
func (*AddressesResponse_Result) GetTotal ¶
func (x *AddressesResponse_Result) GetTotal() map[string]*AddressBalance
func (*AddressesResponse_Result) GetTransactionsCount ¶
func (x *AddressesResponse_Result) GetTransactionsCount() string
func (*AddressesResponse_Result) ProtoMessage ¶
func (*AddressesResponse_Result) ProtoMessage()
func (*AddressesResponse_Result) ProtoReflect ¶
func (x *AddressesResponse_Result) ProtoReflect() protoreflect.Message
func (*AddressesResponse_Result) Reset ¶
func (x *AddressesResponse_Result) Reset()
func (*AddressesResponse_Result) String ¶
func (x *AddressesResponse_Result) String() string
type ApiServiceClient ¶
type ApiServiceClient interface { //Subscribe returns a subscription for events by query. Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (ApiService_SubscribeClient, error) //Halts Halts(ctx context.Context, in *HaltsRequest, opts ...grpc.CallOption) (*HaltsResponse, error) //Genesis returns genesis file. Genesis(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GenesisResponse, error) //MinGasPrice returns current min gas price. MinGasPrice(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MinGasPriceResponse, error) //NetInfo returns network info NetInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NetInfoResponse, error) //Status returns node status including pubkey, latest block. Status(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StatusResponse, error) //Address returns coins list, balance and transaction count of an address. Address(ctx context.Context, in *AddressRequest, opts ...grpc.CallOption) (*AddressResponse, error) //Addresses returns list of addresses. Addresses(ctx context.Context, in *AddressesRequest, opts ...grpc.CallOption) (*AddressesResponse, error) //Block returns block data at given height. Block(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockResponse, error) //Candidate returns candidate’s info by provided public_key. It will respond with 404 code if candidate is not found. Candidate(ctx context.Context, in *CandidateRequest, opts ...grpc.CallOption) (*CandidateResponse, error) //Candidates returns list of candidates. Candidates(ctx context.Context, in *CandidatesRequest, opts ...grpc.CallOption) (*CandidatesResponse, error) //CoinInfo returns information about coin. Note: this method does not return information about base coins (QNOAH and NOAH). CoinInfo(ctx context.Context, in *CoinInfoRequest, opts ...grpc.CallOption) (*CoinInfoResponse, error) //EstimateCoinBuy return estimate of buy coin transaction. EstimateCoinBuy(ctx context.Context, in *EstimateCoinBuyRequest, opts ...grpc.CallOption) (*EstimateCoinBuyResponse, error) //EstimateCoinSell return estimate of sell coin transaction. EstimateCoinSell(ctx context.Context, in *EstimateCoinSellRequest, opts ...grpc.CallOption) (*EstimateCoinSellResponse, error) //EstimateCoinSellAll return estimate of sell all coin transaction. EstimateCoinSellAll(ctx context.Context, in *EstimateCoinSellAllRequest, opts ...grpc.CallOption) (*EstimateCoinSellAllResponse, error) //EstimateTxCommission return estimate of transaction. EstimateTxCommission(ctx context.Context, in *EstimateTxCommissionRequest, opts ...grpc.CallOption) (*EstimateTxCommissionResponse, error) //Events returns events at given height. Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (*EventsResponse, error) //MaxGas returns current max gas. MaxGas(ctx context.Context, in *MaxGasRequest, opts ...grpc.CallOption) (*MaxGasResponse, error) //MissedBlocks returns missed blocks by validator public key. MissedBlocks(ctx context.Context, in *MissedBlocksRequest, opts ...grpc.CallOption) (*MissedBlocksResponse, error) //SendTransaction returns the result of sending signed tx. To ensure that transaction was successfully committed to the blockchain, you need to find the transaction by the hash and ensure that the status code equals to 0. SendTransaction(ctx context.Context, in *SendTransactionRequest, opts ...grpc.CallOption) (*SendTransactionResponse, error) //Transaction returns transaction info. Transaction(ctx context.Context, in *TransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) //Transactions return transactions by query. Transactions(ctx context.Context, in *TransactionsRequest, opts ...grpc.CallOption) (*TransactionsResponse, error) //UnconfirmedTxs returns unconfirmed transactions. UnconfirmedTxs(ctx context.Context, in *UnconfirmedTxsRequest, opts ...grpc.CallOption) (*UnconfirmedTxsResponse, error) //Validators returns list of active validators. Validators(ctx context.Context, in *ValidatorsRequest, opts ...grpc.CallOption) (*ValidatorsResponse, error) //Validators returns frozen balance. Frozen(ctx context.Context, in *FrozenRequest, opts ...grpc.CallOption) (*FrozenResponse, error) //Stakes Stakes(ctx context.Context, in *StakesRequest, opts ...grpc.CallOption) (*StakesResponse, 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 { //Subscribe returns a subscription for events by query. Subscribe(*SubscribeRequest, ApiService_SubscribeServer) error //Halts Halts(context.Context, *HaltsRequest) (*HaltsResponse, error) //Genesis returns genesis file. Genesis(context.Context, *empty.Empty) (*GenesisResponse, error) //MinGasPrice returns current min gas price. MinGasPrice(context.Context, *empty.Empty) (*MinGasPriceResponse, error) //NetInfo returns network info NetInfo(context.Context, *empty.Empty) (*NetInfoResponse, error) //Status returns node status including pubkey, latest block. Status(context.Context, *empty.Empty) (*StatusResponse, error) //Address returns coins list, balance and transaction count of an address. Address(context.Context, *AddressRequest) (*AddressResponse, error) //Addresses returns list of addresses. Addresses(context.Context, *AddressesRequest) (*AddressesResponse, error) //Block returns block data at given height. Block(context.Context, *BlockRequest) (*BlockResponse, error) //Candidate returns candidate’s info by provided public_key. It will respond with 404 code if candidate is not found. Candidate(context.Context, *CandidateRequest) (*CandidateResponse, error) //Candidates returns list of candidates. Candidates(context.Context, *CandidatesRequest) (*CandidatesResponse, error) //CoinInfo returns information about coin. Note: this method does not return information about base coins (NOAH and QNOAH). CoinInfo(context.Context, *CoinInfoRequest) (*CoinInfoResponse, error) //EstimateCoinBuy return estimate of buy coin transaction. EstimateCoinBuy(context.Context, *EstimateCoinBuyRequest) (*EstimateCoinBuyResponse, error) //EstimateCoinSell return estimate of sell coin transaction. EstimateCoinSell(context.Context, *EstimateCoinSellRequest) (*EstimateCoinSellResponse, error) //EstimateCoinSellAll return estimate of sell all coin transaction. EstimateCoinSellAll(context.Context, *EstimateCoinSellAllRequest) (*EstimateCoinSellAllResponse, error) //EstimateTxCommission return estimate of transaction. EstimateTxCommission(context.Context, *EstimateTxCommissionRequest) (*EstimateTxCommissionResponse, error) //Events returns events at given height. Events(context.Context, *EventsRequest) (*EventsResponse, error) //MaxGas returns current max gas. MaxGas(context.Context, *MaxGasRequest) (*MaxGasResponse, error) //MissedBlocks returns missed blocks by validator public key. MissedBlocks(context.Context, *MissedBlocksRequest) (*MissedBlocksResponse, error) //SendTransaction returns the result of sending signed tx. To ensure that transaction was successfully committed to the blockchain, you need to find the transaction by the hash and ensure that the status code equals to 0. SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error) //Transaction returns transaction info. Transaction(context.Context, *TransactionRequest) (*TransactionResponse, error) //Transactions return transactions by query. Transactions(context.Context, *TransactionsRequest) (*TransactionsResponse, error) //UnconfirmedTxs returns unconfirmed transactions. UnconfirmedTxs(context.Context, *UnconfirmedTxsRequest) (*UnconfirmedTxsResponse, error) //Validators returns list of active validators. Validators(context.Context, *ValidatorsRequest) (*ValidatorsResponse, error) //Validators returns frozen balance. Frozen(context.Context, *FrozenRequest) (*FrozenResponse, error) //Stakes Stakes(context.Context, *StakesRequest) (*StakesResponse, error) }
ApiServiceServer is the server API for ApiService service.
type ApiService_SubscribeClient ¶
type ApiService_SubscribeClient interface { Recv() (*SubscribeResponse, error) grpc.ClientStream }
type ApiService_SubscribeServer ¶
type ApiService_SubscribeServer interface { Send(*SubscribeResponse) error grpc.ServerStream }
type BlockRequest ¶
type BlockRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Fields []BlockRequest_Field `protobuf:"varint,2,rep,packed,name=fields,proto3,enum=api_pb.BlockRequest_Field" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*BlockRequest) Descriptor
deprecated
func (*BlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockRequest.ProtoReflect.Descriptor instead.
func (*BlockRequest) GetFields ¶
func (x *BlockRequest) GetFields() []BlockRequest_Field
func (*BlockRequest) GetHeight ¶
func (x *BlockRequest) GetHeight() uint64
func (*BlockRequest) ProtoMessage ¶
func (*BlockRequest) ProtoMessage()
func (*BlockRequest) ProtoReflect ¶
func (x *BlockRequest) ProtoReflect() protoreflect.Message
func (*BlockRequest) Reset ¶
func (x *BlockRequest) Reset()
func (*BlockRequest) String ¶
func (x *BlockRequest) String() string
type BlockRequest_Field ¶
type BlockRequest_Field int32
const ( BlockRequest_transactions BlockRequest_Field = 0 BlockRequest_missed BlockRequest_Field = 1 BlockRequest_block_reward BlockRequest_Field = 2 BlockRequest_size BlockRequest_Field = 3 BlockRequest_proposer BlockRequest_Field = 4 BlockRequest_validators BlockRequest_Field = 5 BlockRequest_evidence BlockRequest_Field = 6 )
func (BlockRequest_Field) Descriptor ¶
func (BlockRequest_Field) Descriptor() protoreflect.EnumDescriptor
func (BlockRequest_Field) Enum ¶
func (x BlockRequest_Field) Enum() *BlockRequest_Field
func (BlockRequest_Field) EnumDescriptor
deprecated
func (BlockRequest_Field) EnumDescriptor() ([]byte, []int)
Deprecated: Use BlockRequest_Field.Descriptor instead.
func (BlockRequest_Field) Number ¶
func (x BlockRequest_Field) Number() protoreflect.EnumNumber
func (BlockRequest_Field) String ¶
func (x BlockRequest_Field) String() string
func (BlockRequest_Field) Type ¶
func (BlockRequest_Field) Type() protoreflect.EnumType
type BlockResponse ¶
type BlockResponse struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Height string `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"` Time string `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` TransactionsCount string `protobuf:"bytes,4,opt,name=transactions_count,json=transactionsCount,proto3" json:"transactions_count,omitempty"` Transactions []*BlockResponse_Transaction `protobuf:"bytes,6,rep,name=transactions,proto3" json:"transactions,omitempty"` BlockReward string `protobuf:"bytes,7,opt,name=block_reward,json=blockReward,proto3" json:"block_reward,omitempty"` Size string `protobuf:"bytes,8,opt,name=size,proto3" json:"size,omitempty"` Proposer string `protobuf:"bytes,9,opt,name=proposer,proto3" json:"proposer,omitempty"` Validators []*BlockResponse_Validator `protobuf:"bytes,10,rep,name=validators,proto3" json:"validators,omitempty"` Evidence *BlockResponse_Evidence `protobuf:"bytes,11,opt,name=evidence,proto3" json:"evidence,omitempty"` Missed []string `protobuf:"bytes,12,rep,name=missed,proto3" json:"missed,omitempty"` // contains filtered or unexported fields }
func (*BlockResponse) Descriptor
deprecated
func (*BlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlockResponse.ProtoReflect.Descriptor instead.
func (*BlockResponse) GetBlockReward ¶
func (x *BlockResponse) GetBlockReward() string
func (*BlockResponse) GetEvidence ¶
func (x *BlockResponse) GetEvidence() *BlockResponse_Evidence
func (*BlockResponse) GetHash ¶
func (x *BlockResponse) GetHash() string
func (*BlockResponse) GetHeight ¶
func (x *BlockResponse) GetHeight() string
func (*BlockResponse) GetMissed ¶
func (x *BlockResponse) GetMissed() []string
func (*BlockResponse) GetProposer ¶
func (x *BlockResponse) GetProposer() string
func (*BlockResponse) GetSize ¶
func (x *BlockResponse) GetSize() string
func (*BlockResponse) GetTime ¶
func (x *BlockResponse) GetTime() string
func (*BlockResponse) GetTransactions ¶
func (x *BlockResponse) GetTransactions() []*BlockResponse_Transaction
func (*BlockResponse) GetTransactionsCount ¶
func (x *BlockResponse) GetTransactionsCount() string
func (*BlockResponse) GetValidators ¶
func (x *BlockResponse) GetValidators() []*BlockResponse_Validator
func (*BlockResponse) ProtoMessage ¶
func (*BlockResponse) ProtoMessage()
func (*BlockResponse) ProtoReflect ¶
func (x *BlockResponse) ProtoReflect() protoreflect.Message
func (*BlockResponse) Reset ¶
func (x *BlockResponse) Reset()
func (*BlockResponse) String ¶
func (x *BlockResponse) String() string
type BlockResponse_Evidence ¶
type BlockResponse_Evidence struct { Evidence []*BlockResponse_Evidence_Evidence `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence,omitempty"` // contains filtered or unexported fields }
func (*BlockResponse_Evidence) Descriptor
deprecated
func (*BlockResponse_Evidence) Descriptor() ([]byte, []int)
Deprecated: Use BlockResponse_Evidence.ProtoReflect.Descriptor instead.
func (*BlockResponse_Evidence) GetEvidence ¶
func (x *BlockResponse_Evidence) GetEvidence() []*BlockResponse_Evidence_Evidence
func (*BlockResponse_Evidence) ProtoMessage ¶
func (*BlockResponse_Evidence) ProtoMessage()
func (*BlockResponse_Evidence) ProtoReflect ¶
func (x *BlockResponse_Evidence) ProtoReflect() protoreflect.Message
func (*BlockResponse_Evidence) Reset ¶
func (x *BlockResponse_Evidence) Reset()
func (*BlockResponse_Evidence) String ¶
func (x *BlockResponse_Evidence) String() string
type BlockResponse_Evidence_Evidence ¶
type BlockResponse_Evidence_Evidence struct { Height string `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"` Time string `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*BlockResponse_Evidence_Evidence) Descriptor
deprecated
func (*BlockResponse_Evidence_Evidence) Descriptor() ([]byte, []int)
Deprecated: Use BlockResponse_Evidence_Evidence.ProtoReflect.Descriptor instead.
func (*BlockResponse_Evidence_Evidence) GetAddress ¶
func (x *BlockResponse_Evidence_Evidence) GetAddress() string
func (*BlockResponse_Evidence_Evidence) GetHash ¶
func (x *BlockResponse_Evidence_Evidence) GetHash() string
func (*BlockResponse_Evidence_Evidence) GetHeight ¶
func (x *BlockResponse_Evidence_Evidence) GetHeight() string
func (*BlockResponse_Evidence_Evidence) GetTime ¶
func (x *BlockResponse_Evidence_Evidence) GetTime() string
func (*BlockResponse_Evidence_Evidence) ProtoMessage ¶
func (*BlockResponse_Evidence_Evidence) ProtoMessage()
func (*BlockResponse_Evidence_Evidence) ProtoReflect ¶
func (x *BlockResponse_Evidence_Evidence) ProtoReflect() protoreflect.Message
func (*BlockResponse_Evidence_Evidence) Reset ¶
func (x *BlockResponse_Evidence_Evidence) Reset()
func (*BlockResponse_Evidence_Evidence) String ¶
func (x *BlockResponse_Evidence_Evidence) String() string
type BlockResponse_Transaction ¶
type BlockResponse_Transaction struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` RawTx string `protobuf:"bytes,2,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"` From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` GasPrice string `protobuf:"bytes,5,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Data *_struct.Struct `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` Payload []byte `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` ServiceData []byte `protobuf:"bytes,9,opt,name=service_data,json=serviceData,proto3" json:"service_data,omitempty"` Gas string `protobuf:"bytes,10,opt,name=gas,proto3" json:"gas,omitempty"` GasCoin string `protobuf:"bytes,11,opt,name=gas_coin,json=gasCoin,proto3" json:"gas_coin,omitempty"` Tags map[string]string `` /* 150-byte string literal not displayed */ Code string `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` Log string `protobuf:"bytes,14,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*BlockResponse_Transaction) Descriptor
deprecated
func (*BlockResponse_Transaction) Descriptor() ([]byte, []int)
Deprecated: Use BlockResponse_Transaction.ProtoReflect.Descriptor instead.
func (*BlockResponse_Transaction) GetCode ¶
func (x *BlockResponse_Transaction) GetCode() string
func (*BlockResponse_Transaction) GetData ¶
func (x *BlockResponse_Transaction) GetData() *_struct.Struct
func (*BlockResponse_Transaction) GetFrom ¶
func (x *BlockResponse_Transaction) GetFrom() string
func (*BlockResponse_Transaction) GetGas ¶
func (x *BlockResponse_Transaction) GetGas() string
func (*BlockResponse_Transaction) GetGasCoin ¶
func (x *BlockResponse_Transaction) GetGasCoin() string
func (*BlockResponse_Transaction) GetGasPrice ¶
func (x *BlockResponse_Transaction) GetGasPrice() string
func (*BlockResponse_Transaction) GetHash ¶
func (x *BlockResponse_Transaction) GetHash() string
func (*BlockResponse_Transaction) GetLog ¶
func (x *BlockResponse_Transaction) GetLog() string
func (*BlockResponse_Transaction) GetNonce ¶
func (x *BlockResponse_Transaction) GetNonce() string
func (*BlockResponse_Transaction) GetPayload ¶
func (x *BlockResponse_Transaction) GetPayload() []byte
func (*BlockResponse_Transaction) GetRawTx ¶
func (x *BlockResponse_Transaction) GetRawTx() string
func (*BlockResponse_Transaction) GetServiceData ¶
func (x *BlockResponse_Transaction) GetServiceData() []byte
func (*BlockResponse_Transaction) GetTags ¶
func (x *BlockResponse_Transaction) GetTags() map[string]string
func (*BlockResponse_Transaction) GetType ¶
func (x *BlockResponse_Transaction) GetType() string
func (*BlockResponse_Transaction) ProtoMessage ¶
func (*BlockResponse_Transaction) ProtoMessage()
func (*BlockResponse_Transaction) ProtoReflect ¶
func (x *BlockResponse_Transaction) ProtoReflect() protoreflect.Message
func (*BlockResponse_Transaction) Reset ¶
func (x *BlockResponse_Transaction) Reset()
func (*BlockResponse_Transaction) String ¶
func (x *BlockResponse_Transaction) String() string
type BlockResponse_Validator ¶
type BlockResponse_Validator struct { PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Signed bool `protobuf:"varint,2,opt,name=signed,proto3" json:"signed,omitempty"` // contains filtered or unexported fields }
func (*BlockResponse_Validator) Descriptor
deprecated
func (*BlockResponse_Validator) Descriptor() ([]byte, []int)
Deprecated: Use BlockResponse_Validator.ProtoReflect.Descriptor instead.
func (*BlockResponse_Validator) GetPublicKey ¶
func (x *BlockResponse_Validator) GetPublicKey() string
func (*BlockResponse_Validator) GetSigned ¶
func (x *BlockResponse_Validator) GetSigned() bool
func (*BlockResponse_Validator) ProtoMessage ¶
func (*BlockResponse_Validator) ProtoMessage()
func (*BlockResponse_Validator) ProtoReflect ¶
func (x *BlockResponse_Validator) ProtoReflect() protoreflect.Message
func (*BlockResponse_Validator) Reset ¶
func (x *BlockResponse_Validator) Reset()
func (*BlockResponse_Validator) String ¶
func (x *BlockResponse_Validator) String() string
type CandidateRequest ¶
type CandidateRequest struct { PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*CandidateRequest) Descriptor
deprecated
func (*CandidateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CandidateRequest.ProtoReflect.Descriptor instead.
func (*CandidateRequest) GetHeight ¶
func (x *CandidateRequest) GetHeight() uint64
func (*CandidateRequest) GetPublicKey ¶
func (x *CandidateRequest) GetPublicKey() string
func (*CandidateRequest) ProtoMessage ¶
func (*CandidateRequest) ProtoMessage()
func (*CandidateRequest) ProtoReflect ¶
func (x *CandidateRequest) ProtoReflect() protoreflect.Message
func (*CandidateRequest) Reset ¶
func (x *CandidateRequest) Reset()
func (*CandidateRequest) String ¶
func (x *CandidateRequest) String() string
type CandidateResponse ¶
type CandidateResponse struct { RewardAddress string `protobuf:"bytes,1,opt,name=reward_address,json=rewardAddress,proto3" json:"reward_address,omitempty"` TotalStake string `protobuf:"bytes,2,opt,name=total_stake,json=totalStake,proto3" json:"total_stake,omitempty"` PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Commission string `protobuf:"bytes,4,opt,name=commission,proto3" json:"commission,omitempty"` UsedSlots string `protobuf:"bytes,7,opt,name=used_slots,json=usedSlots,proto3" json:"used_slots,omitempty"` UniqUsers string `protobuf:"bytes,8,opt,name=uniq_users,json=uniqUsers,proto3" json:"uniq_users,omitempty"` MinStake string `protobuf:"bytes,9,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` Stakes []*CandidateResponse_Stake `protobuf:"bytes,5,rep,name=stakes,proto3" json:"stakes,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CandidateResponse) Descriptor
deprecated
func (*CandidateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CandidateResponse.ProtoReflect.Descriptor instead.
func (*CandidateResponse) GetCommission ¶
func (x *CandidateResponse) GetCommission() string
func (*CandidateResponse) GetMinStake ¶
func (x *CandidateResponse) GetMinStake() string
func (*CandidateResponse) GetPublicKey ¶
func (x *CandidateResponse) GetPublicKey() string
func (*CandidateResponse) GetRewardAddress ¶
func (x *CandidateResponse) GetRewardAddress() string
func (*CandidateResponse) GetStakes ¶
func (x *CandidateResponse) GetStakes() []*CandidateResponse_Stake
func (*CandidateResponse) GetStatus ¶
func (x *CandidateResponse) GetStatus() string
func (*CandidateResponse) GetTotalStake ¶
func (x *CandidateResponse) GetTotalStake() string
func (*CandidateResponse) GetUniqUsers ¶
func (x *CandidateResponse) GetUniqUsers() string
func (*CandidateResponse) GetUsedSlots ¶
func (x *CandidateResponse) GetUsedSlots() string
func (*CandidateResponse) ProtoMessage ¶
func (*CandidateResponse) ProtoMessage()
func (*CandidateResponse) ProtoReflect ¶
func (x *CandidateResponse) ProtoReflect() protoreflect.Message
func (*CandidateResponse) Reset ¶
func (x *CandidateResponse) Reset()
func (*CandidateResponse) String ¶
func (x *CandidateResponse) String() string
type CandidateResponse_Stake ¶
type CandidateResponse_Stake struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Coin string `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` NoahValue string `protobuf:"bytes,4,opt,name=noah_value,json=noahValue,proto3" json:"noah_value,omitempty"` // contains filtered or unexported fields }
func (*CandidateResponse_Stake) Descriptor
deprecated
func (*CandidateResponse_Stake) Descriptor() ([]byte, []int)
Deprecated: Use CandidateResponse_Stake.ProtoReflect.Descriptor instead.
func (*CandidateResponse_Stake) GetCoin ¶
func (x *CandidateResponse_Stake) GetCoin() string
func (*CandidateResponse_Stake) GetNoahValue ¶
func (x *CandidateResponse_Stake) GetNoahValue() string
func (*CandidateResponse_Stake) GetOwner ¶
func (x *CandidateResponse_Stake) GetOwner() string
func (*CandidateResponse_Stake) GetValue ¶
func (x *CandidateResponse_Stake) GetValue() string
func (*CandidateResponse_Stake) ProtoMessage ¶
func (*CandidateResponse_Stake) ProtoMessage()
func (*CandidateResponse_Stake) ProtoReflect ¶
func (x *CandidateResponse_Stake) ProtoReflect() protoreflect.Message
func (*CandidateResponse_Stake) Reset ¶
func (x *CandidateResponse_Stake) Reset()
func (*CandidateResponse_Stake) String ¶
func (x *CandidateResponse_Stake) String() string
type CandidateStatus ¶
type CandidateStatus int32
const ( CandidateStatus__ CandidateStatus = 0 CandidateStatus_CandidateOff CandidateStatus = 1 CandidateStatus_CandidateOn CandidateStatus = 2 CandidateStatus_ValidatorOn CandidateStatus = 3 )
func (CandidateStatus) Descriptor ¶
func (CandidateStatus) Descriptor() protoreflect.EnumDescriptor
func (CandidateStatus) Enum ¶
func (x CandidateStatus) Enum() *CandidateStatus
func (CandidateStatus) EnumDescriptor
deprecated
func (CandidateStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use CandidateStatus.Descriptor instead.
func (CandidateStatus) Number ¶
func (x CandidateStatus) Number() protoreflect.EnumNumber
func (CandidateStatus) String ¶
func (x CandidateStatus) String() string
func (CandidateStatus) Type ¶
func (CandidateStatus) Type() protoreflect.EnumType
type CandidatesRequest ¶
type CandidatesRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` IncludeStakes bool `protobuf:"varint,2,opt,name=include_stakes,json=includeStakes,proto3" json:"include_stakes,omitempty"` Status CandidateStatus `protobuf:"varint,3,opt,name=status,proto3,enum=api_pb.CandidateStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CandidatesRequest) Descriptor
deprecated
func (*CandidatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CandidatesRequest.ProtoReflect.Descriptor instead.
func (*CandidatesRequest) GetHeight ¶
func (x *CandidatesRequest) GetHeight() uint64
func (*CandidatesRequest) GetIncludeStakes ¶
func (x *CandidatesRequest) GetIncludeStakes() bool
func (*CandidatesRequest) GetStatus ¶
func (x *CandidatesRequest) GetStatus() CandidateStatus
func (*CandidatesRequest) ProtoMessage ¶
func (*CandidatesRequest) ProtoMessage()
func (*CandidatesRequest) ProtoReflect ¶
func (x *CandidatesRequest) ProtoReflect() protoreflect.Message
func (*CandidatesRequest) Reset ¶
func (x *CandidatesRequest) Reset()
func (*CandidatesRequest) String ¶
func (x *CandidatesRequest) String() string
type CandidatesResponse ¶
type CandidatesResponse struct { Candidates []*CandidateResponse `protobuf:"bytes,3,rep,name=candidates,proto3" json:"candidates,omitempty"` // contains filtered or unexported fields }
func (*CandidatesResponse) Descriptor
deprecated
func (*CandidatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CandidatesResponse.ProtoReflect.Descriptor instead.
func (*CandidatesResponse) GetCandidates ¶
func (x *CandidatesResponse) GetCandidates() []*CandidateResponse
func (*CandidatesResponse) ProtoMessage ¶
func (*CandidatesResponse) ProtoMessage()
func (*CandidatesResponse) ProtoReflect ¶
func (x *CandidatesResponse) ProtoReflect() protoreflect.Message
func (*CandidatesResponse) Reset ¶
func (x *CandidatesResponse) Reset()
func (*CandidatesResponse) String ¶
func (x *CandidatesResponse) String() string
type CoinInfoRequest ¶
type CoinInfoRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
func (*CoinInfoRequest) Descriptor
deprecated
func (*CoinInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CoinInfoRequest.ProtoReflect.Descriptor instead.
func (*CoinInfoRequest) GetHeight ¶
func (x *CoinInfoRequest) GetHeight() uint64
func (*CoinInfoRequest) GetSymbol ¶
func (x *CoinInfoRequest) GetSymbol() string
func (*CoinInfoRequest) ProtoMessage ¶
func (*CoinInfoRequest) ProtoMessage()
func (*CoinInfoRequest) ProtoReflect ¶
func (x *CoinInfoRequest) ProtoReflect() protoreflect.Message
func (*CoinInfoRequest) Reset ¶
func (x *CoinInfoRequest) Reset()
func (*CoinInfoRequest) String ¶
func (x *CoinInfoRequest) String() string
type CoinInfoResponse ¶
type CoinInfoResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` Volume string `protobuf:"bytes,3,opt,name=volume,proto3" json:"volume,omitempty"` Crr string `protobuf:"bytes,4,opt,name=crr,proto3" json:"crr,omitempty"` ReserveBalance string `protobuf:"bytes,5,opt,name=reserve_balance,json=reserveBalance,proto3" json:"reserve_balance,omitempty"` // contains filtered or unexported fields }
func (*CoinInfoResponse) Descriptor
deprecated
func (*CoinInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CoinInfoResponse.ProtoReflect.Descriptor instead.
func (*CoinInfoResponse) GetCrr ¶
func (x *CoinInfoResponse) GetCrr() string
func (*CoinInfoResponse) GetName ¶
func (x *CoinInfoResponse) GetName() string
func (*CoinInfoResponse) GetReserveBalance ¶
func (x *CoinInfoResponse) GetReserveBalance() string
func (*CoinInfoResponse) GetSymbol ¶
func (x *CoinInfoResponse) GetSymbol() string
func (*CoinInfoResponse) GetVolume ¶
func (x *CoinInfoResponse) GetVolume() string
func (*CoinInfoResponse) ProtoMessage ¶
func (*CoinInfoResponse) ProtoMessage()
func (*CoinInfoResponse) ProtoReflect ¶
func (x *CoinInfoResponse) ProtoReflect() protoreflect.Message
func (*CoinInfoResponse) Reset ¶
func (x *CoinInfoResponse) Reset()
func (*CoinInfoResponse) String ¶
func (x *CoinInfoResponse) String() string
type EstimateCoinBuyRequest ¶
type EstimateCoinBuyRequest struct { CoinToBuy string `protobuf:"bytes,1,opt,name=coin_to_buy,json=coinToBuy,proto3" json:"coin_to_buy,omitempty"` CoinToSell string `protobuf:"bytes,2,opt,name=coin_to_sell,json=coinToSell,proto3" json:"coin_to_sell,omitempty"` ValueToBuy string `protobuf:"bytes,3,opt,name=value_to_buy,json=valueToBuy,proto3" json:"value_to_buy,omitempty"` Height uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*EstimateCoinBuyRequest) Descriptor
deprecated
func (*EstimateCoinBuyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimateCoinBuyRequest.ProtoReflect.Descriptor instead.
func (*EstimateCoinBuyRequest) GetCoinToBuy ¶
func (x *EstimateCoinBuyRequest) GetCoinToBuy() string
func (*EstimateCoinBuyRequest) GetCoinToSell ¶
func (x *EstimateCoinBuyRequest) GetCoinToSell() string
func (*EstimateCoinBuyRequest) GetHeight ¶
func (x *EstimateCoinBuyRequest) GetHeight() uint64
func (*EstimateCoinBuyRequest) GetValueToBuy ¶
func (x *EstimateCoinBuyRequest) GetValueToBuy() string
func (*EstimateCoinBuyRequest) ProtoMessage ¶
func (*EstimateCoinBuyRequest) ProtoMessage()
func (*EstimateCoinBuyRequest) ProtoReflect ¶
func (x *EstimateCoinBuyRequest) ProtoReflect() protoreflect.Message
func (*EstimateCoinBuyRequest) Reset ¶
func (x *EstimateCoinBuyRequest) Reset()
func (*EstimateCoinBuyRequest) String ¶
func (x *EstimateCoinBuyRequest) String() string
type EstimateCoinBuyResponse ¶
type EstimateCoinBuyResponse struct { WillPay string `protobuf:"bytes,1,opt,name=will_pay,json=willPay,proto3" json:"will_pay,omitempty"` Commission string `protobuf:"bytes,2,opt,name=commission,proto3" json:"commission,omitempty"` // contains filtered or unexported fields }
func (*EstimateCoinBuyResponse) Descriptor
deprecated
func (*EstimateCoinBuyResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimateCoinBuyResponse.ProtoReflect.Descriptor instead.
func (*EstimateCoinBuyResponse) GetCommission ¶
func (x *EstimateCoinBuyResponse) GetCommission() string
func (*EstimateCoinBuyResponse) GetWillPay ¶
func (x *EstimateCoinBuyResponse) GetWillPay() string
func (*EstimateCoinBuyResponse) ProtoMessage ¶
func (*EstimateCoinBuyResponse) ProtoMessage()
func (*EstimateCoinBuyResponse) ProtoReflect ¶
func (x *EstimateCoinBuyResponse) ProtoReflect() protoreflect.Message
func (*EstimateCoinBuyResponse) Reset ¶
func (x *EstimateCoinBuyResponse) Reset()
func (*EstimateCoinBuyResponse) String ¶
func (x *EstimateCoinBuyResponse) String() string
type EstimateCoinSellAllRequest ¶
type EstimateCoinSellAllRequest struct { CoinToSell string `protobuf:"bytes,1,opt,name=coin_to_sell,json=coinToSell,proto3" json:"coin_to_sell,omitempty"` CoinToBuy string `protobuf:"bytes,2,opt,name=coin_to_buy,json=coinToBuy,proto3" json:"coin_to_buy,omitempty"` ValueToSell string `protobuf:"bytes,3,opt,name=value_to_sell,json=valueToSell,proto3" json:"value_to_sell,omitempty"` GasPrice uint64 `protobuf:"varint,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*EstimateCoinSellAllRequest) Descriptor
deprecated
func (*EstimateCoinSellAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimateCoinSellAllRequest.ProtoReflect.Descriptor instead.
func (*EstimateCoinSellAllRequest) GetCoinToBuy ¶
func (x *EstimateCoinSellAllRequest) GetCoinToBuy() string
func (*EstimateCoinSellAllRequest) GetCoinToSell ¶
func (x *EstimateCoinSellAllRequest) GetCoinToSell() string
func (*EstimateCoinSellAllRequest) GetGasPrice ¶
func (x *EstimateCoinSellAllRequest) GetGasPrice() uint64
func (*EstimateCoinSellAllRequest) GetHeight ¶
func (x *EstimateCoinSellAllRequest) GetHeight() uint64
func (*EstimateCoinSellAllRequest) GetValueToSell ¶
func (x *EstimateCoinSellAllRequest) GetValueToSell() string
func (*EstimateCoinSellAllRequest) ProtoMessage ¶
func (*EstimateCoinSellAllRequest) ProtoMessage()
func (*EstimateCoinSellAllRequest) ProtoReflect ¶
func (x *EstimateCoinSellAllRequest) ProtoReflect() protoreflect.Message
func (*EstimateCoinSellAllRequest) Reset ¶
func (x *EstimateCoinSellAllRequest) Reset()
func (*EstimateCoinSellAllRequest) String ¶
func (x *EstimateCoinSellAllRequest) String() string
type EstimateCoinSellAllResponse ¶
type EstimateCoinSellAllResponse struct { WillGet string `protobuf:"bytes,1,opt,name=will_get,json=willGet,proto3" json:"will_get,omitempty"` // contains filtered or unexported fields }
func (*EstimateCoinSellAllResponse) Descriptor
deprecated
func (*EstimateCoinSellAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimateCoinSellAllResponse.ProtoReflect.Descriptor instead.
func (*EstimateCoinSellAllResponse) GetWillGet ¶
func (x *EstimateCoinSellAllResponse) GetWillGet() string
func (*EstimateCoinSellAllResponse) ProtoMessage ¶
func (*EstimateCoinSellAllResponse) ProtoMessage()
func (*EstimateCoinSellAllResponse) ProtoReflect ¶
func (x *EstimateCoinSellAllResponse) ProtoReflect() protoreflect.Message
func (*EstimateCoinSellAllResponse) Reset ¶
func (x *EstimateCoinSellAllResponse) Reset()
func (*EstimateCoinSellAllResponse) String ¶
func (x *EstimateCoinSellAllResponse) String() string
type EstimateCoinSellRequest ¶
type EstimateCoinSellRequest struct { CoinToSell string `protobuf:"bytes,1,opt,name=coin_to_sell,json=coinToSell,proto3" json:"coin_to_sell,omitempty"` CoinToBuy string `protobuf:"bytes,2,opt,name=coin_to_buy,json=coinToBuy,proto3" json:"coin_to_buy,omitempty"` ValueToSell string `protobuf:"bytes,3,opt,name=value_to_sell,json=valueToSell,proto3" json:"value_to_sell,omitempty"` Height uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*EstimateCoinSellRequest) Descriptor
deprecated
func (*EstimateCoinSellRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimateCoinSellRequest.ProtoReflect.Descriptor instead.
func (*EstimateCoinSellRequest) GetCoinToBuy ¶
func (x *EstimateCoinSellRequest) GetCoinToBuy() string
func (*EstimateCoinSellRequest) GetCoinToSell ¶
func (x *EstimateCoinSellRequest) GetCoinToSell() string
func (*EstimateCoinSellRequest) GetHeight ¶
func (x *EstimateCoinSellRequest) GetHeight() uint64
func (*EstimateCoinSellRequest) GetValueToSell ¶
func (x *EstimateCoinSellRequest) GetValueToSell() string
func (*EstimateCoinSellRequest) ProtoMessage ¶
func (*EstimateCoinSellRequest) ProtoMessage()
func (*EstimateCoinSellRequest) ProtoReflect ¶
func (x *EstimateCoinSellRequest) ProtoReflect() protoreflect.Message
func (*EstimateCoinSellRequest) Reset ¶
func (x *EstimateCoinSellRequest) Reset()
func (*EstimateCoinSellRequest) String ¶
func (x *EstimateCoinSellRequest) String() string
type EstimateCoinSellResponse ¶
type EstimateCoinSellResponse struct { WillGet string `protobuf:"bytes,1,opt,name=will_get,json=willGet,proto3" json:"will_get,omitempty"` Commission string `protobuf:"bytes,2,opt,name=commission,proto3" json:"commission,omitempty"` // contains filtered or unexported fields }
func (*EstimateCoinSellResponse) Descriptor
deprecated
func (*EstimateCoinSellResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimateCoinSellResponse.ProtoReflect.Descriptor instead.
func (*EstimateCoinSellResponse) GetCommission ¶
func (x *EstimateCoinSellResponse) GetCommission() string
func (*EstimateCoinSellResponse) GetWillGet ¶
func (x *EstimateCoinSellResponse) GetWillGet() string
func (*EstimateCoinSellResponse) ProtoMessage ¶
func (*EstimateCoinSellResponse) ProtoMessage()
func (*EstimateCoinSellResponse) ProtoReflect ¶
func (x *EstimateCoinSellResponse) ProtoReflect() protoreflect.Message
func (*EstimateCoinSellResponse) Reset ¶
func (x *EstimateCoinSellResponse) Reset()
func (*EstimateCoinSellResponse) String ¶
func (x *EstimateCoinSellResponse) String() string
type EstimateTxCommissionRequest ¶
type EstimateTxCommissionRequest struct { // Types that are assignable to Transaction: // *EstimateTxCommissionRequest_Tx // *EstimateTxCommissionRequest_Data Transaction isEstimateTxCommissionRequest_Transaction `protobuf_oneof:"Transaction"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*EstimateTxCommissionRequest) Descriptor
deprecated
func (*EstimateTxCommissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimateTxCommissionRequest.ProtoReflect.Descriptor instead.
func (*EstimateTxCommissionRequest) GetData ¶
func (x *EstimateTxCommissionRequest) GetData() *EstimateTxCommissionRequest_TransactionData
func (*EstimateTxCommissionRequest) GetHeight ¶
func (x *EstimateTxCommissionRequest) GetHeight() uint64
func (*EstimateTxCommissionRequest) GetTransaction ¶
func (m *EstimateTxCommissionRequest) GetTransaction() isEstimateTxCommissionRequest_Transaction
func (*EstimateTxCommissionRequest) GetTx ¶
func (x *EstimateTxCommissionRequest) GetTx() string
func (*EstimateTxCommissionRequest) ProtoMessage ¶
func (*EstimateTxCommissionRequest) ProtoMessage()
func (*EstimateTxCommissionRequest) ProtoReflect ¶
func (x *EstimateTxCommissionRequest) ProtoReflect() protoreflect.Message
func (*EstimateTxCommissionRequest) Reset ¶
func (x *EstimateTxCommissionRequest) Reset()
func (*EstimateTxCommissionRequest) String ¶
func (x *EstimateTxCommissionRequest) String() string
type EstimateTxCommissionRequest_Data ¶
type EstimateTxCommissionRequest_Data struct {
Data *EstimateTxCommissionRequest_TransactionData `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}
type EstimateTxCommissionRequest_TransactionData ¶
type EstimateTxCommissionRequest_TransactionData struct { GasCoin string `protobuf:"bytes,3,opt,name=gas_coin,json=gasCoin,proto3" json:"gas_coin,omitempty"` Type EstimateTxCommissionRequest_TransactionData_Type `protobuf:"varint,4,opt,name=type,proto3,enum=api_pb.EstimateTxCommissionRequest_TransactionData_Type" json:"type,omitempty"` Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` Mtxs int64 `protobuf:"varint,6,opt,name=mtxs,proto3" json:"mtxs,omitempty"` // contains filtered or unexported fields }
func (*EstimateTxCommissionRequest_TransactionData) Descriptor
deprecated
func (*EstimateTxCommissionRequest_TransactionData) Descriptor() ([]byte, []int)
Deprecated: Use EstimateTxCommissionRequest_TransactionData.ProtoReflect.Descriptor instead.
func (*EstimateTxCommissionRequest_TransactionData) GetGasCoin ¶
func (x *EstimateTxCommissionRequest_TransactionData) GetGasCoin() string
func (*EstimateTxCommissionRequest_TransactionData) GetMtxs ¶
func (x *EstimateTxCommissionRequest_TransactionData) GetMtxs() int64
func (*EstimateTxCommissionRequest_TransactionData) GetPayload ¶
func (x *EstimateTxCommissionRequest_TransactionData) GetPayload() []byte
func (*EstimateTxCommissionRequest_TransactionData) ProtoMessage ¶
func (*EstimateTxCommissionRequest_TransactionData) ProtoMessage()
func (*EstimateTxCommissionRequest_TransactionData) ProtoReflect ¶
func (x *EstimateTxCommissionRequest_TransactionData) ProtoReflect() protoreflect.Message
func (*EstimateTxCommissionRequest_TransactionData) Reset ¶
func (x *EstimateTxCommissionRequest_TransactionData) Reset()
func (*EstimateTxCommissionRequest_TransactionData) String ¶
func (x *EstimateTxCommissionRequest_TransactionData) String() string
type EstimateTxCommissionRequest_TransactionData_Type ¶
type EstimateTxCommissionRequest_TransactionData_Type int32
const ( EstimateTxCommissionRequest_TransactionData__ EstimateTxCommissionRequest_TransactionData_Type = 0 EstimateTxCommissionRequest_TransactionData_Send EstimateTxCommissionRequest_TransactionData_Type = 1 EstimateTxCommissionRequest_TransactionData_SellCoin EstimateTxCommissionRequest_TransactionData_Type = 2 EstimateTxCommissionRequest_TransactionData_SellAllCoin EstimateTxCommissionRequest_TransactionData_Type = 3 EstimateTxCommissionRequest_TransactionData_BuyCoin EstimateTxCommissionRequest_TransactionData_Type = 4 EstimateTxCommissionRequest_TransactionData_CreateCoin EstimateTxCommissionRequest_TransactionData_Type = 5 EstimateTxCommissionRequest_TransactionData_DeclareCandidacy EstimateTxCommissionRequest_TransactionData_Type = 6 EstimateTxCommissionRequest_TransactionData_Delegate EstimateTxCommissionRequest_TransactionData_Type = 7 EstimateTxCommissionRequest_TransactionData_Unbond EstimateTxCommissionRequest_TransactionData_Type = 8 EstimateTxCommissionRequest_TransactionData_RedeemCheck EstimateTxCommissionRequest_TransactionData_Type = 9 EstimateTxCommissionRequest_TransactionData_SetCandidateOnline EstimateTxCommissionRequest_TransactionData_Type = 10 EstimateTxCommissionRequest_TransactionData_SetCandidateOffline EstimateTxCommissionRequest_TransactionData_Type = 11 EstimateTxCommissionRequest_TransactionData_CreateMultisig EstimateTxCommissionRequest_TransactionData_Type = 12 EstimateTxCommissionRequest_TransactionData_Multisend EstimateTxCommissionRequest_TransactionData_Type = 13 EstimateTxCommissionRequest_TransactionData_EditCandidate EstimateTxCommissionRequest_TransactionData_Type = 14 )
func (EstimateTxCommissionRequest_TransactionData_Type) Descriptor ¶
func (EstimateTxCommissionRequest_TransactionData_Type) Descriptor() protoreflect.EnumDescriptor
func (EstimateTxCommissionRequest_TransactionData_Type) EnumDescriptor
deprecated
func (EstimateTxCommissionRequest_TransactionData_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use EstimateTxCommissionRequest_TransactionData_Type.Descriptor instead.
func (EstimateTxCommissionRequest_TransactionData_Type) Number ¶
func (x EstimateTxCommissionRequest_TransactionData_Type) Number() protoreflect.EnumNumber
func (EstimateTxCommissionRequest_TransactionData_Type) String ¶
func (x EstimateTxCommissionRequest_TransactionData_Type) String() string
type EstimateTxCommissionRequest_Tx ¶
type EstimateTxCommissionRequest_Tx struct {
Tx string `protobuf:"bytes,1,opt,name=tx,proto3,oneof"`
}
type EstimateTxCommissionResponse ¶
type EstimateTxCommissionResponse struct { Commission string `protobuf:"bytes,1,opt,name=commission,proto3" json:"commission,omitempty"` // contains filtered or unexported fields }
func (*EstimateTxCommissionResponse) Descriptor
deprecated
func (*EstimateTxCommissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimateTxCommissionResponse.ProtoReflect.Descriptor instead.
func (*EstimateTxCommissionResponse) GetCommission ¶
func (x *EstimateTxCommissionResponse) GetCommission() string
func (*EstimateTxCommissionResponse) ProtoMessage ¶
func (*EstimateTxCommissionResponse) ProtoMessage()
func (*EstimateTxCommissionResponse) ProtoReflect ¶
func (x *EstimateTxCommissionResponse) ProtoReflect() protoreflect.Message
func (*EstimateTxCommissionResponse) Reset ¶
func (x *EstimateTxCommissionResponse) Reset()
func (*EstimateTxCommissionResponse) String ¶
func (x *EstimateTxCommissionResponse) String() string
type EventsRequest ¶
type EventsRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Search []string `protobuf:"bytes,2,rep,name=search,proto3" json:"search,omitempty"` // contains filtered or unexported fields }
func (*EventsRequest) Descriptor
deprecated
func (*EventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use EventsRequest.ProtoReflect.Descriptor instead.
func (*EventsRequest) GetHeight ¶
func (x *EventsRequest) GetHeight() uint64
func (*EventsRequest) GetSearch ¶
func (x *EventsRequest) GetSearch() []string
func (*EventsRequest) ProtoMessage ¶
func (*EventsRequest) ProtoMessage()
func (*EventsRequest) ProtoReflect ¶
func (x *EventsRequest) ProtoReflect() protoreflect.Message
func (*EventsRequest) Reset ¶
func (x *EventsRequest) Reset()
func (*EventsRequest) String ¶
func (x *EventsRequest) String() string
type EventsResponse ¶
type EventsResponse struct { Events []*EventsResponse_Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*EventsResponse) Descriptor
deprecated
func (*EventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead.
func (*EventsResponse) GetEvents ¶
func (x *EventsResponse) GetEvents() []*EventsResponse_Event
func (*EventsResponse) ProtoMessage ¶
func (*EventsResponse) ProtoMessage()
func (*EventsResponse) ProtoReflect ¶
func (x *EventsResponse) ProtoReflect() protoreflect.Message
func (*EventsResponse) Reset ¶
func (x *EventsResponse) Reset()
func (*EventsResponse) String ¶
func (x *EventsResponse) String() string
type EventsResponse_Event ¶
type EventsResponse_Event struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value *_struct.Struct `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*EventsResponse_Event) Descriptor
deprecated
func (*EventsResponse_Event) Descriptor() ([]byte, []int)
Deprecated: Use EventsResponse_Event.ProtoReflect.Descriptor instead.
func (*EventsResponse_Event) GetType ¶
func (x *EventsResponse_Event) GetType() string
func (*EventsResponse_Event) GetValue ¶
func (x *EventsResponse_Event) GetValue() *_struct.Struct
func (*EventsResponse_Event) ProtoMessage ¶
func (*EventsResponse_Event) ProtoMessage()
func (*EventsResponse_Event) ProtoReflect ¶
func (x *EventsResponse_Event) ProtoReflect() protoreflect.Message
func (*EventsResponse_Event) Reset ¶
func (x *EventsResponse_Event) Reset()
func (*EventsResponse_Event) String ¶
func (x *EventsResponse_Event) String() string
type FrozenRequest ¶
type FrozenRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Coin string `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin,omitempty"` // contains filtered or unexported fields }
func (*FrozenRequest) Descriptor
deprecated
func (*FrozenRequest) Descriptor() ([]byte, []int)
Deprecated: Use FrozenRequest.ProtoReflect.Descriptor instead.
func (*FrozenRequest) GetAddress ¶
func (x *FrozenRequest) GetAddress() string
func (*FrozenRequest) GetCoin ¶
func (x *FrozenRequest) GetCoin() string
func (*FrozenRequest) ProtoMessage ¶
func (*FrozenRequest) ProtoMessage()
func (*FrozenRequest) ProtoReflect ¶
func (x *FrozenRequest) ProtoReflect() protoreflect.Message
func (*FrozenRequest) Reset ¶
func (x *FrozenRequest) Reset()
func (*FrozenRequest) String ¶
func (x *FrozenRequest) String() string
type FrozenResponse ¶
type FrozenResponse struct { Frozen []*FrozenResponse_Frozen `protobuf:"bytes,1,rep,name=frozen,proto3" json:"frozen,omitempty"` // contains filtered or unexported fields }
func (*FrozenResponse) Descriptor
deprecated
func (*FrozenResponse) Descriptor() ([]byte, []int)
Deprecated: Use FrozenResponse.ProtoReflect.Descriptor instead.
func (*FrozenResponse) GetFrozen ¶
func (x *FrozenResponse) GetFrozen() []*FrozenResponse_Frozen
func (*FrozenResponse) ProtoMessage ¶
func (*FrozenResponse) ProtoMessage()
func (*FrozenResponse) ProtoReflect ¶
func (x *FrozenResponse) ProtoReflect() protoreflect.Message
func (*FrozenResponse) Reset ¶
func (x *FrozenResponse) Reset()
func (*FrozenResponse) String ¶
func (x *FrozenResponse) String() string
type FrozenResponse_Frozen ¶
type FrozenResponse_Frozen struct { Height string `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` CandidateKey string `protobuf:"bytes,3,opt,name=candidate_key,json=candidateKey,proto3" json:"candidate_key,omitempty"` Coin string `protobuf:"bytes,4,opt,name=coin,proto3" json:"coin,omitempty"` Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*FrozenResponse_Frozen) Descriptor
deprecated
func (*FrozenResponse_Frozen) Descriptor() ([]byte, []int)
Deprecated: Use FrozenResponse_Frozen.ProtoReflect.Descriptor instead.
func (*FrozenResponse_Frozen) GetAddress ¶
func (x *FrozenResponse_Frozen) GetAddress() string
func (*FrozenResponse_Frozen) GetCandidateKey ¶
func (x *FrozenResponse_Frozen) GetCandidateKey() string
func (*FrozenResponse_Frozen) GetCoin ¶
func (x *FrozenResponse_Frozen) GetCoin() string
func (*FrozenResponse_Frozen) GetHeight ¶
func (x *FrozenResponse_Frozen) GetHeight() string
func (*FrozenResponse_Frozen) GetValue ¶
func (x *FrozenResponse_Frozen) GetValue() string
func (*FrozenResponse_Frozen) ProtoMessage ¶
func (*FrozenResponse_Frozen) ProtoMessage()
func (*FrozenResponse_Frozen) ProtoReflect ¶
func (x *FrozenResponse_Frozen) ProtoReflect() protoreflect.Message
func (*FrozenResponse_Frozen) Reset ¶
func (x *FrozenResponse_Frozen) Reset()
func (*FrozenResponse_Frozen) String ¶
func (x *FrozenResponse_Frozen) String() string
type GenesisResponse ¶
type GenesisResponse struct { GenesisTime string `protobuf:"bytes,1,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ConsensusParams *GenesisResponse_ConsensusParams `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"` AppHash string `protobuf:"bytes,4,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` AppState *_struct.Struct `protobuf:"bytes,5,opt,name=app_state,json=appState,proto3" json:"app_state,omitempty"` // contains filtered or unexported fields }
func (*GenesisResponse) Descriptor
deprecated
func (*GenesisResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenesisResponse.ProtoReflect.Descriptor instead.
func (*GenesisResponse) GetAppHash ¶
func (x *GenesisResponse) GetAppHash() string
func (*GenesisResponse) GetAppState ¶
func (x *GenesisResponse) GetAppState() *_struct.Struct
func (*GenesisResponse) GetChainId ¶
func (x *GenesisResponse) GetChainId() string
func (*GenesisResponse) GetConsensusParams ¶
func (x *GenesisResponse) GetConsensusParams() *GenesisResponse_ConsensusParams
func (*GenesisResponse) GetGenesisTime ¶
func (x *GenesisResponse) GetGenesisTime() string
func (*GenesisResponse) ProtoMessage ¶
func (*GenesisResponse) ProtoMessage()
func (*GenesisResponse) ProtoReflect ¶
func (x *GenesisResponse) ProtoReflect() protoreflect.Message
func (*GenesisResponse) Reset ¶
func (x *GenesisResponse) Reset()
func (*GenesisResponse) String ¶
func (x *GenesisResponse) String() string
type GenesisResponse_ConsensusParams ¶
type GenesisResponse_ConsensusParams struct { Block *GenesisResponse_ConsensusParams_Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` Evidence *GenesisResponse_ConsensusParams_Evidence `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"` Validator *GenesisResponse_ConsensusParams_Validator `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"` // contains filtered or unexported fields }
func (*GenesisResponse_ConsensusParams) Descriptor
deprecated
func (*GenesisResponse_ConsensusParams) Descriptor() ([]byte, []int)
Deprecated: Use GenesisResponse_ConsensusParams.ProtoReflect.Descriptor instead.
func (*GenesisResponse_ConsensusParams) GetBlock ¶
func (x *GenesisResponse_ConsensusParams) GetBlock() *GenesisResponse_ConsensusParams_Block
func (*GenesisResponse_ConsensusParams) GetEvidence ¶
func (x *GenesisResponse_ConsensusParams) GetEvidence() *GenesisResponse_ConsensusParams_Evidence
func (*GenesisResponse_ConsensusParams) GetValidator ¶
func (x *GenesisResponse_ConsensusParams) GetValidator() *GenesisResponse_ConsensusParams_Validator
func (*GenesisResponse_ConsensusParams) ProtoMessage ¶
func (*GenesisResponse_ConsensusParams) ProtoMessage()
func (*GenesisResponse_ConsensusParams) ProtoReflect ¶
func (x *GenesisResponse_ConsensusParams) ProtoReflect() protoreflect.Message
func (*GenesisResponse_ConsensusParams) Reset ¶
func (x *GenesisResponse_ConsensusParams) Reset()
func (*GenesisResponse_ConsensusParams) String ¶
func (x *GenesisResponse_ConsensusParams) String() string
type GenesisResponse_ConsensusParams_Block ¶
type GenesisResponse_ConsensusParams_Block struct { MaxBytes string `protobuf:"bytes,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` MaxGas string `protobuf:"bytes,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` TimeIotaMs string `protobuf:"bytes,3,opt,name=time_iota_ms,json=timeIotaMs,proto3" json:"time_iota_ms,omitempty"` // contains filtered or unexported fields }
func (*GenesisResponse_ConsensusParams_Block) Descriptor
deprecated
func (*GenesisResponse_ConsensusParams_Block) Descriptor() ([]byte, []int)
Deprecated: Use GenesisResponse_ConsensusParams_Block.ProtoReflect.Descriptor instead.
func (*GenesisResponse_ConsensusParams_Block) GetMaxBytes ¶
func (x *GenesisResponse_ConsensusParams_Block) GetMaxBytes() string
func (*GenesisResponse_ConsensusParams_Block) GetMaxGas ¶
func (x *GenesisResponse_ConsensusParams_Block) GetMaxGas() string
func (*GenesisResponse_ConsensusParams_Block) GetTimeIotaMs ¶
func (x *GenesisResponse_ConsensusParams_Block) GetTimeIotaMs() string
func (*GenesisResponse_ConsensusParams_Block) ProtoMessage ¶
func (*GenesisResponse_ConsensusParams_Block) ProtoMessage()
func (*GenesisResponse_ConsensusParams_Block) ProtoReflect ¶
func (x *GenesisResponse_ConsensusParams_Block) ProtoReflect() protoreflect.Message
func (*GenesisResponse_ConsensusParams_Block) Reset ¶
func (x *GenesisResponse_ConsensusParams_Block) Reset()
func (*GenesisResponse_ConsensusParams_Block) String ¶
func (x *GenesisResponse_ConsensusParams_Block) String() string
type GenesisResponse_ConsensusParams_Evidence ¶
type GenesisResponse_ConsensusParams_Evidence struct { MaxAgeNumBlocks string `protobuf:"bytes,1,opt,name=max_age_num_blocks,json=maxAgeNumBlocks,proto3" json:"max_age_num_blocks,omitempty"` MaxAgeDuration string `protobuf:"bytes,2,opt,name=max_age_duration,json=maxAgeDuration,proto3" json:"max_age_duration,omitempty"` // contains filtered or unexported fields }
func (*GenesisResponse_ConsensusParams_Evidence) Descriptor
deprecated
func (*GenesisResponse_ConsensusParams_Evidence) Descriptor() ([]byte, []int)
Deprecated: Use GenesisResponse_ConsensusParams_Evidence.ProtoReflect.Descriptor instead.
func (*GenesisResponse_ConsensusParams_Evidence) GetMaxAgeDuration ¶
func (x *GenesisResponse_ConsensusParams_Evidence) GetMaxAgeDuration() string
func (*GenesisResponse_ConsensusParams_Evidence) GetMaxAgeNumBlocks ¶
func (x *GenesisResponse_ConsensusParams_Evidence) GetMaxAgeNumBlocks() string
func (*GenesisResponse_ConsensusParams_Evidence) ProtoMessage ¶
func (*GenesisResponse_ConsensusParams_Evidence) ProtoMessage()
func (*GenesisResponse_ConsensusParams_Evidence) ProtoReflect ¶
func (x *GenesisResponse_ConsensusParams_Evidence) ProtoReflect() protoreflect.Message
func (*GenesisResponse_ConsensusParams_Evidence) Reset ¶
func (x *GenesisResponse_ConsensusParams_Evidence) Reset()
func (*GenesisResponse_ConsensusParams_Evidence) String ¶
func (x *GenesisResponse_ConsensusParams_Evidence) String() string
type GenesisResponse_ConsensusParams_Validator ¶
type GenesisResponse_ConsensusParams_Validator struct { PublicKeyTypes []string `protobuf:"bytes,1,rep,name=public_key_types,json=publicKeyTypes,proto3" json:"public_key_types,omitempty"` // contains filtered or unexported fields }
func (*GenesisResponse_ConsensusParams_Validator) Descriptor
deprecated
func (*GenesisResponse_ConsensusParams_Validator) Descriptor() ([]byte, []int)
Deprecated: Use GenesisResponse_ConsensusParams_Validator.ProtoReflect.Descriptor instead.
func (*GenesisResponse_ConsensusParams_Validator) GetPublicKeyTypes ¶
func (x *GenesisResponse_ConsensusParams_Validator) GetPublicKeyTypes() []string
func (*GenesisResponse_ConsensusParams_Validator) ProtoMessage ¶
func (*GenesisResponse_ConsensusParams_Validator) ProtoMessage()
func (*GenesisResponse_ConsensusParams_Validator) ProtoReflect ¶
func (x *GenesisResponse_ConsensusParams_Validator) ProtoReflect() protoreflect.Message
func (*GenesisResponse_ConsensusParams_Validator) Reset ¶
func (x *GenesisResponse_ConsensusParams_Validator) Reset()
func (*GenesisResponse_ConsensusParams_Validator) String ¶
func (x *GenesisResponse_ConsensusParams_Validator) String() string
type HaltsRequest ¶
type HaltsRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*HaltsRequest) Descriptor
deprecated
func (*HaltsRequest) Descriptor() ([]byte, []int)
Deprecated: Use HaltsRequest.ProtoReflect.Descriptor instead.
func (*HaltsRequest) GetHeight ¶
func (x *HaltsRequest) GetHeight() uint64
func (*HaltsRequest) ProtoMessage ¶
func (*HaltsRequest) ProtoMessage()
func (*HaltsRequest) ProtoReflect ¶
func (x *HaltsRequest) ProtoReflect() protoreflect.Message
func (*HaltsRequest) Reset ¶
func (x *HaltsRequest) Reset()
func (*HaltsRequest) String ¶
func (x *HaltsRequest) String() string
type HaltsResponse ¶
type HaltsResponse struct { Votes []string `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"` // contains filtered or unexported fields }
func (*HaltsResponse) Descriptor
deprecated
func (*HaltsResponse) Descriptor() ([]byte, []int)
Deprecated: Use HaltsResponse.ProtoReflect.Descriptor instead.
func (*HaltsResponse) GetVotes ¶
func (x *HaltsResponse) GetVotes() []string
func (*HaltsResponse) ProtoMessage ¶
func (*HaltsResponse) ProtoMessage()
func (*HaltsResponse) ProtoReflect ¶
func (x *HaltsResponse) ProtoReflect() protoreflect.Message
func (*HaltsResponse) Reset ¶
func (x *HaltsResponse) Reset()
func (*HaltsResponse) String ¶
func (x *HaltsResponse) String() string
type MaxGasRequest ¶
type MaxGasRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*MaxGasRequest) Descriptor
deprecated
func (*MaxGasRequest) Descriptor() ([]byte, []int)
Deprecated: Use MaxGasRequest.ProtoReflect.Descriptor instead.
func (*MaxGasRequest) GetHeight ¶
func (x *MaxGasRequest) GetHeight() uint64
func (*MaxGasRequest) ProtoMessage ¶
func (*MaxGasRequest) ProtoMessage()
func (*MaxGasRequest) ProtoReflect ¶
func (x *MaxGasRequest) ProtoReflect() protoreflect.Message
func (*MaxGasRequest) Reset ¶
func (x *MaxGasRequest) Reset()
func (*MaxGasRequest) String ¶
func (x *MaxGasRequest) String() string
type MaxGasResponse ¶
type MaxGasResponse struct { MaxGas string `protobuf:"bytes,3,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` // contains filtered or unexported fields }
func (*MaxGasResponse) Descriptor
deprecated
func (*MaxGasResponse) Descriptor() ([]byte, []int)
Deprecated: Use MaxGasResponse.ProtoReflect.Descriptor instead.
func (*MaxGasResponse) GetMaxGas ¶
func (x *MaxGasResponse) GetMaxGas() string
func (*MaxGasResponse) ProtoMessage ¶
func (*MaxGasResponse) ProtoMessage()
func (*MaxGasResponse) ProtoReflect ¶
func (x *MaxGasResponse) ProtoReflect() protoreflect.Message
func (*MaxGasResponse) Reset ¶
func (x *MaxGasResponse) Reset()
func (*MaxGasResponse) String ¶
func (x *MaxGasResponse) String() string
type MinGasPriceResponse ¶
type MinGasPriceResponse struct { MinGasPrice string `protobuf:"bytes,3,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price,omitempty"` // contains filtered or unexported fields }
func (*MinGasPriceResponse) Descriptor
deprecated
func (*MinGasPriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MinGasPriceResponse.ProtoReflect.Descriptor instead.
func (*MinGasPriceResponse) GetMinGasPrice ¶
func (x *MinGasPriceResponse) GetMinGasPrice() string
func (*MinGasPriceResponse) ProtoMessage ¶
func (*MinGasPriceResponse) ProtoMessage()
func (*MinGasPriceResponse) ProtoReflect ¶
func (x *MinGasPriceResponse) ProtoReflect() protoreflect.Message
func (*MinGasPriceResponse) Reset ¶
func (x *MinGasPriceResponse) Reset()
func (*MinGasPriceResponse) String ¶
func (x *MinGasPriceResponse) String() string
type MissedBlocksRequest ¶
type MissedBlocksRequest struct { PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*MissedBlocksRequest) Descriptor
deprecated
func (*MissedBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use MissedBlocksRequest.ProtoReflect.Descriptor instead.
func (*MissedBlocksRequest) GetHeight ¶
func (x *MissedBlocksRequest) GetHeight() uint64
func (*MissedBlocksRequest) GetPublicKey ¶
func (x *MissedBlocksRequest) GetPublicKey() string
func (*MissedBlocksRequest) ProtoMessage ¶
func (*MissedBlocksRequest) ProtoMessage()
func (*MissedBlocksRequest) ProtoReflect ¶
func (x *MissedBlocksRequest) ProtoReflect() protoreflect.Message
func (*MissedBlocksRequest) Reset ¶
func (x *MissedBlocksRequest) Reset()
func (*MissedBlocksRequest) String ¶
func (x *MissedBlocksRequest) String() string
type MissedBlocksResponse ¶
type MissedBlocksResponse struct { MissedBlocks string `protobuf:"bytes,1,opt,name=missed_blocks,json=missedBlocks,proto3" json:"missed_blocks,omitempty"` MissedBlocksCount string `protobuf:"bytes,2,opt,name=missed_blocks_count,json=missedBlocksCount,proto3" json:"missed_blocks_count,omitempty"` // contains filtered or unexported fields }
func (*MissedBlocksResponse) Descriptor
deprecated
func (*MissedBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use MissedBlocksResponse.ProtoReflect.Descriptor instead.
func (*MissedBlocksResponse) GetMissedBlocks ¶
func (x *MissedBlocksResponse) GetMissedBlocks() string
func (*MissedBlocksResponse) GetMissedBlocksCount ¶
func (x *MissedBlocksResponse) GetMissedBlocksCount() string
func (*MissedBlocksResponse) ProtoMessage ¶
func (*MissedBlocksResponse) ProtoMessage()
func (*MissedBlocksResponse) ProtoReflect ¶
func (x *MissedBlocksResponse) ProtoReflect() protoreflect.Message
func (*MissedBlocksResponse) Reset ¶
func (x *MissedBlocksResponse) Reset()
func (*MissedBlocksResponse) String ¶
func (x *MissedBlocksResponse) String() string
type NetInfoResponse ¶
type NetInfoResponse struct { Listening bool `protobuf:"varint,4,opt,name=listening,proto3" json:"listening,omitempty"` Listeners []string `protobuf:"bytes,1,rep,name=listeners,proto3" json:"listeners,omitempty"` CountPeers string `protobuf:"bytes,2,opt,name=count_peers,json=countPeers,proto3" json:"count_peers,omitempty"` Peers []*NetInfoResponse_Peer `protobuf:"bytes,3,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse) Descriptor
deprecated
func (*NetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse.ProtoReflect.Descriptor instead.
func (*NetInfoResponse) GetCountPeers ¶
func (x *NetInfoResponse) GetCountPeers() string
func (*NetInfoResponse) GetListeners ¶
func (x *NetInfoResponse) GetListeners() []string
func (*NetInfoResponse) GetListening ¶
func (x *NetInfoResponse) GetListening() bool
func (*NetInfoResponse) GetPeers ¶
func (x *NetInfoResponse) GetPeers() []*NetInfoResponse_Peer
func (*NetInfoResponse) ProtoMessage ¶
func (*NetInfoResponse) ProtoMessage()
func (*NetInfoResponse) ProtoReflect ¶
func (x *NetInfoResponse) ProtoReflect() protoreflect.Message
func (*NetInfoResponse) Reset ¶
func (x *NetInfoResponse) Reset()
func (*NetInfoResponse) String ¶
func (x *NetInfoResponse) String() string
type NetInfoResponse_Peer ¶
type NetInfoResponse_Peer struct { NodeInfo *NodeInfo `protobuf:"bytes,4,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"` IsOutbound bool `protobuf:"varint,1,opt,name=is_outbound,json=isOutbound,proto3" json:"is_outbound,omitempty"` ConnectionStatus *NetInfoResponse_Peer_ConnectionStatus `protobuf:"bytes,2,opt,name=connection_status,json=connectionStatus,proto3" json:"connection_status,omitempty"` RemoteIp string `protobuf:"bytes,3,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse_Peer) Descriptor
deprecated
func (*NetInfoResponse_Peer) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse_Peer.ProtoReflect.Descriptor instead.
func (*NetInfoResponse_Peer) GetConnectionStatus ¶
func (x *NetInfoResponse_Peer) GetConnectionStatus() *NetInfoResponse_Peer_ConnectionStatus
func (*NetInfoResponse_Peer) GetIsOutbound ¶
func (x *NetInfoResponse_Peer) GetIsOutbound() bool
func (*NetInfoResponse_Peer) GetNodeInfo ¶
func (x *NetInfoResponse_Peer) GetNodeInfo() *NodeInfo
func (*NetInfoResponse_Peer) GetRemoteIp ¶
func (x *NetInfoResponse_Peer) GetRemoteIp() string
func (*NetInfoResponse_Peer) ProtoMessage ¶
func (*NetInfoResponse_Peer) ProtoMessage()
func (*NetInfoResponse_Peer) ProtoReflect ¶
func (x *NetInfoResponse_Peer) ProtoReflect() protoreflect.Message
func (*NetInfoResponse_Peer) Reset ¶
func (x *NetInfoResponse_Peer) Reset()
func (*NetInfoResponse_Peer) String ¶
func (x *NetInfoResponse_Peer) String() string
type NetInfoResponse_Peer_ConnectionStatus ¶
type NetInfoResponse_Peer_ConnectionStatus struct { Duration string `protobuf:"bytes,4,opt,name=duration,proto3" json:"duration,omitempty"` SendMonitor *NetInfoResponse_Peer_ConnectionStatus_Monitor `protobuf:"bytes,1,opt,name=SendMonitor,proto3" json:"SendMonitor,omitempty"` RecvMonitor *NetInfoResponse_Peer_ConnectionStatus_Monitor `protobuf:"bytes,2,opt,name=RecvMonitor,proto3" json:"RecvMonitor,omitempty"` Channels []*NetInfoResponse_Peer_ConnectionStatus_Channel `protobuf:"bytes,3,rep,name=channels,proto3" json:"channels,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse_Peer_ConnectionStatus) Descriptor
deprecated
func (*NetInfoResponse_Peer_ConnectionStatus) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse_Peer_ConnectionStatus.ProtoReflect.Descriptor instead.
func (*NetInfoResponse_Peer_ConnectionStatus) GetChannels ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) GetChannels() []*NetInfoResponse_Peer_ConnectionStatus_Channel
func (*NetInfoResponse_Peer_ConnectionStatus) GetDuration ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) GetDuration() string
func (*NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) GetRecvMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
func (*NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) GetSendMonitor() *NetInfoResponse_Peer_ConnectionStatus_Monitor
func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage ¶
func (*NetInfoResponse_Peer_ConnectionStatus) ProtoMessage()
func (*NetInfoResponse_Peer_ConnectionStatus) ProtoReflect ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) ProtoReflect() protoreflect.Message
func (*NetInfoResponse_Peer_ConnectionStatus) Reset ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) Reset()
func (*NetInfoResponse_Peer_ConnectionStatus) String ¶
func (x *NetInfoResponse_Peer_ConnectionStatus) String() string
type NetInfoResponse_Peer_ConnectionStatus_Channel ¶
type NetInfoResponse_Peer_ConnectionStatus_Channel struct { Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` SendQueueCapacity string `protobuf:"bytes,1,opt,name=send_queue_capacity,json=sendQueueCapacity,proto3" json:"send_queue_capacity,omitempty"` SendQueueSize string `protobuf:"bytes,2,opt,name=send_queue_size,json=sendQueueSize,proto3" json:"send_queue_size,omitempty"` Priority string `protobuf:"bytes,3,opt,name=priority,proto3" json:"priority,omitempty"` RecentlySent string `protobuf:"bytes,4,opt,name=recently_sent,json=recentlySent,proto3" json:"recently_sent,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Descriptor
deprecated
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse_Peer_ConnectionStatus_Channel.ProtoReflect.Descriptor instead.
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetId ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetId() string
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetPriority() string
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetRecentlySent() string
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueCapacity() string
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) GetSendQueueSize() string
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage ¶
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoMessage()
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoReflect ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) ProtoReflect() protoreflect.Message
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) Reset ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) Reset()
func (*NetInfoResponse_Peer_ConnectionStatus_Channel) String ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Channel) String() string
type NetInfoResponse_Peer_ConnectionStatus_Monitor ¶
type NetInfoResponse_Peer_ConnectionStatus_Monitor struct { Active bool `protobuf:"varint,13,opt,name=active,proto3" json:"active,omitempty"` Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` Duration string `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` Idle string `protobuf:"bytes,3,opt,name=idle,proto3" json:"idle,omitempty"` Bytes string `protobuf:"bytes,4,opt,name=bytes,proto3" json:"bytes,omitempty"` Samples string `protobuf:"bytes,5,opt,name=samples,proto3" json:"samples,omitempty"` InstRate string `protobuf:"bytes,6,opt,name=inst_rate,json=instRate,proto3" json:"inst_rate,omitempty"` CurRate string `protobuf:"bytes,7,opt,name=cur_rate,json=curRate,proto3" json:"cur_rate,omitempty"` AvgRate string `protobuf:"bytes,8,opt,name=avg_rate,json=avgRate,proto3" json:"avg_rate,omitempty"` PeakRate string `protobuf:"bytes,9,opt,name=peak_rate,json=peakRate,proto3" json:"peak_rate,omitempty"` BytesRem string `protobuf:"bytes,10,opt,name=bytes_rem,json=bytesRem,proto3" json:"bytes_rem,omitempty"` TimeRem string `protobuf:"bytes,11,opt,name=time_rem,json=timeRem,proto3" json:"time_rem,omitempty"` Progress string `protobuf:"bytes,12,opt,name=progress,proto3" json:"progress,omitempty"` // contains filtered or unexported fields }
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Descriptor
deprecated
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Descriptor() ([]byte, []int)
Deprecated: Use NetInfoResponse_Peer_ConnectionStatus_Monitor.ProtoReflect.Descriptor instead.
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetActive() bool
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetAvgRate() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytes() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetBytesRem() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetCurRate() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetDuration() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetIdle() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetInstRate() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetPeakRate() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetProgress() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetSamples() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetStart() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) GetTimeRem() string
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage ¶
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoMessage()
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoReflect ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) ProtoReflect() protoreflect.Message
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) Reset()
func (*NetInfoResponse_Peer_ConnectionStatus_Monitor) String ¶
func (x *NetInfoResponse_Peer_ConnectionStatus_Monitor) String() string
type NodeInfo ¶
type NodeInfo struct { ProtocolVersion *NodeInfo_ProtocolVersion `protobuf:"bytes,8,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ListenAddr string `protobuf:"bytes,2,opt,name=listen_addr,json=listenAddr,proto3" json:"listen_addr,omitempty"` Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Channels string `protobuf:"bytes,5,opt,name=channels,proto3" json:"channels,omitempty"` Moniker string `protobuf:"bytes,6,opt,name=moniker,proto3" json:"moniker,omitempty"` Other *NodeInfo_Other `protobuf:"bytes,7,opt,name=other,proto3" json:"other,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetChannels ¶
func (*NodeInfo) GetListenAddr ¶
func (*NodeInfo) GetMoniker ¶
func (*NodeInfo) GetNetwork ¶
func (*NodeInfo) GetOther ¶
func (x *NodeInfo) GetOther() *NodeInfo_Other
func (*NodeInfo) GetProtocolVersion ¶
func (x *NodeInfo) GetProtocolVersion() *NodeInfo_ProtocolVersion
func (*NodeInfo) GetVersion ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeInfo_Other ¶
type NodeInfo_Other struct { TxIndex string `protobuf:"bytes,2,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` RpcAddress string `protobuf:"bytes,1,opt,name=rpc_address,json=rpcAddress,proto3" json:"rpc_address,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_Other) Descriptor
deprecated
func (*NodeInfo_Other) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_Other.ProtoReflect.Descriptor instead.
func (*NodeInfo_Other) GetRpcAddress ¶
func (x *NodeInfo_Other) GetRpcAddress() string
func (*NodeInfo_Other) GetTxIndex ¶
func (x *NodeInfo_Other) GetTxIndex() string
func (*NodeInfo_Other) ProtoMessage ¶
func (*NodeInfo_Other) ProtoMessage()
func (*NodeInfo_Other) ProtoReflect ¶
func (x *NodeInfo_Other) ProtoReflect() protoreflect.Message
func (*NodeInfo_Other) Reset ¶
func (x *NodeInfo_Other) Reset()
func (*NodeInfo_Other) String ¶
func (x *NodeInfo_Other) String() string
type NodeInfo_ProtocolVersion ¶
type NodeInfo_ProtocolVersion struct { P2P string `protobuf:"bytes,3,opt,name=p2p,proto3" json:"p2p,omitempty"` Block string `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo_ProtocolVersion) Descriptor
deprecated
func (*NodeInfo_ProtocolVersion) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_ProtocolVersion.ProtoReflect.Descriptor instead.
func (*NodeInfo_ProtocolVersion) GetApp ¶
func (x *NodeInfo_ProtocolVersion) GetApp() string
func (*NodeInfo_ProtocolVersion) GetBlock ¶
func (x *NodeInfo_ProtocolVersion) GetBlock() string
func (*NodeInfo_ProtocolVersion) GetP2P ¶
func (x *NodeInfo_ProtocolVersion) GetP2P() string
func (*NodeInfo_ProtocolVersion) ProtoMessage ¶
func (*NodeInfo_ProtocolVersion) ProtoMessage()
func (*NodeInfo_ProtocolVersion) ProtoReflect ¶
func (x *NodeInfo_ProtocolVersion) ProtoReflect() protoreflect.Message
func (*NodeInfo_ProtocolVersion) Reset ¶
func (x *NodeInfo_ProtocolVersion) Reset()
func (*NodeInfo_ProtocolVersion) String ¶
func (x *NodeInfo_ProtocolVersion) String() string
type SendTransactionRequest ¶
type SendTransactionRequest struct { Tx string `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*SendTransactionRequest) Descriptor
deprecated
func (*SendTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendTransactionRequest.ProtoReflect.Descriptor instead.
func (*SendTransactionRequest) GetTx ¶
func (x *SendTransactionRequest) GetTx() string
func (*SendTransactionRequest) ProtoMessage ¶
func (*SendTransactionRequest) ProtoMessage()
func (*SendTransactionRequest) ProtoReflect ¶
func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message
func (*SendTransactionRequest) Reset ¶
func (x *SendTransactionRequest) Reset()
func (*SendTransactionRequest) String ¶
func (x *SendTransactionRequest) String() string
type SendTransactionResponse ¶
type SendTransactionResponse struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*SendTransactionResponse) Descriptor
deprecated
func (*SendTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendTransactionResponse.ProtoReflect.Descriptor instead.
func (*SendTransactionResponse) GetCode ¶
func (x *SendTransactionResponse) GetCode() string
func (*SendTransactionResponse) GetData ¶
func (x *SendTransactionResponse) GetData() string
func (*SendTransactionResponse) GetHash ¶
func (x *SendTransactionResponse) GetHash() string
func (*SendTransactionResponse) GetLog ¶
func (x *SendTransactionResponse) GetLog() string
func (*SendTransactionResponse) ProtoMessage ¶
func (*SendTransactionResponse) ProtoMessage()
func (*SendTransactionResponse) ProtoReflect ¶
func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message
func (*SendTransactionResponse) Reset ¶
func (x *SendTransactionResponse) Reset()
func (*SendTransactionResponse) String ¶
func (x *SendTransactionResponse) String() string
type StakesRequest ¶
type StakesRequest struct { PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Coin string `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Height uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*StakesRequest) Descriptor
deprecated
func (*StakesRequest) Descriptor() ([]byte, []int)
Deprecated: Use StakesRequest.ProtoReflect.Descriptor instead.
func (*StakesRequest) GetAddress ¶
func (x *StakesRequest) GetAddress() string
func (*StakesRequest) GetCoin ¶
func (x *StakesRequest) GetCoin() string
func (*StakesRequest) GetHeight ¶
func (x *StakesRequest) GetHeight() uint64
func (*StakesRequest) GetPublicKey ¶
func (x *StakesRequest) GetPublicKey() string
func (*StakesRequest) ProtoMessage ¶
func (*StakesRequest) ProtoMessage()
func (*StakesRequest) ProtoReflect ¶
func (x *StakesRequest) ProtoReflect() protoreflect.Message
func (*StakesRequest) Reset ¶
func (x *StakesRequest) Reset()
func (*StakesRequest) String ¶
func (x *StakesRequest) String() string
type StakesResponse ¶
type StakesResponse struct { Stakes []*StakesResponse_Stake `protobuf:"bytes,1,rep,name=stakes,proto3" json:"stakes,omitempty"` // contains filtered or unexported fields }
func (*StakesResponse) Descriptor
deprecated
func (*StakesResponse) Descriptor() ([]byte, []int)
Deprecated: Use StakesResponse.ProtoReflect.Descriptor instead.
func (*StakesResponse) GetStakes ¶
func (x *StakesResponse) GetStakes() []*StakesResponse_Stake
func (*StakesResponse) ProtoMessage ¶
func (*StakesResponse) ProtoMessage()
func (*StakesResponse) ProtoReflect ¶
func (x *StakesResponse) ProtoReflect() protoreflect.Message
func (*StakesResponse) Reset ¶
func (x *StakesResponse) Reset()
func (*StakesResponse) String ¶
func (x *StakesResponse) String() string
type StakesResponse_Stake ¶
type StakesResponse_Stake struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` Coin string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` NoahValue string `protobuf:"bytes,5,opt,name=noah_value,json=noahValue,proto3" json:"noah_value,omitempty"` // contains filtered or unexported fields }
func (*StakesResponse_Stake) Descriptor
deprecated
func (*StakesResponse_Stake) Descriptor() ([]byte, []int)
Deprecated: Use StakesResponse_Stake.ProtoReflect.Descriptor instead.
func (*StakesResponse_Stake) GetAddress ¶
func (x *StakesResponse_Stake) GetAddress() string
func (*StakesResponse_Stake) GetCoin ¶
func (x *StakesResponse_Stake) GetCoin() string
func (*StakesResponse_Stake) GetNoahValue ¶
func (x *StakesResponse_Stake) GetNoahValue() string
func (*StakesResponse_Stake) GetPubKey ¶
func (x *StakesResponse_Stake) GetPubKey() string
func (*StakesResponse_Stake) GetValue ¶
func (x *StakesResponse_Stake) GetValue() string
func (*StakesResponse_Stake) ProtoMessage ¶
func (*StakesResponse_Stake) ProtoMessage()
func (*StakesResponse_Stake) ProtoReflect ¶
func (x *StakesResponse_Stake) ProtoReflect() protoreflect.Message
func (*StakesResponse_Stake) Reset ¶
func (x *StakesResponse_Stake) Reset()
func (*StakesResponse_Stake) String ¶
func (x *StakesResponse_Stake) String() string
type StatusResponse ¶
type StatusResponse struct { Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` LatestBlockHash string `protobuf:"bytes,1,opt,name=latest_block_hash,json=latestBlockHash,proto3" json:"latest_block_hash,omitempty"` LatestAppHash string `protobuf:"bytes,2,opt,name=latest_app_hash,json=latestAppHash,proto3" json:"latest_app_hash,omitempty"` LatestBlockHeight string `protobuf:"bytes,3,opt,name=latest_block_height,json=latestBlockHeight,proto3" json:"latest_block_height,omitempty"` LatestBlockTime string `protobuf:"bytes,4,opt,name=latest_block_time,json=latestBlockTime,proto3" json:"latest_block_time,omitempty"` KeepLastStates string `protobuf:"bytes,5,opt,name=keep_last_states,json=keepLastStates,proto3" json:"keep_last_states,omitempty"` TotalSlashed string `protobuf:"bytes,10,opt,name=total_slashed,json=totalSlashed,proto3" json:"total_slashed,omitempty"` CatchingUp bool `protobuf:"varint,6,opt,name=catching_up,json=catchingUp,proto3" json:"catching_up,omitempty"` PublicKey string `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` NodeId string `protobuf:"bytes,9,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetCatchingUp ¶
func (x *StatusResponse) GetCatchingUp() bool
func (*StatusResponse) GetKeepLastStates ¶
func (x *StatusResponse) GetKeepLastStates() string
func (*StatusResponse) GetLatestAppHash ¶
func (x *StatusResponse) GetLatestAppHash() string
func (*StatusResponse) GetLatestBlockHash ¶
func (x *StatusResponse) GetLatestBlockHash() string
func (*StatusResponse) GetLatestBlockHeight ¶
func (x *StatusResponse) GetLatestBlockHeight() string
func (*StatusResponse) GetLatestBlockTime ¶
func (x *StatusResponse) GetLatestBlockTime() string
func (*StatusResponse) GetNodeId ¶
func (x *StatusResponse) GetNodeId() string
func (*StatusResponse) GetPublicKey ¶
func (x *StatusResponse) GetPublicKey() string
func (*StatusResponse) GetTotalSlashed ¶
func (x *StatusResponse) GetTotalSlashed() string
func (*StatusResponse) GetVersion ¶
func (x *StatusResponse) GetVersion() string
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type SubscribeRequest ¶
type SubscribeRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*SubscribeRequest) Descriptor
deprecated
func (*SubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeRequest) GetQuery ¶
func (x *SubscribeRequest) GetQuery() string
func (*SubscribeRequest) ProtoMessage ¶
func (*SubscribeRequest) ProtoMessage()
func (*SubscribeRequest) ProtoReflect ¶
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeRequest) Reset ¶
func (x *SubscribeRequest) Reset()
func (*SubscribeRequest) String ¶
func (x *SubscribeRequest) String() string
type SubscribeResponse ¶
type SubscribeResponse struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Data *_struct.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Events []*SubscribeResponse_Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*SubscribeResponse) Descriptor
deprecated
func (*SubscribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
func (*SubscribeResponse) GetData ¶
func (x *SubscribeResponse) GetData() *_struct.Struct
func (*SubscribeResponse) GetEvents ¶
func (x *SubscribeResponse) GetEvents() []*SubscribeResponse_Event
func (*SubscribeResponse) GetQuery ¶
func (x *SubscribeResponse) GetQuery() string
func (*SubscribeResponse) ProtoMessage ¶
func (*SubscribeResponse) ProtoMessage()
func (*SubscribeResponse) ProtoReflect ¶
func (x *SubscribeResponse) ProtoReflect() protoreflect.Message
func (*SubscribeResponse) Reset ¶
func (x *SubscribeResponse) Reset()
func (*SubscribeResponse) String ¶
func (x *SubscribeResponse) String() string
type SubscribeResponse_Event ¶
type SubscribeResponse_Event struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Events []string `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*SubscribeResponse_Event) Descriptor
deprecated
func (*SubscribeResponse_Event) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeResponse_Event.ProtoReflect.Descriptor instead.
func (*SubscribeResponse_Event) GetEvents ¶
func (x *SubscribeResponse_Event) GetEvents() []string
func (*SubscribeResponse_Event) GetKey ¶
func (x *SubscribeResponse_Event) GetKey() string
func (*SubscribeResponse_Event) ProtoMessage ¶
func (*SubscribeResponse_Event) ProtoMessage()
func (*SubscribeResponse_Event) ProtoReflect ¶
func (x *SubscribeResponse_Event) ProtoReflect() protoreflect.Message
func (*SubscribeResponse_Event) Reset ¶
func (x *SubscribeResponse_Event) Reset()
func (*SubscribeResponse_Event) String ¶
func (x *SubscribeResponse_Event) String() string
type TransactionRequest ¶
type TransactionRequest struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*TransactionRequest) Descriptor
deprecated
func (*TransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionRequest.ProtoReflect.Descriptor instead.
func (*TransactionRequest) GetHash ¶
func (x *TransactionRequest) GetHash() string
func (*TransactionRequest) ProtoMessage ¶
func (*TransactionRequest) ProtoMessage()
func (*TransactionRequest) ProtoReflect ¶
func (x *TransactionRequest) ProtoReflect() protoreflect.Message
func (*TransactionRequest) Reset ¶
func (x *TransactionRequest) Reset()
func (*TransactionRequest) String ¶
func (x *TransactionRequest) String() string
type TransactionResponse ¶
type TransactionResponse struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` RawTx string `protobuf:"bytes,2,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"` Height string `protobuf:"bytes,3,opt,name=height,proto3" json:"height,omitempty"` Index string `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"` From string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"` Nonce string `protobuf:"bytes,6,opt,name=nonce,proto3" json:"nonce,omitempty"` Gas string `protobuf:"bytes,7,opt,name=gas,proto3" json:"gas,omitempty"` GasPrice string `protobuf:"bytes,8,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` GasCoin string `protobuf:"bytes,9,opt,name=gas_coin,json=gasCoin,proto3" json:"gas_coin,omitempty"` Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` Data *_struct.Struct `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"` Payload []byte `protobuf:"bytes,12,opt,name=payload,proto3" json:"payload,omitempty"` Tags map[string]string `` /* 150-byte string literal not displayed */ Code string `protobuf:"bytes,14,opt,name=code,proto3" json:"code,omitempty"` Log string `protobuf:"bytes,15,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*TransactionResponse) Descriptor
deprecated
func (*TransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransactionResponse.ProtoReflect.Descriptor instead.
func (*TransactionResponse) GetCode ¶
func (x *TransactionResponse) GetCode() string
func (*TransactionResponse) GetData ¶
func (x *TransactionResponse) GetData() *_struct.Struct
func (*TransactionResponse) GetFrom ¶
func (x *TransactionResponse) GetFrom() string
func (*TransactionResponse) GetGas ¶
func (x *TransactionResponse) GetGas() string
func (*TransactionResponse) GetGasCoin ¶
func (x *TransactionResponse) GetGasCoin() string
func (*TransactionResponse) GetGasPrice ¶
func (x *TransactionResponse) GetGasPrice() string
func (*TransactionResponse) GetHash ¶
func (x *TransactionResponse) GetHash() string
func (*TransactionResponse) GetHeight ¶
func (x *TransactionResponse) GetHeight() string
func (*TransactionResponse) GetIndex ¶
func (x *TransactionResponse) GetIndex() string
func (*TransactionResponse) GetLog ¶
func (x *TransactionResponse) GetLog() string
func (*TransactionResponse) GetNonce ¶
func (x *TransactionResponse) GetNonce() string
func (*TransactionResponse) GetPayload ¶
func (x *TransactionResponse) GetPayload() []byte
func (*TransactionResponse) GetRawTx ¶
func (x *TransactionResponse) GetRawTx() string
func (*TransactionResponse) GetTags ¶
func (x *TransactionResponse) GetTags() map[string]string
func (*TransactionResponse) GetType ¶
func (x *TransactionResponse) GetType() string
func (*TransactionResponse) ProtoMessage ¶
func (*TransactionResponse) ProtoMessage()
func (*TransactionResponse) ProtoReflect ¶
func (x *TransactionResponse) ProtoReflect() protoreflect.Message
func (*TransactionResponse) Reset ¶
func (x *TransactionResponse) Reset()
func (*TransactionResponse) String ¶
func (x *TransactionResponse) String() string
type TransactionsRequest ¶
type TransactionsRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,3,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` // contains filtered or unexported fields }
func (*TransactionsRequest) Descriptor
deprecated
func (*TransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsRequest.ProtoReflect.Descriptor instead.
func (*TransactionsRequest) GetPage ¶
func (x *TransactionsRequest) GetPage() int32
func (*TransactionsRequest) GetPerPage ¶
func (x *TransactionsRequest) GetPerPage() int32
func (*TransactionsRequest) GetQuery ¶
func (x *TransactionsRequest) GetQuery() string
func (*TransactionsRequest) ProtoMessage ¶
func (*TransactionsRequest) ProtoMessage()
func (*TransactionsRequest) ProtoReflect ¶
func (x *TransactionsRequest) ProtoReflect() protoreflect.Message
func (*TransactionsRequest) Reset ¶
func (x *TransactionsRequest) Reset()
func (*TransactionsRequest) String ¶
func (x *TransactionsRequest) String() string
type TransactionsResponse ¶
type TransactionsResponse struct { Transactions []*TransactionResponse `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*TransactionsResponse) Descriptor
deprecated
func (*TransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsResponse.ProtoReflect.Descriptor instead.
func (*TransactionsResponse) GetTransactions ¶
func (x *TransactionsResponse) GetTransactions() []*TransactionResponse
func (*TransactionsResponse) ProtoMessage ¶
func (*TransactionsResponse) ProtoMessage()
func (*TransactionsResponse) ProtoReflect ¶
func (x *TransactionsResponse) ProtoReflect() protoreflect.Message
func (*TransactionsResponse) Reset ¶
func (x *TransactionsResponse) Reset()
func (*TransactionsResponse) String ¶
func (x *TransactionsResponse) String() string
type UnconfirmedTxsRequest ¶
type UnconfirmedTxsRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*UnconfirmedTxsRequest) Descriptor
deprecated
func (*UnconfirmedTxsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnconfirmedTxsRequest.ProtoReflect.Descriptor instead.
func (*UnconfirmedTxsRequest) GetLimit ¶
func (x *UnconfirmedTxsRequest) GetLimit() int32
func (*UnconfirmedTxsRequest) ProtoMessage ¶
func (*UnconfirmedTxsRequest) ProtoMessage()
func (*UnconfirmedTxsRequest) ProtoReflect ¶
func (x *UnconfirmedTxsRequest) ProtoReflect() protoreflect.Message
func (*UnconfirmedTxsRequest) Reset ¶
func (x *UnconfirmedTxsRequest) Reset()
func (*UnconfirmedTxsRequest) String ¶
func (x *UnconfirmedTxsRequest) String() string
type UnconfirmedTxsResponse ¶
type UnconfirmedTxsResponse struct { TransactionsCount string `protobuf:"bytes,1,opt,name=transactions_count,json=transactionsCount,proto3" json:"transactions_count,omitempty"` TotalTransactions string `protobuf:"bytes,2,opt,name=total_transactions,json=totalTransactions,proto3" json:"total_transactions,omitempty"` TotalBytes string `protobuf:"bytes,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` Transactions []string `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*UnconfirmedTxsResponse) Descriptor
deprecated
func (*UnconfirmedTxsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnconfirmedTxsResponse.ProtoReflect.Descriptor instead.
func (*UnconfirmedTxsResponse) GetTotalBytes ¶
func (x *UnconfirmedTxsResponse) GetTotalBytes() string
func (*UnconfirmedTxsResponse) GetTotalTransactions ¶
func (x *UnconfirmedTxsResponse) GetTotalTransactions() string
func (*UnconfirmedTxsResponse) GetTransactions ¶
func (x *UnconfirmedTxsResponse) GetTransactions() []string
func (*UnconfirmedTxsResponse) GetTransactionsCount ¶
func (x *UnconfirmedTxsResponse) GetTransactionsCount() string
func (*UnconfirmedTxsResponse) ProtoMessage ¶
func (*UnconfirmedTxsResponse) ProtoMessage()
func (*UnconfirmedTxsResponse) ProtoReflect ¶
func (x *UnconfirmedTxsResponse) ProtoReflect() protoreflect.Message
func (*UnconfirmedTxsResponse) Reset ¶
func (x *UnconfirmedTxsResponse) Reset()
func (*UnconfirmedTxsResponse) String ¶
func (x *UnconfirmedTxsResponse) String() string
type UnimplementedApiServiceServer ¶
type UnimplementedApiServiceServer struct { }
UnimplementedApiServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedApiServiceServer) Address ¶
func (*UnimplementedApiServiceServer) Address(context.Context, *AddressRequest) (*AddressResponse, error)
func (*UnimplementedApiServiceServer) Addresses ¶
func (*UnimplementedApiServiceServer) Addresses(context.Context, *AddressesRequest) (*AddressesResponse, error)
func (*UnimplementedApiServiceServer) Block ¶
func (*UnimplementedApiServiceServer) Block(context.Context, *BlockRequest) (*BlockResponse, error)
func (*UnimplementedApiServiceServer) Candidate ¶
func (*UnimplementedApiServiceServer) Candidate(context.Context, *CandidateRequest) (*CandidateResponse, error)
func (*UnimplementedApiServiceServer) Candidates ¶
func (*UnimplementedApiServiceServer) Candidates(context.Context, *CandidatesRequest) (*CandidatesResponse, error)
func (*UnimplementedApiServiceServer) CoinInfo ¶
func (*UnimplementedApiServiceServer) CoinInfo(context.Context, *CoinInfoRequest) (*CoinInfoResponse, error)
func (*UnimplementedApiServiceServer) EstimateCoinBuy ¶
func (*UnimplementedApiServiceServer) EstimateCoinBuy(context.Context, *EstimateCoinBuyRequest) (*EstimateCoinBuyResponse, error)
func (*UnimplementedApiServiceServer) EstimateCoinSell ¶
func (*UnimplementedApiServiceServer) EstimateCoinSell(context.Context, *EstimateCoinSellRequest) (*EstimateCoinSellResponse, error)
func (*UnimplementedApiServiceServer) EstimateCoinSellAll ¶
func (*UnimplementedApiServiceServer) EstimateCoinSellAll(context.Context, *EstimateCoinSellAllRequest) (*EstimateCoinSellAllResponse, error)
func (*UnimplementedApiServiceServer) EstimateTxCommission ¶
func (*UnimplementedApiServiceServer) EstimateTxCommission(context.Context, *EstimateTxCommissionRequest) (*EstimateTxCommissionResponse, error)
func (*UnimplementedApiServiceServer) Events ¶
func (*UnimplementedApiServiceServer) Events(context.Context, *EventsRequest) (*EventsResponse, error)
func (*UnimplementedApiServiceServer) Frozen ¶
func (*UnimplementedApiServiceServer) Frozen(context.Context, *FrozenRequest) (*FrozenResponse, error)
func (*UnimplementedApiServiceServer) Genesis ¶
func (*UnimplementedApiServiceServer) Genesis(context.Context, *empty.Empty) (*GenesisResponse, error)
func (*UnimplementedApiServiceServer) Halts ¶
func (*UnimplementedApiServiceServer) Halts(context.Context, *HaltsRequest) (*HaltsResponse, error)
func (*UnimplementedApiServiceServer) MaxGas ¶
func (*UnimplementedApiServiceServer) MaxGas(context.Context, *MaxGasRequest) (*MaxGasResponse, error)
func (*UnimplementedApiServiceServer) MinGasPrice ¶
func (*UnimplementedApiServiceServer) MinGasPrice(context.Context, *empty.Empty) (*MinGasPriceResponse, error)
func (*UnimplementedApiServiceServer) MissedBlocks ¶
func (*UnimplementedApiServiceServer) MissedBlocks(context.Context, *MissedBlocksRequest) (*MissedBlocksResponse, error)
func (*UnimplementedApiServiceServer) NetInfo ¶
func (*UnimplementedApiServiceServer) NetInfo(context.Context, *empty.Empty) (*NetInfoResponse, error)
func (*UnimplementedApiServiceServer) SendTransaction ¶
func (*UnimplementedApiServiceServer) SendTransaction(context.Context, *SendTransactionRequest) (*SendTransactionResponse, error)
func (*UnimplementedApiServiceServer) Stakes ¶
func (*UnimplementedApiServiceServer) Stakes(context.Context, *StakesRequest) (*StakesResponse, error)
func (*UnimplementedApiServiceServer) Status ¶
func (*UnimplementedApiServiceServer) Status(context.Context, *empty.Empty) (*StatusResponse, error)
func (*UnimplementedApiServiceServer) Subscribe ¶
func (*UnimplementedApiServiceServer) Subscribe(*SubscribeRequest, ApiService_SubscribeServer) error
func (*UnimplementedApiServiceServer) Transaction ¶
func (*UnimplementedApiServiceServer) Transaction(context.Context, *TransactionRequest) (*TransactionResponse, error)
func (*UnimplementedApiServiceServer) Transactions ¶
func (*UnimplementedApiServiceServer) Transactions(context.Context, *TransactionsRequest) (*TransactionsResponse, error)
func (*UnimplementedApiServiceServer) UnconfirmedTxs ¶
func (*UnimplementedApiServiceServer) UnconfirmedTxs(context.Context, *UnconfirmedTxsRequest) (*UnconfirmedTxsResponse, error)
func (*UnimplementedApiServiceServer) Validators ¶
func (*UnimplementedApiServiceServer) Validators(context.Context, *ValidatorsRequest) (*ValidatorsResponse, error)
type ValidatorsRequest ¶
type ValidatorsRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,3,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` // contains filtered or unexported fields }
func (*ValidatorsRequest) Descriptor
deprecated
func (*ValidatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorsRequest.ProtoReflect.Descriptor instead.
func (*ValidatorsRequest) GetHeight ¶
func (x *ValidatorsRequest) GetHeight() uint64
func (*ValidatorsRequest) GetPage ¶
func (x *ValidatorsRequest) GetPage() int32
func (*ValidatorsRequest) GetPerPage ¶
func (x *ValidatorsRequest) GetPerPage() int32
func (*ValidatorsRequest) ProtoMessage ¶
func (*ValidatorsRequest) ProtoMessage()
func (*ValidatorsRequest) ProtoReflect ¶
func (x *ValidatorsRequest) ProtoReflect() protoreflect.Message
func (*ValidatorsRequest) Reset ¶
func (x *ValidatorsRequest) Reset()
func (*ValidatorsRequest) String ¶
func (x *ValidatorsRequest) String() string
type ValidatorsResponse ¶
type ValidatorsResponse struct { Validators []*ValidatorsResponse_Result `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"` // contains filtered or unexported fields }
func (*ValidatorsResponse) Descriptor
deprecated
func (*ValidatorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorsResponse.ProtoReflect.Descriptor instead.
func (*ValidatorsResponse) GetValidators ¶
func (x *ValidatorsResponse) GetValidators() []*ValidatorsResponse_Result
func (*ValidatorsResponse) ProtoMessage ¶
func (*ValidatorsResponse) ProtoMessage()
func (*ValidatorsResponse) ProtoReflect ¶
func (x *ValidatorsResponse) ProtoReflect() protoreflect.Message
func (*ValidatorsResponse) Reset ¶
func (x *ValidatorsResponse) Reset()
func (*ValidatorsResponse) String ¶
func (x *ValidatorsResponse) String() string
type ValidatorsResponse_Result ¶
type ValidatorsResponse_Result struct { PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` VotingPower string `protobuf:"bytes,2,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` // contains filtered or unexported fields }
func (*ValidatorsResponse_Result) Descriptor
deprecated
func (*ValidatorsResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorsResponse_Result.ProtoReflect.Descriptor instead.
func (*ValidatorsResponse_Result) GetPublicKey ¶
func (x *ValidatorsResponse_Result) GetPublicKey() string
func (*ValidatorsResponse_Result) GetVotingPower ¶
func (x *ValidatorsResponse_Result) GetVotingPower() string
func (*ValidatorsResponse_Result) ProtoMessage ¶
func (*ValidatorsResponse_Result) ProtoMessage()
func (*ValidatorsResponse_Result) ProtoReflect ¶
func (x *ValidatorsResponse_Result) ProtoReflect() protoreflect.Message
func (*ValidatorsResponse_Result) Reset ¶
func (x *ValidatorsResponse_Result) Reset()
func (*ValidatorsResponse_Result) String ¶
func (x *ValidatorsResponse_Result) String() string