Optimism API

Optimism endpoints use the EVM JSON-RPC Core API. The route keeps Optimism's EVM method surface separate from non-EVM protocols.

Endpoint

ItemValue
NetworkOptimism Mainnet
ProtocolEVM JSON-RPC 2.0
Chain ID10 (0xa)
Public HTTPShttps://optimism-rpc.blockreq.com/v1/rpc/public
Private HTTPShttps://optimism-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000
WSSwss://optimism-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000 when enabled

Core Methods

Optimism supports the shared EVM JSON-RPC Methods set for core reads, transactions, filters, subscriptions, and archive state.

CapabilityMethods
Latest stateeth_chainId, eth_blockNumber, eth_call, eth_getBalance
Historical stateold-block eth_call, eth_getStorageAt, eth_getTransactionCount
History/indexeth_getLogs, eth_getTransactionByHash, eth_getTransactionReceipt

Proof, Debug, and Trace

BlockReq does not currently document or guarantee eth_getProof, debug_*, or trace_* on Optimism.