OP Mainnet
OP Mainnet, the original OP Stack rollup settling to Ethereum. Chain ID 10 (0xa), fees in ETH, blocks about every 2 s. Served by op-reth (conduit) 2.1.2. Every example below was captured from a live response on this network.
Endpoint
https://rpc.public.crouton.digital/mainnet/optimism
Public, no API key, JSON-RPC 2.0 over HTTPS. Batch requests are supported, and the endpoint sends CORS headers for any origin, so browser clients can call it directly.
curl --request POST \
--url https://rpc.public.crouton.digital/mainnet/optimism \
--header 'content-type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
The Try it console on this page calls exactly this endpoint from your browser, so every snippet it generates is the request that just ran.
Node notes
- Receipts carry OP Stack fields —
l1Fee,l1GasUsed,l1GasPriceandl1FeeScalar— describing the L1 data cost of the transaction. - This node also serves the Parity-style
trace_blockandtrace_transactionmethods. txpool_status,debug_traceCallanddebug_getRawTransactionare not implemented here.
Loading OpenRPC specification…