OP Mainnet · RPC provider
OP Mainnet RPC provider
A free OP Mainnet RPC endpoint on a managed full node: HTTPS and WebSocket. Create it in a minute and call eth_blockNumber, eth_getBalance, eth_call, eth_getLogs. You pay per call, in credits, and the free plan needs no card.
OP Mainnet RPC endpoint URLs
Every endpoint has its own key in the URL: replace YOUR-ENDPOINT-UUID with the key from your cabinet. One URL per environment.
| Network | HTTPS | WebSocket | Chain ID |
|---|---|---|---|
| Mainnet | https://optimism-mainnet.rpcnode.dev/YOUR-ENDPOINT-UUID | wss://optimism-mainnet.rpcnode.dev/YOUR-ENDPOINT-UUID | 10 |
| Sepolia Testnet | https://optimism-sepolia.rpcnode.dev/YOUR-ENDPOINT-UUID | wss://optimism-sepolia.rpcnode.dev/YOUR-ENDPOINT-UUID | 11155420 |
Why use RpcNode as your OP Mainnet RPC provider
Managed full node
No server to run: an HTTPS URL for OP Mainnet that works with your SDK as it is. Standard methods, nothing renamed.
Nearest region, automatic failover
Requests go to the closest region, and a node that lags or fails is taken out of the pool: the next node answers.
Pay per call
Every method has a weight in credits. The free plan has credits and a requests-per-second limit and needs no card; paid plans raise both.
Webhooks and payments
Address and transaction webhooks and crypto payments with AML live in the same account, for the networks the scan covers.
OP Mainnet RPC methods
The standard OP Mainnet JSON-RPC methods, as your SDK calls them. The ones people use most:
eth_blockNumber | Number of the latest block |
|---|---|
eth_getBalance | Balance of an address |
eth_call | Read a contract without sending a transaction |
eth_getLogs | Event logs that match a filter |
eth_getTransactionReceipt | Result of a mined transaction |
eth_estimateGas | Gas a call or transfer needs |
eth_sendRawTransaction | Broadcast a signed transaction |
eth_subscribe | Live heads and logs over WebSocket |
The full list with parameters and credit weights: OP Mainnet method docs
What OP Mainnet RPC on RpcNode is, and what it is not
Full and archive nodes behind one URL: standard OP Mainnet methods go to full nodes, and, on paid plans, calls that need history (old state, traces) go to archive nodes automatically. Not included: NFT or asset APIs. For a dedicated setup, run your own node with Toolkit.
OP Mainnet RPC: questions and answers
What is a OP Mainnet RPC endpoint?
A URL that your wallet, dapp or script sends OP Mainnet JSON-RPC requests to. RpcNode gives you your own endpoint URL, with a private key in the path, on a managed full node.
How do I get a OP Mainnet RPC URL?
Sign up, create an endpoint and choose OP Mainnet and an environment (Mainnet, Sepolia Testnet). The URL is ready at once: put it in your SDK config in place of the public RPC.
Is there a free OP Mainnet RPC?
Yes. The free plan has credits and a requests-per-second limit and needs no card; see pricing for the numbers. To try a network with no account at all, there are fixed public endpoints on the public nodes page (5 requests per second per IP).
Which OP Mainnet networks does RpcNode support?
Mainnet, Sepolia Testnet. Each environment has its own URL.
Does RpcNode support OP Mainnet WebSocket?
Yes. Use the same endpoint key over wss:// for subscriptions.
Does it include archive OP Mainnet data?
Yes, on paid plans. Standard calls are served by full nodes, and calls that need history, such as old state or debug and trace methods, are routed to archive nodes automatically; there is no separate endpoint. The Free plan serves full-node methods only.
How is OP Mainnet RPC billed?
In credits: each method has a weight, shown in the docs next to the method. A request that no node could answer is refunded.
RPC for other networks
Start with a free OP Mainnet endpoint
Create an account, pick OP Mainnet and copy the URL. No card for the free plan.
Get a free OP Mainnet endpoint