freeradiantbunny.org

freeradiantbunny.org/blog

json-rpc api

JSON-RPC is a lightweight remote procedure call (RPC) protocol that uses JSON for encoding messages.

It is transport agnostic, meaning it can work over HTTP, WebSocket, or other transports.

JSON-RPC Protocol Basics

Methods and Procedures

Ethereum JSON-RPC API

Endpoints and Transport Protocols

Request and Response Format

Each request includes:

Responses include the result for successful calls or an error field.

Commonly Used JSON-RPC Methods for EVM

Interfacing with Smart Contracts

Tools and Libraries