Tendermint RPC definitions and types.
This crate optionally provides access to different types of RPC client functionality and different client transports based on which features you select when using it.
Several client-related features are provided at present:
HttpClient, which is a basic RPC client that interacts with remote Tendermint nodes via JSON-RPC over HTTP or HTTPS. This client does not provide
event::Eventsubscription functionality. See the Tendermint RPC for more details.
WebSocketClient, which provides full client functionality, including general RPC functionality as well as
event::Eventsubscription functionality. Can be used over secure (
wss://) and unsecure (
Mock clients are included when either of the
websocket-client features are enabled to aid in testing. This includes
MockClient, which implements both
Tendermint JSON-RPC endpoints
JSON-RPC error types
RPC subscription event-related data structures.
Structured querying for the Tendermint RPC event subscription system.
JSON-RPC response types
A JSON-RPC/HTTP Tendermint RPC client (implements
A URL limited to use with HTTP clients.
A mock client implementation for use in testing.
Provides a simple
A page number in paginated RPC responses.
The number of items to return per page, for paginated RPC responses.
An interface that can be used to asynchronously receive
A uniform resource locator (URL), with support for only those schemes/protocols supported by Tendermint RPC clients.
Tendermint RPC client that provides access to all RPC functionality
Drives the WebSocket connection for a
A URL limited to use with WebSocket clients.
JSON-RPC ID: request-specific identifier
JSON-RPC request methods.
Ordering of paginated RPC responses.
Pagination control for those RPC client methods supporting pagination.
The various schemes supported by Tendermint RPC clients.
Provides lightweight access to the Tendermint RPC. It gives access to all endpoints with the exception of the event subscription-related ones.
A trait required by the
A client that exclusively provides
RPC client-related result type alias.