Overview

GoldRush offers the most comprehensive Linea Data API suite for developers, analysts, and enterprises. Whether you’re building a DeFi dashboard, a wallet, a trading bot, an AI agent or a compliance platform, our Linea Data APIs provide fast, accurate, and developer-friendly access to the essential onchain data you need.

Supported APIs

Mainnet

PropertyValue
Chain Namelinea-mainnet
Chain ID59144
Network TypeFrontier Chain
Support Levelfrontier
Block ExplorerExplorer
Official WebsiteLinea Website
Native Gas TokenETH

Testnets

Linea Goerli Testnet

PropertyValue
Chain Namelinea-goerli-testnet
Chain ID59140
PurposeDevelopment and testing network
Support Levelfrontier
Block ExplorerExplorer
Official WebsiteLinea Goerli Testnet Website
Native Gas TokenGoerli ETH

Linea Sepolia Testnet

PropertyValue
Chain Namelinea-sepolia-testnet
Chain ID59141
PurposeDevelopment and testing network
Support Levelfrontier
Block ExplorerExplorer
Official WebsiteLinea Sepolia Testnet Website
Native Gas TokenETH

API Usage

To use this blockchain network in GoldRush API calls, use:

Chain Name

  • linea-mainnet (mainnet)

  • linea-goerli-testnet (testnet)

  • linea-sepolia-testnet (testnet)

Example API Calls

curl -X GET "https://api.covalenthq.com/v1/linea-mainnet/address/demo.eth/balances_v2/?key=API_KEY"

SDK Usage

import { GoldRushClient } from "@covalenthq/client-sdk";

const client = new GoldRushClient("API_KEY");
const resp = await client.BalanceService.getTokenBalancesForWalletAddress({
    chainName: "linea-mainnet",
    walletAddress: "demo.eth"
});

Foundational API Support

This chain supports 31 GoldRush Foundational APIs:

Pricing API

Activity Feed API

Block Explorer API

Additional Resources