Module client

Source

Structs§

ClientQueryService
Generics I and U must be a type where writes from one thread are readable from another. This means using Arc<Mutex<_>> or Arc<RwLock<_>> in most cases.
ConsensusStateWithHeight
IdentifiedClientState
QueryClientParamsRequest
Defines the RPC method request type for querying the parameters of a client.
QueryClientParamsResponse
Defines the RPC method response type for querying the client parameters.
QueryClientStateRequest
QueryClientStateResponse
QueryClientStatesRequest
Defines the RPC method request type for querying all client states.
QueryClientStatesResponse
QueryClientStatusRequest
Defines the RPC method request type for querying the status of a client.
QueryClientStatusResponse
Defines the RPC method response type for querying the client status.
QueryConsensusStateHeightsRequest
Defines the RPC method request type for querying the consensus state heights.
QueryConsensusStateHeightsResponse
Defines the RPC method response type for querying the consensus state heights.
QueryConsensusStateRequest
Defines the RPC method request type for querying the consensus state of a client.
QueryConsensusStateResponse
QueryConsensusStatesRequest
Defines the RPC method request type for querying all consensus states.
QueryConsensusStatesResponse
QueryHostConsensusStateRequest
Defines the RPC method request type for querying the host consensus state.
QueryUpgradedClientStateRequest
Defines the RPC method request type for querying the upgraded client state.
QueryUpgradedClientStateResponse
Defines the RPC method response type for querying the upgraded client state.
QueryUpgradedConsensusStateRequest
Defines the RPC method request type for querying the upgraded consensus state.
QueryUpgradedConsensusStateResponse
Defines the RPC method response type for querying the upgraded consensus state.

Functions§

query_client_state
Queries for the client state of a given client id.
query_client_states
Queries for all the existing client states.
query_client_status
Queries for the status (Active, Frozen, Expired, Unauthorized) of a given client.
query_consensus_state
Queries for the consensus state of a given client id and height.
query_consensus_state_heights
Queries for the heights of all the consensus states of a given client id.
query_consensus_states
Queries for all the consensus states of a given client id.
query_upgraded_client_state
Queries for the upgraded client state.
query_upgraded_consensus_state
Queries for the upgraded consensus state.