Skip to main content
Base exposes a single, fully EVM-compatible JSON-RPC API. Base produces a canonical block every 200ms, each with its own hash, receipts, and state root.

Networks

For network details, RPC endpoints, and wallet setup, see Connecting to Base.
The public Base endpoints are HTTP only. WebSocket RPC connections (eth_subscribe, newHeads, logs) are not available on public Base endpoints — choose a WebSocket-capable provider from the Builder Stack.

API Reference

Ethereum JSON-RPC API

Core Ethereum protocol methods for account queries, block and transaction data, gas estimation, and log filtering.

Base API

Base-specific methods served by Base nodes.

Debug API

Development and debugging utilities for deep transaction inspection and block replay. The public endpoints (https://mainnet.base.org and https://sepolia.base.org) do not serve debug methods or the trace and txpool namespaces. See Connect to Base for public endpoint limits. Debug methods replay transactions and are computationally expensive, so availability and rate limits vary among providers in the Builder Stack.

Request & Response Format

All requests are HTTP POST with Content-Type: application/json. Request:
Request
Success response:
Success Response
Error response:
Error Response

Error Codes

Block Parameters