Linea RPC URL & Chain ID

17 public endpoints · 8 online at the last check

Mainnetzk rollup L2EVM

Linea is a zk-rollup L2 on Ethereum developed by Consensys. Gas is paid in ETH.

Last checked 1 min ago

No project pays to be listed. How we test

On this page

Below are the public Linea RPC endpoints listed on chainlist.org, re-checked every 5 minutes from our probe server and sorted by current latency. Failed endpoints are collapsed at the bottom.

Public RPCs are free and shared: expect rate limits, no SLA and weaker privacy. For production apps use a dedicated endpoint.

Linea network details

Network name
Chain ID
Currency symbol
Fastest RPC now
Block explorer
Latest block
32,149,994
Type
zk rollup L2

Public Linea RPC endpoints

Linea RPC endpoints
EndpointLatencyBlockUptime 24hPrivacy
126 ms32,149,99416.7%Limited
1047 ms32,149,994100%Limited
1336 ms32,149,994100%No tracking
1356 ms32,149,994100%No tracking
1426 ms32,149,99416.7%Limited
1483 ms32,149,994100%No tracking
1630 ms32,149,994100%Not stated
3225 ms32,149,99483.3%No tracking
Not checked (WSS)——Not stated
Not checked (WSS)——Not stated
Failed at the last check (7)
Linea endpoints that failed the last check
EndpointLatencyBlockUptime 24hPrivacy
Offline · HTTP 429—16.7%Limited
Offline · HTTP 429—0%No tracking
Offline · fetch failed—0%No tracking
Offline · HTTP 401—0%Limited
Offline · fetch failed—0%Limited
Offline · fetch failed—0%Limited
Offline · HTTP 429—0%Tracks

Latency: one eth_blockNumber request from our server every 5 minutes. Block: height reported by the endpoint; a minus shows how many blocks it lags behind the fastest one. Privacy: what the operator declares, from chainlist.org.

Connect to Linea RPC: code examples

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

Linea RPC FAQ

What is the chain ID of Linea?

Linea's chain ID is 59144 (hex 0xe708). Wallets use it to tell Linea apart from other networks and to prevent replaying transactions across chains.

Is there a free Linea RPC?

Yes. We list 17 public Linea endpoints; 8 answered at the last check. They are free but shared and rate-limited, with no uptime guarantee.

What currency does Linea use for gas?

Linea Ether (ETH).

How do I add Linea to MetaMask?

Use “Add to wallet” at the top of this page, or add the network manually with the values in the table under “How to add Linea to MetaMask”.

HTTPS or WSS — which should I use?

HTTPS for regular requests such as reading balances or sending transactions; WSS keeps a connection open for subscriptions such as new blocks or logs.

Are public RPC endpoints safe?

A public endpoint cannot move your funds, but it can see your IP address and the requests you send. Check the Privacy column: it shows what each operator says it logs, from chainlist.org.

How often are endpoints checked?

Every 5 minutes. We send one eth_blockNumber request to each HTTPS endpoint and record the response time and block height. An endpoint is marked offline after 3 failed checks in a row.

Does any provider pay to be listed?

No. No provider pays to be listed or to change its place in the table; the order is by measured latency.

How to add Linea to MetaMask

  1. Open MetaMask, open the network menu and choose “Add a custom network”.
  2. Copy each value from the table into the form.
  3. Save, then switch to the new network.
  4. If balances do not load, try another RPC URL from the list above.
Network name
RPC URL
Chain ID
Currency symbol
Block explorer URL

Related networks

Network data: ethereum-lists/chains via chainlist.org (synced Sep 26, 2026). Privacy labels: chainlist.org. Latency and uptime: our own checks every 5 minutes. No provider pays to be listed.

How this page works

Sources: chainlist.org, ethereum-lists/chains. Data as of Sep 26, 2026.

How we review

Not affiliated with any project listed. Educational content, not financial advice.