मुख्य सामग्री पर जाएं

Optimism Flashblocks Overview

को अपडेट
Mar 05, 2026

अवलोकन

Flashblocks is a transaction preconfirmation feature on Optimism that provides sub-second feedback (as low as ~250ms) before final block confirmation. Unlike the standard ~2-second block time, Flashblocks lets applications receive early signals about transaction ordering, enabling near-instant UX for time-critical use cases.

Flashblocks is especially useful for:


  • Decentralized exchanges and trading platforms – faster order placement feedback
  • Onchain games or apps with frequent state updates – smoother real-time gameplay
  • Interfaces that benefit from faster feedback – e.g. live dashboards and analytics tools
  • Applications that require real-time responsiveness – any latency-sensitive use case

Using Flashblocks with Optimism Endpoints

Flashblocks is currently supported on the networks listed below and can be accessed using your existing Quicknode Optimism endpoint — no additional add-ons are required.

NetworkFlashblocks Availability
Optimism Mainnet
Optimism Sepolia

Supported RPC Methods

Access Flashblocks preconfirmations through your Optimism endpoint by using the pending 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_unsubscribe.

तरीकाविवरण
eth_callWith "pending", executes a call against the latest Flashblock
eth_estimateGasWith "pending", estimates gas usage against the latest Flashblock
eth_getBalanceWith "pending", reflects balances from the latest Flashblock
eth_getBlockByNumberWith "pending", returns the most recent Flashblock
eth_getLogsWith "pending", returns logs from the latest Flashblock
eth_getTransactionByHashReturns the transaction with the specified hash
eth_getTransactionCountWith "pending", returns the updated nonce from Flashblocks
eth_getTransactionReceiptReturns receipts for preconfirmed transactions
eth_simulateV1Simulates transactions against the latest Flashblock state
eth_subscribeSubscribes to real-time Flashblock events via WebSocket (e.g., newFlashblocks, newFlashblockTransactions, pendingLogs)
eth_unsubscribeUnsubscribes from an active WebSocket subscription created with eth_subscribe

संसाधन

हमें आपकी प्रतिक्रिया बहुत पसंद है!

यदि इस दस्तावेज़ के बारे में आपके कोई सुझाव या प्रश्न हैं, तो कृपया हमें बताएं । हमें आपकी प्रतिक्रिया जानकर खुशी होगी!

इस दस्तावेज़ को साझा करें