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.
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_getCodeandeth_getStorageAtreturnnull,eth_getTransactionCountreturns0x0, anddebug_traceBlockByNumberanddebug_traceBlockByHashreturn 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.