Leitura rápida
Comece pela explicação mais curta e útil antes de aprofundar.
A stateless, lightweight remote procedure call protocol using JSON encoding. Clients send a JSON object with method name, params, and id; servers respond with result or error. Solana and Ethereum both expose JSON-RPC APIs for blockchain interaction. Example: {method: 'getBalance', params: ['pubkey...'], id: 1}. WebSocket variants support pub/sub for real-time updates.