{"id":58618,"library":"jsonrpc-core-client","title":"JSON-RPC Core Client","description":"Transport agnostic JSON-RPC 2.0 client implementation.","status":"active","version":"18.0.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/jsonrpc","tags":["json-rpc","client","rpc","http"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\njsonrpc-core-client = \"18.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add jsonrpc-core-client","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"connect","correct":"use jsonrpc_core_client::transports::http::connect;"}],"quickstart":{"code":"use jsonrpc_core_client::transports::http::connect;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let client = connect::<_, ()>(\"http://localhost:8545\").await?;\n    let result: String = client.call_method(\"eth_protocolVersion\", rpc_params![]).await?;\n    println!(\"Protocol version: {}\", result);\n    Ok(())\n}","lang":"rust","description":"Connects to a JSON-RPC server via HTTP and calls a method."},"warnings":[{"fix":"Add `tokio` as a dependency and use `#[tokio::main]` or another async runtime.","message":"Requires an async runtime (e.g., Tokio) for HTTP transport.","severity":"gotcha","affected_versions":">=18.0.0"}],"env_vars":null,"search_vec":"'2.0':11 'agnost':7 'client':5,12,17 'core':4 'http':19 'implement':13 'json':2,9,15 'json-rpc':1,8,14 'rpc':3,10,16,18 'transport':6","created_at":"2026-06-16T16:32:18.282508+00:00","updated_at":"2026-06-16T16:32:18.282508+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/paritytech/jsonrpc","github":"https://github.com/paritytech/jsonrpc","docs":"https://docs.rs/jsonrpc-core-client/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}