Skip to main content

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, l1GasPrice and l1FeeScalar — describing the L1 data cost of the transaction.
  • This node also serves the Parity-style trace_block and trace_transaction methods.
  • txpool_status, debug_traceCall and debug_getRawTransaction are not implemented here.

Loading OpenRPC specification…