Linea RPC Node
ConsenSys zkEVM Layer 2

Connect to Linea, the zkEVM Layer 2 built by ConsenSys. Experience ultra-low fees, Ethereum-equivalent security through zero-knowledge proofs, and seamless MetaMask integration.

6 M+

Requests per Day

99.9 %

Network Uptime

< 100 ms

Average Response Time

24/7

Technical Support

Specification Linea Network

Technical characteristics and available endpoints

Linea (ETH on zkEVM)

Mainnet & Testnet Support — Linea Sepolia

Chain ID 59144
Protocol HTTPS / WSS
Uptime 99.9%
Block Time ~2s
Consensus zkEVM (Zero-Knowledge Rollup)
EVM Compatible Yes (EVM Equivalent)

Linea is a zkEVM Layer 2 scaling solution developed by ConsenSys, the company behind MetaMask and Infura. Using zero-knowledge proof technology, Linea provides Ethereum-equivalent security with dramatically lower costs, making it ideal for DeFi, NFTs, and Web3 applications requiring both performance and cryptographic security guarantees.

Key capabilities:

  • zkEVM technology — cryptographic security through zero-knowledge proofs
  • EVM equivalence — deploy Ethereum contracts without modifications
  • Transaction fees 10-20x lower than Ethereum mainnet
  • Built by ConsenSys — native MetaMask integration
  • Fast finality with 2-second blocks
  • Growing ecosystem with major DeFi protocols migrating
  • Superior security model compared to optimistic rollups

🔗 RPC Endpoints

HTTPS
https://rpc.crypto-chief.com/linea/{YOUR_API_KEY}
WSS
wss://rpc.crypto-chief.com/linea/ws/{YOUR_API_KEY}

Replace {YOUR_API_KEY} with your actual API key from the dashboard.

What is a Linea RPC Node?

Access ConsenSys's zkEVM Layer 2

A Linea RPC node provides applications with access to ConsenSys's zkEVM Layer 2, enabling low-cost Ethereum transactions with cryptographic security guarantees from zero-knowledge proofs. Linea combines the best of Layer 2 scalability with enhanced security compared to optimistic rollups.

Why zkEVM matters

Unlike optimistic rollups that assume validity and require challenge periods, zkEVMs use zero-knowledge proofs to cryptographically verify every transaction. This provides instant finality and stronger security guarantees while maintaining full EVM compatibility — you get Ethereum's security with Layer 2 performance.

Linea advantages:

  • zkEVM security — cryptographic validity proofs for every transaction
  • Instant finality — no 7-day withdrawal waiting period
  • EVM equivalence — deploy Ethereum contracts unchanged
  • ConsenSys backing — built by Ethereum infrastructure leaders
  • MetaMask integration — seamless wallet experience
  • Low fees — 10-20x cheaper than Ethereum mainnet

How Linea works

Linea executes transactions off-chain in batches, generates zero-knowledge proofs verifying correct execution, and posts these proofs to Ethereum. Unlike optimistic rollups, validity is proven cryptographically rather than assumed, eliminating the need for fraud proofs and challenge periods.

Technical flow:

  1. Users submit transactions to Linea sequencer
  2. Transactions batched and executed on Layer 2
  3. Zero-knowledge proof generated verifying validity
  4. Proof posted to Ethereum L1 with compressed data
  5. Instant finality once proof verified on-chain

RPC endpoint access

HTTPS endpoints handle standard blockchain operations — querying state, submitting transactions, calling contracts with low latency and high reliability.

WebSocket endpoints enable real-time subscriptions for blocks, transactions, events, and logs — essential for trading interfaces and monitoring applications.

Technical Documentation

Quick start for developers

Supported RPC Methods

Linea supports all standard Ethereum JSON-RPC methods with full EVM equivalence:

  • eth_blockNumber — current L2 block number
  • eth_getBalance — ETH balance on Linea
  • eth_call — execute view functions
  • eth_sendRawTransaction — broadcast transactions
  • eth_getTransactionReceipt — transaction confirmation
  • eth_getLogs — query event logs
  • eth_gasPrice — current gas price
  • eth_estimateGas — gas estimation
  • eth_subscribe — WebSocket subscriptions

Code Examples

💻

JavaScript (ethers.js) — Connect to Linea:

const { ethers } = require('ethers');

const provider = new ethers.JsonRpcProvider('https://rpc.crypto-chief.com/linea/YOUR_API_KEY');

// Verify we're on Linea
const network = await provider.getNetwork();
console.log('Chain ID:', network.chainId); // 59144

// Get ETH balance on Linea
const balance = await provider.getBalance('0x...');
console.log('Linea ETH:', ethers.formatEther(balance));

// Send transaction on Linea
const wallet = new ethers.Wallet('YOUR_PRIVATE_KEY', provider);
const tx = await wallet.sendTransaction({
  to: '0x...',
  value: ethers.parseEther('0.1')
});
console.log('Transaction hash:', tx.hash);
await tx.wait();
console.log('Confirmed!');
💻

Python (web3.py) — Linea Setup:

from web3 import Web3

w3 = Web3(Web3.HTTPProvider('https://rpc.crypto-chief.com/linea/YOUR_API_KEY'))

print('Connected to Linea:', w3.is_connected())
print('Chain ID:', w3.eth.chain_id)  # 59144
print('Latest block:', w3.eth.block_number)
print('Gas price:', w3.eth.gas_price, 'wei')

# Very low gas on Linea
gas_gwei = w3.from_wei(w3.eth.gas_price, 'gwei')
print(f'Gas: {gas_gwei} Gwei')
💻

WebSocket — Real-Time Linea Updates:

const { ethers } = require('ethers');
const provider = new ethers.WebSocketProvider('wss://rpc.crypto-chief.com/linea/ws/YOUR_API_KEY');

// Monitor new blocks
provider.on('block', async (blockNumber) => {
  const block = await provider.getBlock(blockNumber);
  console.log(`Linea block ${blockNumber}: ${block.transactions.length} txs`);
});

// Monitor contract events
const contractAddress = '0x...';
const filter = {
  address: contractAddress,
  topics: [ethers.id('Transfer(address,address,uint256)')]
};

provider.on(filter, (log) => {
  console.log('Event detected:', log);
});

Linea Best Practices

  • Fast Withdrawals: No 7-day challenge period unlike optimistic rollups
  • Gas Optimization: Even with low fees, optimize for efficiency
  • MetaMask Integration: Leverage native support for smooth UX
  • EVM Equivalence: Deploy Ethereum contracts without changes
  • Finality: Transactions final once zkProof verified on L1
  • Bridge Selection: Use official Linea bridge for asset transfers

Why choose us?

Production-ready zkEVM infrastructure

High Performance

Optimized global infrastructure delivering <75ms latency with intelligent routing and zkEVM-optimized caching strategies.

zkEVM Security

Benefit from cryptographic security guarantees of zero-knowledge proofs with enterprise-grade infrastructure reliability.

Analytics & Monitoring

Comprehensive monitoring of RPC metrics including request volume, method distribution, latency, and error tracking.

Global Network

Nodes deployed across continents with automatic geo-routing ensuring low latency for users worldwide.

Auto-Scaling

Infrastructure scales automatically during high traffic maintaining consistent performance without manual intervention.

Expert Support

24/7 support from engineers with deep zkEVM and Layer 2 expertise. Average response time under 5 minutes.

Examples of Use

Build secure applications on Linea zkEVM

Linea's combination of zkEVM security, low fees, and ConsenSys backing makes it ideal for DeFi protocols, NFT platforms, and Web3 applications requiring both performance and cryptographic security guarantees.

Secure DeFi Protocols

Launch lending, DEXs, and derivatives with enhanced security from zero-knowledge proofs. Our infrastructure supports high-frequency trading and complex financial operations with cryptographic validity.

NFT Marketplaces

Build NFT platforms where minting and trading benefit from low fees and instant finality. No 7-day withdrawal periods mean users can exit to L1 quickly when needed.

MetaMask-Native Apps

Leverage Linea's native MetaMask support for seamless user onboarding. Our infrastructure ensures smooth wallet operations and transaction processing.

Blockchain Gaming

Build games requiring both performance and security. Low fees enable frequent in-game transactions while zkProofs ensure fairness and prevent cheating.

High-Security Applications

For applications where security is paramount, Linea's zkEVM provides stronger guarantees than optimistic rollups through cryptographic validity proofs.

Cross-Chain Protocols

Build bridges and cross-chain applications leveraging Linea's fast finality and strong security model for reliable cross-chain messaging.

Got questions?
we are here to help

Linea is a zkEVM Layer 2 built by ConsenSys using zero-knowledge proof technology. It offers low-cost Ethereum transactions with cryptographic security guarantees and full EVM equivalence.

A zkEVM (Zero-Knowledge Ethereum Virtual Machine) is a Layer 2 that uses zero-knowledge proofs to verify transaction validity cryptographically, providing stronger security than optimistic rollups.

Linea uses zkEVM technology with cryptographic validity proofs, while Arbitrum and Optimism use optimistic rollups. This gives Linea faster finality without 7-day withdrawal periods.

No, Linea's zkEVM design eliminates the 7-day challenge period required by optimistic rollups. Withdrawals are faster once zkProofs are verified.

Yes, Linea is fully EVM-equivalent. Deploy Ethereum smart contracts without any code changes using all standard Ethereum tools.

Linea transaction fees are typically 10-20x lower than Ethereum mainnet, often costing $0.10-$1.00 depending on L1 gas prices and transaction complexity.

Yes, as a ConsenSys product, Linea has native MetaMask integration making it easy to add the network and manage assets directly in MetaMask.

ConsenSys is a leading Ethereum infrastructure company that created MetaMask, Infura, Truffle, and other essential Ethereum tools. They built Linea as their Layer 2 solution.

Yes, we provide RPC access to both Linea mainnet (59144) and Linea Sepolia testnet for development and testing.

Linea provides different security guarantees — validity is proven cryptographically rather than assumed. This eliminates certain attack vectors possible with optimistic designs.

Pricing that grows with your needs.

Free

Start building on Web3 — no credit card.

$0
  • 5 reqs/sec RPC
  • 5 reqs/min Unified API
  • Ultimate chains
  • WSS, Statistics
  • Community support

Pay for use

Flexible pay-as-you-go for any workload.

From $10
  • 400 reqs/sec RPC
  • 300 reqs/min Unified API
  • 10 reqs/min AML
  • EventStream
  • Ultimate chains
  • WSS, Whitelists, Statistics
  • Support portal

Subscription

From $500 monthly plus 20% extra value.

From $500
  • 700 reqs/sec RPC
  • 500 reqs/min Unified API
  • 5 reqs/sec AML
  • EventStream
  • Ultimate chains
  • WSS, Whitelists, Statistics
  • Support portal

Enterprise

Tailored solution for expert builders

Custom terms

All Subscription features plus:

  • Flexible rate limits
  • Engineering team support
  • Custom SLA
  • Personal manager