EVM chain

OP Mainnet — RPC URL, Chain ID, and Wallet Setup

OP Mainnet (Optimism) has chain ID 10 and uses ether (ETH) as its native currency. The official RPC URL is https://mainnet.optimism.io, documentation lives at docs.optimism.io, and the block explorer is optimistic.etherscan.io.

Chain ID 10Native ETHMainnetVerified 2026-05-15

Quick reference

Copy paste ready values. Verified on 2026-05-15.

Chain name
OP Mainnet
Chain ID
10 (hex 0xa)
Network type
Mainnet
Native currency
Ether (ETH) — 18 decimals
Recommended public RPC
https://mainnet.optimism.io
Block explorer
https://optimistic.etherscan.io
Official docs
https://docs.optimism.io/
Last verified
2026-05-15

Add OP Mainnet to MetaMask

One click for injected wallets, or paste the JSON into the manual Add Network form.

{
  "chainIdHex": "0xa",
  "chainName": "OP Mainnet",
  "nativeCurrency": {
    "name": "Ether",
    "symbol": "ETH",
    "decimals": 18
  },
  "rpcUrls": [
    "https://mainnet.optimism.io"
  ],
  "blockExplorerUrls": [
    "https://optimistic.etherscan.io"
  ]
}
Manual steps (no injected wallet)
  1. Open MetaMask, click the network dropdown, then Add Network.
  2. Click "Add a network manually".
  3. Network name: OP Mainnet.
  4. New RPC URL: https://mainnet.optimism.io.
  5. Chain ID: 10.
  6. Currency symbol: ETH.
  7. Block explorer URL: https://optimistic.etherscan.io.
  8. Save and switch.

Free / public RPC URLs

Public RPC URLs for OP Mainnet

These endpoints are free, anonymous, and rate limited. They are useful for development, wallet reads, and one off scripts. For production traffic or indexer workloads, pair them with a paid provider so the public list becomes your fallback rather than your primary.

RPC URLHosted byNotes
https://mainnet.optimism.ioOptimism FoundationRecommended in official docs.
https://optimism-rpc.publicnode.comAllnodes (publicnode)
https://rpc.ankr.com/optimismAnkr
https://optimism.drpc.orgdRPC
https://1rpc.io/op1RPC

Paid RPC providers

Production dapps, indexers, and trading systems should use a managed provider with a private API key, archive history, and an SLA. These providers list OP Mainnet support on their public pricing pages.

  • Alchemy

    Supernode RPC plus enhanced APIs across 40+ chains.

    Free tier: 30M compute units per month on the Free plan.

  • Infura

    ConsenSys backed RPC, deeply integrated with MetaMask.

    Free tier: 6M credits per day, ~2,000 credits per second throughput.

  • QuickNode

    Globally distributed RPC across 50+ chains.

    Free tier: Seven day free trial with full feature access.

  • Ankr

    Public RPC for 80+ chains plus a Premium tier.

    Free tier: Free public endpoints (rate limited) for 80+ chains, no signup required.

  • GetBlock

    Shared and dedicated nodes across 50+ chains.

    Free tier: Free plan with a daily request cap shared across chains.

  • BlockPI

    Pay as you go RPC with no monthly minimums.

    Free tier: Free public endpoints per chain with shared rate limits.

  • Chainstack

    Region selectable elastic and dedicated nodes.

    Free tier: Free Developer plan with 3M requests per month.

  • Tenderly

    RPC with first class simulation and debugging.

    Free tier: Free plan with simulator access and a small RPC quota.

  • dRPC

    Decentralised RPC across 100+ chains.

    Free tier: Free public endpoints per chain plus a generous metered free tier.

  • NodeReal

    MegaNode RPC with deep BNB Chain support.

    Free tier: Free plan with 3M compute units per day.

Compare every paid RPC provider →

Block explorers and docs

OP Mainnet explorers and documentation

When the answer is real

Caveats and things to verify

  • OP Mainnet is an optimistic rollup. Withdrawals to Ethereum take seven days through the canonical bridge.
  • OP Stack chains (Base, Mode, World Chain, etc.) share the same architecture but each has its own chain ID.

FAQ

Frequently asked questions

What is the OP Mainnet chain ID?

OP Mainnet (Optimism) chain ID is 10 (hex 0xa). The OP Sepolia testnet is chain ID 11155420.

What is the official Optimism RPC URL?

The Optimism Foundation lists https://mainnet.optimism.io as the public RPC. It is rate limited and intended for development and wallet usage. Production dapps should use a paid provider.

Sources

Other chains in the directory

  • Ethereum

    Chain ID 1 · Native ETH

    The original smart contract platform. Chain ID 1, native ETH.

  • Arbitrum One

    Chain ID 42161 · Native ETH

    Largest Ethereum optimistic rollup. Chain ID 42161, native ETH.

  • Base

    Chain ID 8453 · Native ETH

    Coinbase's OP Stack L2. Chain ID 8453, native ETH.

  • Polygon PoS

    Chain ID 137 · Native POL

    Ethereum sidechain with low fees. Chain ID 137, native POL.

  • BNB Smart Chain

    Chain ID 56 · Native BNB

    EVM compatible chain backed by BNB Chain. Chain ID 56, native BNB.

  • Avalanche C-Chain

    Chain ID 43114 · Native AVAX

    EVM compatible primary network. Chain ID 43114, native AVAX.

Page maintained by Mudassir Khan · Last verified 2026-05-15.