Expand description
Network clients for connecting to XRP Ledger nodes.
This crate provides:
- JSON-RPC client over HTTP (
reqwest+rustls) - WebSocket client with subscription support (
tokio-tungstenite) - Transport-agnostic
Clienttrait for generic code - Typed subscription streams for real-time ledger events
Re-exports§
pub use client::Client;pub use error::ClientError;pub use jsonrpc::JsonRpcClient;pub use websocket::WebSocketClient;
Modules§
- client
- Transport-agnostic XRPL client trait.
- error
- Error types for the XRPL client.
- jsonrpc
- JSON-RPC client for connecting to XRPL nodes over HTTP.
- subscription
- Typed subscription streams for real-time XRPL events.
- websocket
- WebSocket client for connecting to XRPL nodes.