Skip to main content

Start building on Linea for free

Create an endpoint in under a minute. The Free plan includes 50 million compute units a month, and no credit card is required.

Try free
Linea is a zkEVM rollup on Ethereum, built by Consensys. It uses ETH for gas. Block explorer: https://lineascan.build Linea’s own developer documentation: https://docs.linea.build

Network Support

Linea Mainnet keeps state for the last 512 blocks, about an hour. State methods (eth_call, eth_createAccessList, eth_estimateGas, eth_getBalance, eth_getCode, eth_getProof, eth_getStorageAt, eth_getTransactionCount, eth_simulateV1) and the Debug API work for blocks inside that window. Older blocks do not always return an error: eth_getBalance, eth_getCode and eth_getStorageAt return null, eth_getTransactionCount returns 0x0, and debug_traceBlockByNumber and debug_traceBlockByHash return an empty list. Each method’s page says what it returns.
Transaction lookups by hash (eth_getTransactionByHash, eth_getTransactionReceipt) work from about block 32,438,000 (late October 2026). Blocks, logs, eth_getBlockReceipts and lookups by block and index reach back to genesis.
The Trace API (trace_*) is not available on Linea. Use the Debug API for call traces.
WebSocket clients MUST respond to server ping frames, otherwise the connection will be closed and re-established every minute.

Getting Started

Send a request to check that your endpoint works. Replace <YOUR_API_KEY_HERE> with the key from your endpoint in the Validation Cloud app.
Connect over WebSocket:

Compute Units