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
Foundational API
Access structured historical blockchain data across 100+ chains using REST APIs.
Get token balances, transaction histories, decoded event logs, NFT assets, token holders and more.
Use cases: Wallets, portfolio trackers, crypto accounting & tax tools, and DeFi dashboards.
Use cases: Wallets, portfolio trackers, crypto accounting & tax tools, and DeFi dashboards.
Mainnet
API Usage
To use this blockchain network in GoldRush API calls, use:Chain Name
linea-mainnet(mainnet)
Example API Calls
SDK Usage
Foundational API Support
This chain supports 24 GoldRush Foundational APIs:Wallet API
- Token Holders API on Linea
- ERC-20 Token Balance API on Linea
- Native Token Balance API on Linea
- Historical Portfolio Value API on Linea
- ERC-20 Token Transfers API on Linea
NFT API
Pricing API
Security API
Transactions API
- Transaction API on Linea
with-input-datawith-internalwith-classification - Wallet Transaction Summary API on Linea
- Earliest Wallet Transactions API on Linea
with-input-datawith-internalwith-classification - Wallet Transaction History API on Linea
with-input-datawith-internalwith-classification - Paginated Wallet Transactions API on Linea
with-input-datawith-internalwith-classification - Time Bucket Transactions API on Linea
- Block Transactions API on Linea
- Block Transactions API by Page on Linea
Block Explorer API
- Block API on Linea
- Block Heights API on Linea
- Chain Status API on Linea
- Contract Event Logs API on Linea
- Event Logs API on Linea
- Event Logs by Topic Hash API on Linea
- Gas Price API on Linea
- Supported Chains API on Linea
Internal Transactions (with-internal)
Linea supports internal transactions (traces). The Transactions API endpoints marked with-input-data with-internal above accept the with-internal=true query parameter, which includes internal transactions (the value transfers triggered by contract execution that are not recorded as standalone onchain transactions) in the response.
Internal transactions are included in the response by passing
with-internal and cost 0.05 credits/item.Example API Call
Recent transactions with internal transactions
Transaction Classification (with-classification)
Linea supports transaction classification. Pass with-classification=true to the Transactions API to get a type (such as swap or send_token), a category, a plain-English description, and the assets sent and received for each transaction.
Transaction classification costs
0.05 credits/item.Example API Call
Recent transactions with classification