Your public Linea Gateway

Linea is a Layer 2 solution that operates as a fully EVM-equivalent zero-knowledge rollup (zk-rollup), engineered to enhance Ethereum's scalability with increased throughput and reduced transaction fees.

By combining the capabilities of zero-knowledge proofs with complete Ethereum Virtual Machine (EVM) equivalence, Linea enables developers to build scalable dApps or seamlessly migrate existing ones without the hassle of code modifications or rewriting smart contracts.

Check out our documentation for limitations and usage examples on docs.blastapi.io

Get started for free and enjoy all the benefits including a higher throughput and a dedicated endpoint with our Consumer App

Linea Mainnet

Linea Mainnet, launched in August, is a groundbreaking layer-two (L2) network by ConsenSys. It enhances Ethereum's usability through zero-knowledge proofs, offering high-speed, low-cost transactions while maintaining Ethereum's security.

Public RPC Endpoint

Public WSS Endpoint

Playground

eth_blockNumber

Parameters

eth_blockNumber

Returns the number of the most recent block

eth_blockNumber response

Returns the number of the most recent block

resultnumber

An integer value of the current block number the client is on

Request

curl -X POST https://linea-mainnet.public.blastapi.io \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":0,"method":"eth_blockNumber"}'
Average API calls/sec6.45
Average API calls/day557,677
API calls last 24h1,123,616

No Data

No API calls made yet

Do you need more to power your project?

Harness the power of our Consumer App and take advantage of a decentralized underlying blockchain infrastructure. With our simple interface and detailed documentation, you can create dedicated API endpoints for multiple blockchains, in just a few clicks, organize your work in different project and benefit from a higher throughput.
If you need help, our team of experts is available 24/7 via discord support. Don't hesitate - start your blockchain journey today!

Get Started for Free