Linea RPC Endpoint
Flat-rate Linea RPC provider and Linea RPC node access: free tier, no KYC, HTTP & WebSocket. Linea mainnet chain ID 59144.
https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEYwss://rpc.swiftnodes.io/ws/linea?key=YOUR_API_KEYLinea 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.
lineaLinea on the SwiftNodes fleet, right now
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_KEYLinea WebSocket RPC URL
wss://rpc.swiftnodes.io/ws/linea?key=YOUR_API_KEYQuick 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
https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEYwss://rpc.swiftnodes.io/ws/linea?key=YOUR_API_KEYBridging 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
| Plan | Price | HTTP req/s | WS msg/s |
|---|---|---|---|
| Free | $0/mo | 2 | 1 |
| Starter | $49/mo | 50 | 25 |
| Growth | $89/mo | 150 | 75 |
| Scale | $149/mo | 300 | 150 |
| Pro | $249/mo | 500 | 250 |
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.
- eth_getLogssupported
- eth_getBlockReceiptssupported
- eth_feeHistorysupported
- eth_getProofsupported
- eth_createAccessListsupported
- debug_traceCallsupported
- trace_blocksupported
- trace_transactionsupported
Linea guides from the blog
- Linea RPC: The zkEVM Where Gas Estimation Works DifferentlyLinea is a Consensys zkEVM L2 where standard eth_* just works — but gas estimation and finality have Linea-specific behavior worth knowing. A developer's guide.
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.