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=base
to enable base reth node with Flashblocks functionality - Network: Use
NETWORK_ENV=.env.mainnet
for mainnet orNETWORK_ENV=.env.sepolia
for 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 more details, see the Flashblocks RPC API documentation.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 |