Linea

Power up your development on Linea with Blast API

Explore the capabilities of Consensys' new zkEVM, offering fast finality, high throughput, low gas fees and the security of Ethereum settlement with Blast API.

Benefits of Linea

About Linea

Linea, developed by Consensys, is a transformative L2 network designed to improve Ethereum's usability. It achieves this by harnessing the power of zero-knowledge proofs, offering high-speed, low-cost transactions while maintaining Ethereum's security and scalability. Linea is EVM-compatible, enabling seamless migration of existing apps and the development of new dApps that can be used fast and cost-effectively.

Linea's efficiency is evident in its ability to handle hundreds of transactions per minute, ideal for applications like DeFi, GameFi, and NFT platforms that require rapid transaction processing. It also reduces gas fees significantly, making it attractive for activities involving multiple transactions, such as digital asset trading and DeFi participation. Moreover, Linea's compatibility with Ethereum's Virtual Machine simplifies the porting of existing dApps and the creation of new ones, ensuring a smooth transition and fostering innovation.

Since its mainnet launch in August, Linea has experienced remarkable growth. As the fastest-growing layer-two solution with ZK proofs, Linea demonstrates its potential to revolutionize Ethereum and the broader blockchain landscape, offering users and developers a more efficient and cost-effective blockchain experience.

Free Public API for Linea

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"}'
See all Public APIs

Blast Features for Linea Developers

Core API

Blast custom APIs offer optimized throughput and reduced latency for transactions on Linea and enable access to real-time data, transaction history and network status.

Included with all plans

Debug API

The Debug API gives Linea developers access to several non-standard RPC methods, which will allow them to inspect, debug and set certain debugging flags during runtime.

Included with Developer, Startup, Enterprise & Pay As You Go plans

Archive Nodes

These nodes retain all historical transaction information on the Linea blockchain from the genesis block to the present, enabling users to query and retrieve any past information. The Archive Nodes feature is enabled starting with the Developer plan.

Included with Developer, Startup, Enterprise & Pay As You Go plans

Frequently Asked Questions

Why should I choose Linea?

Backed and developed by Consensys, Linea offers builders (native) integrations with common tools like MetaMask, the leading self-custodial wallet, or Truffle, a comprehensive suite of toolings for smart contract development, streamlining the building process.

What does Linea's EVM-compatibility mean?

EVM-compatible chains are blockchain networks that conform to the same standards and protocols as the Ethereum blockchain.

How much does it cost to use Blast APIs for Linea?

Blast offers free public APIs and a free plan for dedicated accounts to get you started. For detailed pricing you can take a look on our pricing page.

Where do I get support if my Blast APIs are not working on Linea?

The Bware Labs team is available 24/7 via Discord for support! Just join our server and write down your questions in the Technical Support channel.

How can I start building on Linea using Blast?

Just go to Launch App, connect your wallet and get direct access to dedicated endpoints that you can organize into projects depending on your development needs.

Blast Resources for Linea Developers

Getting started with developing on Linea by using Blast APIs is straightforward. You can follow the instructions in our documentation to set up your development environment and start building.

Read Documentation

Linea Articles