Skip to main content

Optimism RPC/API Matrix

Optimism uses the shared EVM RPC gateway model for public access. These pages describe the application surface, the exposure policy, and the operational boundary while staying public-safe.

InterfaceStatusBest forTransportPublic-safe boundary
JSON-RPC HTTPStandardReads, state queries, transaction submission, and bounded batch requestsHTTPExpose only through a controlled gateway with authentication, quotas, request-size limits, and method allowlists.
JSON-RPC WebSocketStandardSubscriptions and other long-lived clientsWebSocketTreat as streaming traffic; cap concurrent connections, idle sessions, and reconnect storms.
Admin, debug, trace, and node-control surfacesInternalMaintenance, diagnostics, and operator workflowsvariesKeep private; never publish on a public RPC edge.
Metrics and health surfacesInternalMonitoring and alertingvariesKeep behind private observability ingress or protected monitoring networks.
Public exposure boundary

Do not route public traffic directly to node ports. Gateway controls belong in the edge layer, not in the client process: TLS, authentication or API keys where required, request-size limits, method allowlists, rate limits, logging, and abuse monitoring.

Supported public contract​

  • EVM-compatible application RPC is the supported public interface for this chain.
  • Keep read-heavy and write-heavy traffic on the same policy baseline, but separate them operationally if capacity or blast radius requires it.
  • Keep chain-control, admin, debug, trace, and metrics interfaces private.

Documentation boundary​

The public contract is Ethereum-compatible JSON-RPC for application traffic. Rollup control, node administration, metrics, and other operator-only surfaces stay private.

Use this page as the public interface map. Put exact ports, deployment topology, and client flags in internal runbooks.