Overview
GoldRush offers the most comprehensive Optimism 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 Optimism 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
optimism-mainnet(mainnet)
Example API Calls
SDK Usage
Foundational API Support
This chain supports 28 GoldRush Foundational APIs:Wallet API
- Token Holders API on Optimism
- Historical Token Balance API on Optimism
- ERC-20 Token Balance API on Optimism
- Native Token Balance API on Optimism
- Historical Portfolio Value API on Optimism
- ERC-20 Token Transfers API on Optimism
NFT API
Pricing API
Security API
Transactions API
- Transaction API on Optimism
with-input-datawith-internal - Wallet Transaction Summary API on Optimism
- Earliest Wallet Transactions API on Optimism
with-input-datawith-internal - Wallet Transaction History API on Optimism
with-input-datawith-internal - Paginated Wallet Transactions API on Optimism
with-input-datawith-internal - Time Bucket Transactions API on Optimism
- Block Transactions API on Optimism
- Block Transactions API by Page on Optimism
Block Explorer API
- Block API on Optimism
- Block Heights API on Optimism
- Chain Status API on Optimism
- Contract Event Logs API on Optimism
- Event Logs API on Optimism
- Event Logs by Topic Hash API on Optimism
- Gas Price API on Optimism
- Supported Chains API on Optimism
Internal Transactions (with-internal)
Optimism 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