Skip to main content
Base exposes a single, fully EVM-compatible JSON-RPC API across two performance tiers. You can move from 2-second block confirmations to 200ms pre-confirmations by switching one URL and one block tag.

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 — use a node provider such as Alchemy or QuickNode for WebSocket support.

Flashblocks

All Base public endpoints are Flashblocks-enabled. Every standard eth_ method works identically, and the pending block tag reflects the current pre-confirmed block in progress, updated every ~200ms with new batches of sequencer-ordered transactions. Calls like eth_getBalance, eth_getStorageAt, and eth_call run against real sequencer state up to 1.8 seconds before the block seals, with sub-second latency.

API Reference

Ethereum JSON-RPC API

Core Ethereum protocol methods for account queries, block and transaction data, gas estimation, and log filtering.
Methods marked ✓ support the "pending" block tag, which reflects the current pre-confirmed Flashblock in progress.

Flashblocks API

Pre-confirmation methods for sub-second transaction signals on Base. These methods enable reading state, simulating bundles, and streaming events up to ~1.8 seconds before a block seals.

Debug API

Development and debugging utilities for deep transaction inspection and block replay. Debug methods replay transactions and are computationally expensive — availability and rate limits vary by node provider.

Request & Response Format

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

Error Codes

Block Parameters