Skip to main content

Don't have an RPC Node yet?

Start using RPC Nodes in your project today.

Get your free RPC Node
Version: 2.2

Linea JSON RPC API

Introduction

Linea is a high-performance Layer 2 solution for Ethereum, designed to provide low-cost and fast transactions while maintaining Ethereum’s security through zk-rollups. Linea’s architecture allows for greater scalability, enabling decentralized applications (dApps) to process more transactions at lower costs, making it ideal for decentralized finance (DeFi), gaming, and NFT ecosystems.

Supported Networks

The Linea RPC API is available for the following networks:

  1. Linea Mainnet
  2. Linea Sepolia Testnet

Network Details

NetworkChain IDEVM ChainRPC URLs
Linea Mainnet0xe708 (59144)EvmChain.LINEAhttps://site1.moralis-nodes.com/linea/
https://site2.moralis-nodes.com/linea/
Linea Sepolia0xe705 (59141)EvmChain.LINEA_SEPOLIAhttps://site1.moralis-nodes.com/linea-sepolia/
https://site2.moralis-nodes.com/linea-sepolia/

Supported RPC Methods

Supported Extended RPC Methods