Quick Start
- Prerequisites:
- Docker and Docker Compose
- Minimum hardware requirements (see node README)
- Access to a Flashblocks websocket endpoint, we provide public endpoints in the env files in the repo
- Set Up Environment:
- Start the Node with Flashblocks Support:
Configuration Options
- Node Type: Use
NODE_TYPE=baseto enable base reth node with Flashblocks functionality - Network: Use
NETWORK_ENV=.env.mainnetfor mainnet orNETWORK_ENV=.env.sepoliafor testnet
- For Mainnet:
RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws - For Sepolia:
RETH_FB_WEBSOCKET_URL=wss://sepolia.flashblocks.base.org/ws
Verifying Flashblocks Functionality
Test that your node is properly supporting Flashblocks by querying a pending block:Available RPC Methods
Flashblocks-aware nodes provide all standard Ethereum JSON-RPC methods plus specialized Flashblocks endpoints. For the full list of supported methods and subscription types, see the JSON-RPC API Reference.WebSocket API
The websocket API is intended to stream Flashblock data to nodes, so they can expose it via their RPC APIs. The endpoints are available at:| Network | URL |
|---|---|
| Mainnet | wss://mainnet.flashblocks.base.org/ws |
| Sepolia | wss://sepolia.flashblocks.base.org/ws |