Parameters
Block number in hex, or
"latest", "pending", "safe", "finalized", "earliest". Use "pending" on a Flashblocks endpoint to get the in-progress block.If
true, returns full transaction objects. If false, returns only transaction hashes.Returns
A block object, or
null if no block was found.Flashblock-Specific Response Fields
When querying"pending" on a Flashblocks endpoint, the response is a live snapshot of the block being built. A few fields behave differently:
| Field | Standard latest | Flashblocks pending |
|---|---|---|
number | Sealed block number | Current block number (being built) |
hash | Final block hash | Hash of the partial block at this Flashblock index |
gasUsed | Final gas used | Cumulative gas used up to this Flashblock |
transactions | All sealed transactions | Transactions pre-confirmed so far |
blobGasUsed | Final blob gas used | Propagated from cumulative Flashblock state |