OP Mainnet RPC URL & Chain ID

33 public endpoints · 19 online at the last check

MainnetOP Stack L2EVM

OP Mainnet is the Ethereum L2 network of the Optimism Collective, built on the OP Stack. Gas is paid in ETH.

Last checked 4 min ago

No project pays to be listed. How we test

On this page

Below are the public OP Mainnet RPC endpoints listed on chainlist.org, re-checked every 5 minutes from our probe server and sorted by current latency. Failed endpoints are collapsed at the bottom.

Public RPCs are free and shared: expect rate limits, no SLA and weaker privacy. For production apps use a dedicated endpoint.

OP Mainnet network details

Network name
Chain ID
Currency symbol
Fastest RPC now
Block explorer
Latest block
159,339,159
Type
OP Stack L2

Public OP Mainnet RPC endpoints

OP Mainnet RPC endpoints
EndpointLatencyBlockUptime 24hPrivacy
39 ms159,339,159100%Not stated
44 ms159,339,159100%No tracking
50 ms159,339,159100%Tracks
50 ms159,339,15999.7%No tracking
55 ms159,339,15999%Limited
55 ms159,339,159100%Not stated
63 ms159,339,159100%Tracks
72 ms159,339,159100%Not stated
89 ms159,339,159100%No tracking
92 ms159,339,159100%No tracking
93 ms159,339,159100%No tracking
103 ms159,339,15951.4%Tracks
110 ms159,339,159100%No tracking
124 ms159,339,15996.2%Limited
139 ms159,339,159100%No tracking
169 ms159,339,159100%Not stated
174 ms159,339,159100%Limited
186 ms159,339,159100%Limited
250 ms159,339,159100%Limited
Failed at the last check (14)
OP Mainnet endpoints that failed the last check
EndpointLatencyBlockUptime 24hPrivacy
Offline · HTTP 429—70.1%No tracking
Offline · HTTP 403—0%Limited
Offline · HTTP 429—5.2%Limited
Offline · HTTP 429—0%No tracking
Offline · HTTP 403—0%Limited
Offline · You've reached the usage limit for your current plan. To continue with higher li—4.5%No tracking
Offline · HTTP 429—0.3%Tracks
Offline · HTTP 429—1.4%Limited
Offline · fetch failed—0%No tracking
Offline · connection error—0%Limited
Offline · HTTP 403—0%Tracks
Offline · HTTP 401—0%Limited
Failed · HTTP 429—16%Limited
Offline · HTTP 429—8.7%Tracks

Latency: one eth_blockNumber request from our server every 5 minutes. Block: height reported by the endpoint; a minus shows how many blocks it lags behind the fastest one. Privacy: what the operator declares, from chainlist.org.

Connect to OP Mainnet RPC: code examples

curl -X POST https://gateway.tenderly.co/public/optimism \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

OP Mainnet RPC FAQ

What is the chain ID of OP Mainnet?

OP Mainnet's chain ID is 10 (hex 0xa). Wallets use it to tell OP Mainnet apart from other networks and to prevent replaying transactions across chains.

Is there a free OP Mainnet RPC?

Yes. We list 33 public OP Mainnet endpoints; 19 answered at the last check. They are free but shared and rate-limited, with no uptime guarantee.

What currency does OP Mainnet use for gas?

Ether (ETH).

How do I add OP Mainnet to MetaMask?

Use “Add to wallet” at the top of this page, or add the network manually with the values in the table under “How to add OP Mainnet to MetaMask”.

HTTPS or WSS — which should I use?

HTTPS for regular requests such as reading balances or sending transactions; WSS keeps a connection open for subscriptions such as new blocks or logs.

Are public RPC endpoints safe?

A public endpoint cannot move your funds, but it can see your IP address and the requests you send. Check the Privacy column: it shows what each operator says it logs, from chainlist.org.

How often are endpoints checked?

Every 5 minutes. We send one eth_blockNumber request to each HTTPS endpoint and record the response time and block height. An endpoint is marked offline after 3 failed checks in a row.

Does any provider pay to be listed?

No. No provider pays to be listed or to change its place in the table; the order is by measured latency.

How to add OP Mainnet to MetaMask

  1. Open MetaMask, open the network menu and choose “Add a custom network”.
  2. Copy each value from the table into the form.
  3. Save, then switch to the new network.
  4. If balances do not load, try another RPC URL from the list above.
Network name
RPC URL
Chain ID
Currency symbol
Block explorer URL

Related networks

Network data: ethereum-lists/chains via chainlist.org (synced Nov 7, 2026). Privacy labels: chainlist.org. Latency and uptime: our own checks every 5 minutes. No provider pays to be listed.

How this page works

Sources: chainlist.org, ethereum-lists/chains. Data as of Nov 7, 2026.

How we review

Not affiliated with any project listed. Educational content, not financial advice.