Linea JSON-RPC API

Standard Ethereum JSON-RPC API plus Linea-specific extensions available at the public endpoint rpc.linea.build. Supports all eth_* methods (eth_blockNumber, eth_getBlockByNumber, eth_sendRawTransaction, eth_call, eth_getLogs, etc.) as well as ERC-4337 account abstraction bundler methods and Linea-specific methods including linea_estimateGas (returns baseFeePerGas, priorityFeePerGas, and gasLimit accounting for L1 verification costs) and linea_getProof. The public endpoint is free but rate-limited; production workloads should use a private node provider such as Infura or Alchemy.

API entry from apis.yml

apis.yml Raw ↑
aid: linea:json-rpc-api
name: Linea JSON-RPC API
description: Standard Ethereum JSON-RPC API plus Linea-specific extensions available at the public endpoint
  rpc.linea.build. Supports all eth_* methods (eth_blockNumber, eth_getBlockByNumber, eth_sendRawTransaction,
  eth_call, eth_getLogs, etc.) as well as ERC-4337 account abstraction bundler methods and Linea-specific
  methods including linea_estimateGas (returns baseFeePerGas, priorityFeePerGas, and gasLimit accounting
  for L1 verification costs) and linea_getProof. The public endpoint is free but rate-limited; production
  workloads should use a private node provider such as Infura or Alchemy.
humanURL: https://docs.linea.build/api/reference
baseURL: https://rpc.linea.build
tags:
- JSON-RPC
- Ethereum
- Blockchain
- ERC-4337
- Account Abstraction
properties:
- type: Documentation
  url: https://docs.linea.build/api/reference
- type: APIReference
  url: https://docs.linea.build/api/reference
- type: GettingStarted
  url: https://docs.linea.build/get-started/build/quickstart/deploy