.

Technology

JSON-RPC

JSON-RPC is a stateless, lightweight Remote Procedure Call (RPC) protocol, using JSON exclusively to encode method invocation requests and responses.

JSON-RPC (version 2.0 is standard) defines a simple, transport-agnostic protocol for remote service interaction: it is not bound to HTTP, operating over sockets, WebSockets, or other streams. A client sends a Request object—containing the protocol version (`"jsonrpc": "2.0"`), the remote function name (`"method": "getBalance"`), parameters (`"params": ["0x123..."],` an array or object), and a unique `id`—to the server. The server executes the method and returns a Response object with the matching `id` and either a `result` or an `error` object. This structure facilitates efficient batch requests and one-way notifications (requests without an `id`), making it a preferred choice for high-throughput systems, notably in the blockchain ecosystem (e.g., Ethereum's API).

https://www.jsonrpc.org/specification
4 projects · 5 cities

Related technologies

Recent Talks & Demos

Showing 1-4 of 4

Members-Only

Sign in to see who built these projects