Linea RPC Endpoints
- Chain ID
- Family
- EVM
- Native token
- ETH
- Block time
- 2 s
https://api-linea-mainnet-archive.n.dwellir.com/<your-api-key>wss://api-linea-mainnet-archive.n.dwellir.com/<your-api-key>Linea is a zkEVM L2 network designed to optimize Ethereum's execution capabilities while participating in its security mechanisms. It offers a high-performance environment for transactions, smart contract deployment, and NFT minting. Linea uses advanced zero-knowledge cryptography to efficiently validate activities without overwhelming Ethereum's network, ensuring fast and cost-effective operations. The network includes key components like Sequencer, Prover, and Bridge Relayer, working together to enhance Ethereum's scalability and efficiency.
Linea RPC docs: methods and examplesGive it a try
Run a call against Linea Mainnet, then copy it as code.
POST https://api-linea-mainnet-archive.n.dwellir.com/<key>
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_blockNumber",
"params": []
}curl -sS -X POST https://api-linea-mainnet-archive.n.dwellir.com/<your-api-key> \-H 'Content-Type: application/json' \-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
Pricing
Every response costs one API credit on the shared plans, with no compute units. For a fixed monthly price, move to an Unlimited Node or a dedicated cluster.
Shared Node Pricing
How many calls do you make per month?
Growth
$299/month
- 500 Responses /sec
- Pay in Crypto
- Dedicated Account Manager
150,000,000 responses ≈ 150.0M • Base $299 + Overages $0
Linea Unlimited Node
- Unmetered requests within your tier
- Five tiers from 25 to 1,000 RPS
- No API credits, no overages
- Pay in Crypto
- HTTP & Websocket APIs
- Trace APIs
- Debug APIs
- Same endpoint URL and API key
- Self-serve in the dashboard
- Fixed monthly invoice
From $119/month
Linea Dedicated Node Cluster
- Unlimited RPS & Responses
- HTTP & Websocket APIs
- Trace APIs
- Debug APIs
- Pay in Crypto
- Dedicated Account Manager
- Tailored load balancing
- Access to Engineering teams
- Global data centers
$3,480/month
Which Linea RPC endpoint should I use?
Pick by what you are building. Mainnet runs on archive nodes, so calls at any past block work.
- Reads and sending transactions The HTTPS endpoint
- New blocks and events as they land The WebSocket endpoint
- Call traces and debugging debug_* methods on a paid plan
- Testing an integration The free plan: 20 responses a second, 100,000 a day
- Steady high traffic An Unlimited Node at a flat monthly price
- Isolated nodes in regions you choose A dedicated node cluster
FAQs
Dwellir provides Linea RPC endpoints at https://api-linea-mainnet-archive.n.dwellir.com/<your-api-key> for mainnet (Chain ID 59144). The Linea Sepolia testnet uses Chain ID 59141. Replace <your-api-key> with the key from your Dwellir dashboard.
Yes. WebSocket endpoints are available at wss://api-linea-mainnet-archive.n.dwellir.com/<your-api-key> for mainnet. Use WebSockets for real-time subscriptions like eth_subscribe for new blocks, pending transactions, and log events.
Yes. Dwellir's Linea mainnet endpoints run archive nodes, providing full historical state access. You can query balances, call contracts, and trace transactions at any past block height using methods like eth_call, eth_getBalance, and debug/trace APIs.
- Sign up at dwellir.com and retrieve your API key from the dashboard. 2. Replace your current RPC URL (e.g.,
https://rpc.linea.build) withhttps://api-linea-mainnet-archive.n.dwellir.com/<your-api-key>. 3. For WebSocket connections, usewss://api-linea-mainnet-archive.n.dwellir.com/<your-api-key>. The API is fully compatible with standard Ethereum JSON-RPC methods.
Linea Mainnet uses Chain ID 59144 with ETH as the native token and ~2-4 second block times. Linea Sepolia testnet uses Chain ID 59141. As a zkEVM, Linea uses zero-knowledge proofs for state validation rather than fraud proofs, enabling faster finality than optimistic rollups. Linea is developed by Consensys and reached 100% proven status in 2025. Block explorer: lineascan.build.
Dwellir's Linea endpoints are fully compatible with standard EVM tooling including Web3.js, ethers.js, viem, and Web3.py. Development frameworks like Hardhat, Foundry, and Truffle work seamlessly. As a fully EVM-equivalent zkEVM, Linea supports the same bytecode as Ethereum mainnet. Simply configure your provider with the Dwellir RPC URL and your API key.
Linea has two finality stages: Soft finality (~2 seconds) occurs when the sequencer confirms your transaction on L2—this is when balances update and contracts execute. Hard finality (6-32 hours, improving to near-zero) occurs when the zk-proof is verified on Ethereum L1 and two epochs pass. For most dApp use cases, soft finality is sufficient. Hard finality matters for bridges, large withdrawals, or when you need cryptographic proof that a transaction is irreversible. Unlike optimistic rollups, Linea has no 7-day challenge period.
Linea uses zero-knowledge proofs (zk-SNARKs) to validate state transitions, while optimistic rollups assume transactions are valid unless challenged. Key differences: 1) Finality: Linea achieves hard finality in hours vs. 7 days for optimistic rollups, 2) Withdrawals: No challenge period needed—once proven, withdrawals can finalize quickly, 3) Security model: Math-based verification vs. economic game theory, 4) Cost tradeoff: ZK proof generation is compute-intensive but improves over time. For developers, the EVM experience is identical; differences mainly affect bridging timing and infrastructure costs.
What our customers say
“Dwellir is more than just a service provider for Paribu Custody; they are a strategic partner. They consistently deliver tailored solutions, always standing by our side. Their reliability, speed, and proactive approach ensure seamless operations. Working with them truly makes a difference.”
Anıl KüçükrecepSenior Engineering Manager, Paribu
“DIA leverages Dwellir’s robust infrastructure as a primary and/or backup RPC provider to power oracle services across a wide range of blockchain networks. Their reliability and forward-thinking approach to supporting new and emerging ecosystems align closely with DIA’s mission to provide resilient, scalable data infrastructure for Web3. This collaboration enhances DIA’s redundancy model and strengthens DIA’s ability to serve as a foundational layer for decentralized applications across the multi-chain landscape.”
Dillon HansonHead of Business Development, DIA
“We are very impressed! You are fast at deploying new nodes and we haven’t experienced any downtime yet with Dwellir.”
Jarmo IsotaloCTO, Token Terminal“Dwellir’s support is genuinely standout. We rely on them heavily across 80+ networks, and they’ve been rock solid, reliable infrastructure and a fantastic team to work with.”
Denham PreenCo-founder, Envio
Start free on Linea.1 response = 1 credit.
100,000 responses a day at 20 per second. The same plan covers 150+ networks.