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
Testnet
API Usage
To use this blockchain network in GoldRush API calls, use:Chain Name
linea-mainnet(mainnet)linea-sepolia-testnet(testnet)
Example API Calls
SDK Usage
Foundational API Support
This chain supports 24 GoldRush Foundational APIs:Wallet API
- Get token holders as of any block height (v2) on Linea
- Get token balances for address on Linea
- Get native token balance for address on Linea
- Get historical portfolio value over time on Linea
- Get ERC20 token transfers for address on Linea
NFT API
Pricing API
Security API
Transactions API
- Get a transaction on Linea
with-traces - Get transaction summary for address on Linea
- Get earliest transactions for address (v3) on Linea
with-traces - Get recent transactions for address (v3) on Linea
with-traces - Get paginated transactions for address (v3) on Linea
with-traces - Get bulk time bucket transactions for address (v3) on Linea
- Get all transactions in a block (v3) on Linea
- Get all transactions in a block by page (v3) on Linea
Block Explorer API
- Get a block on Linea
- Get all chain statuses on Linea
- Get all chains on Linea
- Get block heights on Linea
- Get gas prices on Linea
- Get log events by contract address on Linea
- Get log events by topic hash(es) on Linea
- Get logs on Linea
Internal Transactions (with-internal)
Linea supports internal transactions (traces). The Transactions API endpoints marked with-traces 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