Back to networks
O

OP Mainnet

eip155:10Ethereum / EVMExtended
Get API key
Blocks indexed140.2MFull archive
Archive size14.2 TiBUncompressed block data
Block time2.0 sAverage over July 2026
New blocks / day43.2KAverage over July 2026
Blocks added1.3MDuring July 2026
Archive growth982 GiBAdded during July 2026

Pull a block stream in one command

Set $SF_API_TOKEN to a key from your dashboard, then run this against OP Mainnet.

grpcurl -H "authorization: Bearer $SF_API_TOKEN" \
-d '{"start_block_num": -100, "final_blocks_only": true}' \
mainnet.optimism.streamingfast.io:443 \
sf.firehose.v2.Stream/Blocks

Streams the 100 most recent blocks from OP Mainnet. Firehose reads a negative start_block_num as an offset back from chain head, so no head lookup is needed.

Providers & endpoints

StreamingFast

streamingfast.io
  • Substreamsmainnet.optimism.streamingfast.io:443
  • Firehosemainnet.optimism.streamingfast.io:443

Pinax

pinax.network
  • Substreamsoptimism.substreams.pinax.network:443
  • Firehoseoptimism.firehose.pinax.network:443
First block0Lowest streamable height
Block modelExtendedsf.ethereum.type.v2.Block
ServicesSubstreams · FirehoseNative token: ETH