Elysium mainnet is live! Get your lightning-fast RPC endpoints now.    Start building
  • Agentes
  • Precios

Optimism RPC endpoints for DeFi and onchain apps

Read OP Mainnet data, simulate swaps, and send transactions with reliable, high-performance Optimism RPC infrastructure.

Optimism
https://optimism-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID
Crear endpoint
Logotipo de Stars para el widget de la página de inicio
get mcp.chainstack.com, deploy Optimism mainnet RPC node and give me the HTTPS endpoint
ThorFiMetrallaRFOXOdosTradingViewRippleCírculoPendleTrust WalletBinanceGoldskyCertiKBlockpourNumioBandidoNexoCoinGeckoUniDexVaiVLaunchWorkinmanZapperBitgetTrust WalletAoriPlataKaikoQuantstamp

Fast Optimism RPC, right where you need it

Global Node

RPC geoequilibradoDiseñado para DeFi

Connect to OP Mainnet or OP Sepolia through one geo-balanced endpoint. Read contract state, follow events, and submit transactions through the nearest available region.

Ilustración de una red global de blockchain node

Your full development stack for Optimism

Build responsive Optimism apps with preconfirmed state, archive data, and predictable RPC capacity.

Icono de « node » ilimitado

Ilimitado Node

Escala cargas de trabajo de RPC de gran volumen con un rendimiento constante, solicitudes ilimitadas dentro de tu nivel « RPS » y costes mensuales predecibles.

25 solicitudes por segundo
$ 149$ al mes
25100250500

Build and scale with reliable Optimism RPC

Página de inicio: logotipo «Infra Icon 1»

Desarrolla aplicaciones de DeFi y de trading

Read liquidity-pool state, simulate swaps with eth_call, and submit signed transactions. Connect trading bots and DeFi frontends with familiar EVM tools.

Explore Optimism tooling
Logotipo «Infra Icon 2» de la página de inicio

Index OP Mainnet events

Backfill contract events with eth_getLogs and retrieve historical state through archive RPC. Build portfolio analytics, activity feeds, and indexers.

Explore Optimism methods
Página de inicio: logotipo «Infra Icon 3»

Carteras digitales y pagos

Read ETH and token balances, estimate gas, and track receipts. Connect wallets and payment backends to OP Mainnet or OP Sepolia.

Get an Optimism RPC endpoint
Logotipo «Infra Icon 4» de la página de inicio

Read Optimism Subblocks

Read preconfirmed state with pending-tag JSON-RPC calls on Subblocks-enabled endpoints. Update swap quotes and wallet activity before the full block is sealed.

Explore Optimism preconfirmations
Página de inicio: logotipo «Infra Icon 5»

Debug smart contracts

Trace transaction execution and diagnose reverted calls. Use Optimism debug APIs with Hardhat, Foundry, viem, or ethers.js to investigate application issues.

Explore debug and trace APIs
Más de 10 000millones de llamadas diariasa la API en Chainstack
Más de 10 centros de datos deChainstack en todo el mundo
Acceso al servicio de asistencia 24 horas al día, 7 días a la semana
99,99 % o más de tiempo de actividad

Dedicated Optimism RPC for enterprise teams

Give production applications their own Optimism RPC infrastructure. Dedicated Nodes reserve compute and storage for your workload, with Chainstack managing node deployment and maintenance.

Dedicado Node

Choose OP Mainnet or OP Sepolia and a node mode to estimate monthly infrastructure costs.

Node tipo
Cargando el precio…Empezar

¿Por qué Dev Chainstack?

Customer feedback from teams building wallets, trading systems, and security tools across supported networks.

Testimonio de un héroe - Logotipo de fondoColaborar con Chainstack nos ha ayudado a reducir nuestros costes de infraestructura en más de un 70 %, al tiempo que hemos abordado complejos retos en materia de seguridad de Web3.Map Shen, responsable de la plataforma de CertiKHistorias de clientes (se abre en una nueva pestaña)
4,9/539 opinionesG2

Read Optimism state before the next block

Read preconfirmed OP Mainnet state through standard JSON-RPC calls. Update swap quotes, balances, and transaction status before the full block is sealed, without changing your EVM tooling.

Get an Optimism endpoint

Self-hosted Optimism RPC on your own infrastructure

Run OP Mainnet or OP Sepolia on infrastructure you control. Deploy OP-Reth and OP-Node with monitoring, automated updates, and self-healing operations through Chainstack Self-Hosted.

Chainstack Self-Hosted node asistente de implementación
Logotipo de Card Bg1 en servidor propio

Supervisión, alertas y observabilidad

Logotipo de Card Bg2 en servidor propio

Configuraciones de « node » con el tamaño adecuado

SOC 2ISO

Tus datos están siempre protegidos.

Optimism Sepolia faucet and test ETH

Fund your wallet. Test on Optimism.

Get free Ethereum Sepolia ETH from the Chainstack faucet, then bridge it to OP Sepolia. Use your Optimism Sepolia RPC endpoint to deploy contracts, simulate swaps, and test wallet or DeFi integrations before production.

The faucet tops up eligible wallets to 0.5 Sepolia ETH every 24 hours. Keep some ETH on Ethereum Sepolia for bridge fees. Follow the bridge guide to fund OP Sepolia; the faucet itself credits Ethereum Sepolia.

Chainstack testnet ilustración de un grifo

Connect to Optimism RPC

Read an ETH balance with eth_getBalance. Use the same JSON-RPC request on OP Mainnet or OP Sepolia.

HTTPS · Solicitudes JSON-RPC
https://optimism-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID
WebSocket · suscripciones en tiempo real
wss://optimism-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID

Create an Optimism node on your chosen network. Copy your HTTPS URL from Acceso y credenciales y sustituir YOUR_ENDPOINT_ID en el ejemplo.

Optimism mainnet
curl --request POST \
  --url https://optimism-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_getBalance",
  "params": [
    "0x38545c4b331D8BFb3bee94C62D77a6735b5eF8c0",
    "latest"
  ]
}'

El result es un saldo de ETH en formato hexadecimal expresado en wei. Un ETH equivale a 10^18 wei. This read does not send a transaction or spend gas.

Ver la referencia de métodos (se abre en una nueva pestaña)

Optimism RPC pricing

Free developer access and paid plans for Optimism applications, onchain services, and enterprise teams.

Planes económicos para todo tipo de cargas de trabajo

A partir de40$ al mescon pago anual
Descubre los planes de pago
De 20M solicitudes, incluidas las mensualesComparar y convertir
  • Mayor rendimiento y mayores márgenes de « node »

Todas las funciones de « Developer », además de:

  • Datos de archivo Growth+
  • Complementos Growth+
  • Línea dedicada: Nodes Pro +
  • Inicio de sesión único Pro+
  • Business o de acceso basado en roles +
  • Número ilimitado de usuarios Business+
Ver todas las características

Los complementos y la infraestructura dedicada de Node se facturan por separado.

Logotipo de los usuariosAsistencia excepcional en todos los planes de pago
Para equipos clasificados

¿Gastas más de 2.000 dólares al mes en infraestructura de RPC?

Ahorra más del 50 % con nuestro plan de élite de pago por uso

TelegramChatea en Telegram (se abre en una nueva pestaña)
Preguntas frecuentes
What is Optimism RPC?

Optimism RPC lets applications read OP Mainnet blockchain data and submit signed transactions using Ethereum-compatible JSON-RPC. Use it to read balances, call smart contracts, retrieve logs, and track transaction receipts. Chainstack supports OP Mainnet and OP Sepolia. See the Optimism API reference.

How do I get a free Optimism RPC endpoint?

Create a free Chainstack account, create a project, and deploy an Optimism Global Node on mainnet or Sepolia. Copy your HTTPS or WebSocket URL from Access and credentials. The Developer plan includes 3 million request units per month, up to 25 requests per second, and one node. No credit card is required.

What are the Optimism mainnet and Sepolia RPC URLs?

A Chainstack OP Mainnet HTTPS endpoint follows https://optimism-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID. OP Sepolia uses https://optimism-sepolia.core.chainstack.com/YOUR_ENDPOINT_ID. Copy the complete authenticated URL from your node and replace the example endpoint ID. See Optimism tooling.

What are the Optimism and OP Sepolia chain IDs?

OP Mainnet uses chain ID 10 (0xa). OP Sepolia uses 11155420 (0xaa37dc). Both use ETH for gas; OP is the governance token, not the gas currency. See the official Optimism network information.

Can I use MetaMask, ethers.js, viem, and WebSockets with Optimism?

Yes. Optimism supports Ethereum-compatible tooling, including MetaMask, ethers.js, viem, web3.py, Hardhat, and Foundry. Use your authenticated HTTPS URL for requests and the corresponding wss:// URL for subscriptions such as new blocks and contract logs. Follow the Optimism tooling guide.

How do I read an ETH balance through Optimism RPC?

Llamar eth_getBalance with an EVM address and a block tag such as latest. The result is a hexadecimal ETH balance in wei, with 10^18 wei per ETH. Token balances require a contract call rather than eth_getBalance. Consulta el Optimism eth_getBalance reference.

Does Optimism support Subblocks and Flashblocks?

Optimism Subblocks, formerly Flashblocks, expose preconfirmed state through standard JSON-RPC methods using the pending block tag on compatible endpoints. Applications can read execution updates before the full block is sealed. Preconfirmation is not Ethereum settlement or finality. See the Optimism Subblocks documentation y Chainstack’s pending-state guide.

Does Chainstack provide Optimism archive data?

Yes. Chainstack supports archive access for OP Mainnet and OP Sepolia. Use it to query historical balances, contract storage, and past state for analytics and backfills. Archive access is available from the Growth plan, and archive requests consume 2 request units. See supported networks and modes and request-unit rules.

Can I trace and debug Optimism transactions?

Yes. Deploy an Optimism Global Node with debug and trace APIs enabled to inspect execution using methods such as debug_traceTransaction. Use traces to diagnose reverted swaps, investigate internal calls, and debug smart contracts. Check the Optimism debug and trace requirements.

Can one Optimism RPC endpoint access every OP Stack chain?

No. OP Mainnet, Base, and other OP Stack chains have separate chain IDs, state, and RPC endpoints. An Optimism endpoint accesses its selected Optimism network; it does not automatically provide Base or another Superchain network’s data. See the supported Chainstack networks.

Can I run a self-hosted Optimism node?

Yes. Chainstack Self-Hosted supports OP Mainnet and OP Sepolia using OP-Reth and OP-Node. Deploy on infrastructure you control with monitoring, automated updates, and self-healing operations. The OP Stack setup also requires Ethereum L1 RPC and Beacon API endpoints. Check supported deployments and the installation guide.

How much does Optimism RPC cost on Chainstack?

Start with the free Developer plan. Paid plans start at $40 per month with annual billing. Unlimited Node adds predictable flat-fee capacity from the Growth plan. Dedicated Nodes start from Pro, with infrastructure billed separately. Compare plan features and current Optimism Dedicated Node configurations.

Optimism RPC API: URLs, chain IDs, and OP Sepolia

Connect to OP Mainnet at https://optimism-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID or OP Sepolia at https://optimism-sepolia.core.chainstack.com/YOUR_ENDPOINT_ID. Copy your authenticated URL from Acceso y credenciales. OP Mainnet uses chain ID 10, and OP Sepolia uses 11155420. Both use ETH for gas. See the Optimism tooling guide.

Uso eth_getBalance en cuanto a los saldos de ETH, eth_call para la lectura de contratos, eth_getLogs for events, and eth_sendRawTransaction for signed transaction submission. Connect over WebSocket for block and log subscriptions. Optimism Subblocks, formerly Flashblocks, expose preconfirmed state through pending-tag calls on compatible endpoints before a full block is sealed. Use the block tag appropriate to your application’s finality requirements. See the Optimism API reference y preconfirmed-state guide.