Optimism RPC Endpoint

Free Optimism (OP Mainnet) RPC endpoint. No API key needed. Low-latency JSON-RPC for the OP Stack rollup with multi-region failover and full eth_ method support.

Connect to OP Mainnet over HTTPS. Optimism is an EVM-equivalent optimistic rollup built on the OP Stack.

Endpoint URL

https://rpc.nodeflare.app/op/v1/{YOUR_KEY}

Public endpoint (no API key)

https://rpc.nodeflare.app/op/public

No API key required. Rate-limited to 2 req/s per IP. Heavy methods (eth_getLogs, trace_*, debug_*) are restricted — sign up for a free key to unlock them.

Quick Test

Terminal
curl https://rpc.nodeflare.app/op/v1/YOUR_KEY \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

Supported Methods

CategoryMethods
Chaineth_chainId10, net_version, web3_clientVersion
Blockseth_blockNumber, eth_getBlockByHash, eth_getBlockByNumber
Transactionseth_sendRawTransaction, eth_getTransactionByHash, eth_getTransactionReceipt, eth_getTransactionCount
Stateeth_getBalance, eth_getCode, eth_getStorageAt, eth_call
Gaseth_gasPrice, eth_estimateGas, eth_maxPriorityFeePerGas, eth_feeHistory
Logseth_getLogs, eth_newFilter, eth_getFilterLogs
Optimismoptimism_outputAtBlock, rollup_getInfo

WebSocket

Connect over WebSocket for subscriptions (eth_subscribe) and persistent connections.

Authenticated

wss://rpc.nodeflare.app/op/ws/v1/{YOUR_KEY}

Public (no API key, rate-limited)

wss://rpc.nodeflare.app/op/ws/public
JavaScript
const ws = new WebSocket("wss://rpc.nodeflare.app/op/ws/v1/YOUR_KEY");
ws.onopen = () => ws.send(JSON.stringify({
  jsonrpc: "2.0", id: 1, method: "eth_subscribe", params: ["newHeads"]
}));

Chain Info

PropertyValue
Chain ID10
Native tokenETH
Block time~2 seconds
L1Ethereum