IT lexicon › Web › JSON-RPC

JSON-RPC

Web På svenska → Updated: 2026-07-30

Simple RPC protocol over JSON. v1 (2005), v2.0 (2010, most used). Request: {"jsonrpc":"2.0","method":"foo","params":[],"id":1}. More focused than REST or GraphQL.

Underlying transport: HTTP, WebSocket, or raw TCP. Mainstream user: blockchain (Ethereum nodes, Solana RPC, Bitcoin Core), MCP (Anthropic Model Context Protocol — 2024). Pre-MCP mostly blockchain domain. Distinct from XML-RPC (1998, same idea but XML), gRPC (binary, Protobuf, faster), tRPC (TypeScript end-to-end). No official spec updates since 2010 — formally stable.

← Back to the lexicon