Linea RPC Endpoint

Flat-rate Linea RPC provider and Linea RPC node access: free tier, no KYC, HTTP & WebSocket. Linea mainnet chain ID 59144.

Linea mainnet RPC URL: https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEY
WebSocket: wss://rpc.swiftnodes.io/ws/linea?key=YOUR_API_KEY

Linea is ConsenSys' zkEVM Layer 2, designed to bring Ethereum applications to scale with full EVM equivalence. Backed by the team behind MetaMask, Infura, and Truffle, Linea integrates deeply with the most-used Ethereum developer tooling.

Network: Linea
Type: EVM
Chain ID: 59144
Slug: linea
Native token: ETH (Ether)
Block time: ~6 seconds (varies with load)
Finality: Soft: one block. Hard (L1): ~1-4 hours (zk proof submission)
Mainnet: July 11, 2023
Category: zk-Rollup (zkEVM, type-2)

Linea on the SwiftNodes fleet, right now

Status: online
Latency: 47 ms
Latest block: 32,278,570
WebSocket: available

11 of 12 probed RPC methods supported (archive, batch, debug_traceCall, trace_transaction). The gaps are listed per chain in the method support matrix.

Status and latency from our health checks, refreshed about every 5 minutes. Uptime history. Method support probed automatically on 2026-10-04. Network status

Linea developer facts, measured

Block time:
~14 s (average of the last 1,000 blocks)
eth_getLogs range:
10,000-block ranges accepted; the next size we test was refused
Historical state:
readable at least 1,000,000 blocks back

Measured 2026-10-04 through this page's endpoint, re-measured weekly. Limits can differ between the upstream nodes behind it. All chains: measured chain facts.

About Linea

Linea launched mainnet in July 2023. It's a zk-rollup with EVM equivalence — Solidity contracts deploy without changes. ConsenSys operates the prover and sequencer, with plans to decentralize over time.

Linea's competitive advantage is its tight integration with MetaMask (used by hundreds of millions of users) and Infura (RPC infrastructure). MetaMask's built-in swap/bridge features default to Linea for many flows, driving organic user acquisition.

Common Use Cases on Linea

  • MetaMask-integrated dApps and onchain commerce
  • DeFi (Aave V3, Lynex, Mendi)
  • Cross-chain applications requiring fast L1 finality
  • Onchain games leveraging cheap gas + Ethereum security
  • Identity and onchain reputation (ConsenSys ecosystem)

Linea Ecosystem

Mendi (lending), Lynex (DEX), Aave V3, Uniswap V3. Strong incentive programs have driven TVL growth. MetaMask integration provides a unique user-acquisition channel.

Linea Mainnet RPC URL (HTTP)

https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEY

Linea WebSocket RPC URL

wss://rpc.swiftnodes.io/ws/linea?key=YOUR_API_KEY

Quick Start: Connect to Linea

cURL

curl -X POST https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

ethers.js

import { JsonRpcProvider } from "ethers";

const provider = new JsonRpcProvider(
  "https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEY"
);

const blockNumber = await provider.getBlockNumber();
console.log("Linea block:", blockNumber);

viem

import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEY"),
});

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

w3 = Web3(Web3.HTTPProvider("https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEY"))
print("Linea block:", w3.eth.block_number)

Add Linea to MetaMask

Network Name: Linea (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEY
Chain ID: 59144
Currency Symbol: ETH
WebSocket: wss://rpc.swiftnodes.io/ws/linea?key=YOUR_API_KEY

Bridging to Linea

Linea Native Bridge (https://bridge.linea.build) for canonical Ethereum ↔ Linea (~20 min deposits, 8-32 hours for direct withdrawals). Stargate, Across, Squid for instant bridges.

Features of SwiftNodes for Linea

  • Load-balanced across multiple upstream nodes wherever a chain has more than one, with automatic failover
  • Health-checked every 2 minutes with automatic failover
  • Free tier available — no credit card or KYC required
  • Flat-rate monthly pricing with no per-request fees
  • HTTP and WebSocket support
  • One API key works across all 75+ supported chains, including Linea

Rate Limits

PlanPriceHTTP req/sWS msg/s
Free$0/mo21
Starter$49/mo5025
Growth$89/mo15075
Scale$149/mo300150
Pro$249/mo500250

Frequently Asked Questions: Linea

What's Linea's chain ID?

Linea mainnet is chain ID 59144. Linea Sepolia testnet is 59141.

Who operates Linea?

ConsenSys, the company behind MetaMask, Infura, and Truffle. They currently run the centralized sequencer and prover, with decentralization roadmapped.

Does Linea have a native token?

Yes — LINEA token launched in 2024. Used for ecosystem incentives and forthcoming governance.

Linea RPC methods

Measured weekly through this endpoint: what each method returns on Linea, its limits, and an example request.

Linea guides from the blog

Related L2 & rollup chains

Explore RPC endpoints for other L2 & rollup networks on SwiftNodes:

Ready to start building on Linea? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.