Learn how Base’s Flashblocks deliver 200ms transaction preconfirmations, making Base 10x faster. Available on Chainstack.
eth_getBlockByNumber
with pending
tageth_getTransactionReceipt
eth_getBalance
with pending
tageth_getTransactionCount
with pending
tageth_getTransactionByHash
with pending
tageth_sendRawTransactionSync
pending
tag to get the latest block data on a Flashblocks-enabled and non-Flashblocks-enabled node at the same time as block 33228756 was being formed on the Base mainnet.
See the results in the Chainstack Labs base-flashblocks-transaction-latency-test repository:
eth-get-block-by-number-pending-examples/preconfirmed-flashblock.log
— the result of running "method":"eth_getBlockByNumber","params":["pending",true]
on a Flashblocks-enabled node as block 33228756 was forming.eth-get-block-by-number-pending-examples/confirmed-block.log
— the result of running "method":"eth_getBlockByNumber","params":["pending",true]
on a non-Flashblocks-enabled node as block 33228756 was formed.stateRoot
— empty in the Flashblock vs. computed in the fully formed block. An empty stateRoot
at this point means there’s no final chain state for the block, hence “preconfirmation” in the name.blockHash
— different in the Flashblock and the fully formed block. The finalized transactions will have the hash of the fully formed block attributed to them.receiptsRoot
— different in the Flashblock and the fully formed block.