Skip to main content

Linea RPC

With QuickNode, you get access to our global Linea network which always routes your API requests to the nearest available location, ensuring low latency and the fastest speeds.

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.

With this API, you can:

  • Execute all standard Ethereum JSON-RPC methods (eth_call, eth_sendTransaction, eth_getBalance)
  • Use Linea-specific API methods
  • Subscribe to real-time data via WebSocket connections

You can connect to the API by:

  • 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

Supported Networks

QuickNode provides access to the following Linea networks:

Mainnet
Type:Production
Chain ID:
59144
HTTP:
WSS:
Archive:Yes
Pruning:None
Share this doc