Linea RPC Endpoint
Fast, flat-rate Linea RPC node provider — free tier, no KYC, HTTP & WebSocket.
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.
lineaAbout 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.
HTTP Endpoint
https://rpc.swiftnodes.io/rpc/linea?key=YOUR_API_KEYWebSocket Endpoint
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
- Multiple load-balanced upstream nodes for high availability
- Health-checked every 60 seconds 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.
Ready to start building on Linea? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.