Optimism RPC
What is Optimism?
Optimism is a Layer 2 scaling solution for Ethereum that uses optimistic rollup technology to increase throughput while maintaining Ethereum's security. Optimism processes transactions off-chain and posts compressed transaction data to Ethereum mainnet, inheriting its security guarantees through a 7-day fraud proof window.
Optimism implements the Optimism Virtual Machine (OVM), which is EVM-equivalent at the bytecode level. The network uses sequencers to order transactions and produce blocks with 2-second block times. The network supports cross-chain messaging through its native bridge contracts, allowing assets and data to move between L1 and L2. Optimism uses ETH for gas fees and implements the same account model and transaction types as Ethereum.
Interacting with Optimism
The Optimism JSON-RPC API extends the standard Ethereum JSON-RPC interface with L2-specific functionality. Since Optimism maintains EVM equivalence, developers can use existing Ethereum tools and libraries without modification.
이 API를 사용하면 다음과 같은 작업을 수행할 수 있습니다:
- 모든 표준 이더리움 JSON-RPC 메서드(eth_call, eth_sendTransaction, eth_getBalance)를 실행합니다.
- Access Optimism-specific methods for L2 operations and gas estimation
- Query L1 to L2 message status and cross-chain transaction receipts
- Retrieve L2 block and transaction data including L1 batch information
- WebSocket 연결을 통해 실시간 이벤트를 구독하세요
다음과 같은 방법으로 API에 접속할 수 있습니다:
- Running a local Optimism node (op-node and op-geth)
- Using a hosted provider such as a Quicknode Optimism endpoint, which provides instant access to mainnet and testnet with archive data support
지원되는 네트워크
Quicknode provides access to the following Optimism networks:
Complete reference for developers building on Optimism with Quicknode:
빠른 시작
Get started with Optimism quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
공급자 엔드포인트
Learn how to configure and manage your Optimism endpoints for optimal performance and reliability.
API 개요
강력한 애플리케이션을 구축하는 데 필요한 지원되는 API, 네트워크, Quicknode 제품 및 향상된 API 기능을 살펴보세요.
마켓플레이스
Quicknode 마켓플레이스에서 강력한 애드온과 도구를 찾아 통합하여 웹3 애플리케이션을 강화해 보세요.
엔드포인트 보안
인증, 화이트리스트 적용 및 모범 보안 관행을 통해 엔드포인트를 보호하십시오.
오류 코드
Understand common error codes and troubleshooting steps for Optimism API requests.