Integrating Flashblocks
Flashblocks is enabled for developers on Base. You can integrate with Flashblocks data via the RPC API or the WebSocket API.RPC Endpoints
Base offers the following public Flashblocks-aware RPC endpoints. These are rate-limited and may not be suitable for production use — we recommend using a node provider that runs Flashblocks-integrated nodes. Major node providers such as Alchemy, Infura, QuickNode, and dRPC have Flashblocks-aware RPCs.| Network | URL |
|---|---|
| Mainnet | https://mainnet-preconf.base.org |
| Sepolia | https://sepolia-preconf.base.org |
Libraries
You will need to use a Flashblocks-aware RPC endpoint to use Flashblocks with the following libraries:Wagmi
To use Flashblocks with Wagmi, you will need to use thebasePreconf chain in the Wagmi Config (see config.ts).
Viem
Ethers
Support
For feedback, support or questions about Flashblocks, please don’t hesitate to contact us in the#developer-chat channel in the Base Discord.