SolidRPC plans change on 28th October. Some prices are going up. Lock in today’s pricing and limits by activating before then. See what’s changing.
Skip to main content
RPC operator referenceHTTPS / WSS · JSON-RPC 2.0

Optimism RPC endpoint

Optimism (chain ID 10) is served over HTTPS POST JSON-RPC 2.0. Full and archive nodes back the endpoint, supporting standard EVM methods, historical state, trace_* methods, debug_* methods. Free, paid plans, and PAYG include Optimism.

Network information

NetworkOptimism
Chain ID10
Endpointhttps://rpc.solidrpc.io/YOUR_API_KEY/evm/10
AccessFree and paid
TypeMainnet · L2
Native currencyETH
Node typesFull + Archive
Methodsstandard, trace, debug
ProtocolHTTPS JSON-RPC 2.0. WSS: newHeads and ordinary RPC for paid plans and active PAYG. WebSocket details

Testing first? Optimism has a testnet on SolidRPC: Optimism Sepolia.

Quickstart

Fetch the latest Optimism block number. Replace YOUR_API_KEY with a key from the dashboard. New accounts start on the Free plan, no card required (see getting started):

Request example
curl https://rpc.solidrpc.io/YOUR_API_KEY/evm/10 \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

Archive access and tracing

There is no separate archive endpoint for Optimism. Historical queries route to archive nodes automatically by block age, at no surcharge.

The debug_* tracing namespace is available:

Request example
curl https://rpc.solidrpc.io/YOUR_API_KEY/evm/10 \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"debug_traceTransaction","params":["0xTRANSACTION_HASH",{"tracer":"callTracer"}],"id":1}'

Parity-style trace_* methods are also available.

Details on archive nodes and tracing.

Limits and errors

Quotas and rate limits are account-wide, not per-chain. Method calls to Optimism draw from the same response-unit quota and rate limit as every other network. Error bodies are identical everywhere. See the error reference.