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