Linea RPC
What is Linea?
Linea is a zero-knowledge rollup (zkRollup) Layer 2 solution for Ethereum, developed by ConsenSys. It uses SNARK-based validity proofs to batch transactions off-chain and verify them on Ethereum mainnet, ensuring that all transactions are mathematically valid while inheriting Ethereum's security.
Unlike optimistic rollups, Linea does not require challenge periods for withdrawals because validity proofs provide immediate cryptographic certainty. Finality on Linea depends on proof submission intervals — typically minutes rather than days — but is still faster than optimistic rollups. Transaction costs are significantly reduced compared to Ethereum mainnet, with savings coming from transaction batching and calldata compression.
Linea emphasizes high compatibility with the Ethereum Virtual Machine (EVM). This zkEVM architecture (classified as a Type 2 zkEVM) supports nearly all EVM opcodes and precompiles, with only minor differences such as gas cost discrepancies. This ensures that most existing Ethereum smart contracts and applications can be deployed without modification, preserving strong compatibility with Ethereum's execution environment, tooling, and developer ecosystem. The system inherits Ethereum's base-layer security while providing zero-knowledge scaling benefits.
Interacting with Linea
Linea extends the standard Ethereum JSON-RPC interface with additional Layer 2–specific functionality, while maintaining broad compatibility with existing Ethereum tooling. Developers can use Linea seamlessly with tools such as MetaMask, Hardhat, Foundry, and Web3 libraries without code changes.
이 API를 사용하면 다음과 같은 작업을 수행할 수 있습니다:
- 모든 표준 이더리움 JSON-RPC 메서드(eth_call, eth_sendTransaction, eth_getBalance)를 실행합니다.
- Use Linea-specific API methods
- Subscribe to real-time data via WebSocket connections
다음과 같은 방법으로 API에 연결할 수 있습니다:
- Running a local Linea node
- Using a hosted provider such as a Quicknode Linea endpoint, which provides access to Linea Mainnet with high reliability, archive data, and enhanced performance
지원되는 네트워크
Quicknode provides access to the following Linea networks:
Complete reference for developers building on Linea with Quicknode:
빠른 시작
Get started with Linea 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 Linea endpoints for optimal performance and reliability.
API 개요
강력한 애플리케이션을 구축하는 데 필요한 지원되는 API, 네트워크, Quicknode 제품 및 향상된 API 기능을 살펴보세요.
마켓플레이스
Quicknode 마켓플레이스에서 강력한 애드온과 도구를 찾아 통합하여 웹3 애플리케이션을 강화해 보세요.
엔드포인트 보안
인증, 화이트리스트 적용 및 모범 보안 관행을 통해 엔드포인트를 보호하십시오.
오류 코드
Understand common error codes and troubleshooting steps for Linea API requests.