개요
Flashblocks is a transaction preconfirmation feature on Base that delivers partial block updates every 200 milliseconds, achieving up to 10x faster confirmations than Base’s standard 2-second block time. This enables applications to access near-instant transaction feedback, enhancing responsiveness for time-critical use cases like decentralized exchanges and onchain gaming.
Flashblocks is useful for:
- Applications that require real-time feedback
- Decentralized exchanges and trading platforms
- Onchain games or apps with frequent state updates
- Interfaces that benefit from faster feedback such as live dashboards
Using Flashblocks with Base Endpoints
Flashblocks is currently supported on the Base and can be accessed using your existing Quicknode Base endpoint — no additional add-ons are required.
| 네트워크 | Flashblocks Availability |
|---|---|
| Base Mainnet | ✅ |
| 베이스 세폴리아 | ✅ |
Supported RPC Methods
Access Flashblocks preconfirmations through your Base endpoint by using the 보류 중 tag on methods like eth_call, eth_estimateGas, eth_getBlockByNumber, eth_getBalance, 그리고 eth_getTransactionCount. Additionally, fetch Flashblocks related transaction details via methods such as eth_getTransactionReceipt, eth_getTransactionByHash, 그리고 eth_simulateV1. You can also use eth_subscribe over WebSocket to stream real-time Flashblock data including new transactions, pending logs, and block state updates, and stop active streams when needed using eth_구독취소.
| 방법 | 설명 |
|---|---|
eth_call | ~와 함께 "pending", executes a call against the latest Flashblock |
eth_estimateGas | ~와 함께 "pending", estimates gas usage against the latest Flashblock |
eth_getBalance | ~와 함께 "pending", reflects balances from the latest Flashblock |
eth_getBlockByNumber | ~와 함께 "pending", returns the most recent Flashblock |
eth_getLogs | ~와 함께 "pending", returns logs from the latest Flashblock |
eth_getTransactionByHash | Returns the transaction with the specified hash |
eth_getTransactionCount | ~와 함께 "pending", returns the updated nonce from Flashblocks |
eth_getTransactionReceipt | Returns receipts for preconfirmed transactions |
eth_simulateV1 | Simulates transactions against the latest Flashblock state |
eth_subscribe | Subscribes to real-time Flashblock events via WebSocket (e.g., newFlashblocks, newFlashblockTransactions, pendingLogs) |
eth_구독취소 | Unsubscribes from an active WebSocket subscription created with eth_subscribe |
자료
여러분의 피드백을 ❤️ 환영합니다!
이 문서에 대한 의견이나 질문이 있으시면 언제든지 알려주세요. 여러분의 의견을 기다리고 있습니다!