Registry / networking / jsonrpc

jsonrpc

JSON →
library0.20.0rscratesunverified

Rust support for the JSON-RPC 2.0 protocol, enabling remote procedure calls over JSON.

# Cargo.toml [dependencies] jsonrpc = "0.20.0"
INSTALL
IMPORT
SIG · JSONRPC
J
jsonrpc
networkingrustv0.20.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use jsonrpc::Client;

Creates a JSON-RPC client and builds a request.

use jsonrpc::Client; fn main() { let client = Client::new("http://localhost:8545"); let request = client.build_request("eth_blockNumber", vec![]); println!("Request: {:?}", request); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.20.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jsonrpc — cargo add jsonrpc · libregistry