Infrastructure

Endpoints and services

Registry-defined endpoints show where this chain exposes streaming access.

OP Mainnet

mainnet , eip155:10

Streaming endpoints

mainnet.optimism.streamingfast.io:443
optimism.substreams.pinax.network:443

OP Sepolia Testnet

testnet , eip155:11155420

Streaming endpoints

opsepolia.substreams.pinax.network:443

Block model

Protobuf summary

Short schema sections expose the source input types packages use when consuming Optimism data.

sf.ethereum.type.v2.Block

Block

Top-level EVM block object emitted by Firehose and consumed by Substreams source inputs.

Open full descriptor
No.Field
2

hash

bytes

Block hash.

3

number

uint64

Canonical block height.

5

header

BlockHeader

Header information including parent hash, roots, gas data, and timestamp.

10

transaction_traces

repeated TransactionTrace

Executed transaction traces, logs, calls, and receipt-level data.

11

balance_changes

repeated BalanceChange

Native token balance movements computed from execution.

sf.ethereum.type.v2.TransactionTrace

TransactionTrace

Transaction execution container used by DEX, token, NFT, and protocol analytics packages.

Open full descriptor
No.Field
5

value

BigInt

Ether value transferred by the transaction.

21

hash

bytes

Transaction hash.

22

from

bytes

Sender address.

31

receipt

TransactionReceipt

Receipt with status, gas, and log output.

32

calls

repeated Call

Nested EVM call tree.

sf.ethereum.type.v2.Call

Call

Internal EVM call tree node with logs, storage changes, balance changes, and execution ordinals.

Open full descriptor
No.Field
1

index

uint32

Call index in the transaction trace.

2

parent_index

uint32

Parent call index used to reconstruct the call tree.

5

caller

bytes

Caller address.

6

address

bytes

Callee address.

25

logs

repeated Log

Logs emitted by this call.

30

state_reverted

bool

Whether this call was reverted by chain execution.

sf.ethereum.type.v2.Log

Log

Contract event payload most packages use to derive protocol-level datasets.

Open full descriptor
No.Field
1

address

bytes

Contract address that emitted the event.

2

topics

repeated bytes

Indexed event topics.

3

data

bytes

ABI-encoded non-indexed event data.

4

index

uint32

Index of the log relative to the transaction.

6

block_index

uint32

Index of the log relative to the block.

7

ordinal

uint64

Global execution ordinal inside the block.

Grouped networks

Mainnet and testnets together

Testnets stay under the parent chain to reduce noise while keeping endpoint details one click away.

OP Mainnet

optimism

mainnet
2 streaming endpointsFirst block genesis

OP Sepolia Testnet

optimism-sepolia

testnet
1 streaming endpointsFirst block genesis

Substreams x The Graph Market

Chain discovery to Market provisioning

Start with chain endpoints and package candidates, then use The Graph Market for the production path.

Explore on The Graph Market