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

Mainnet

PropertyValue
Chain Nameoptimism-mainnet
Chain ID10
Network TypeFoundational Chain
Support Levelfoundational
Block ExplorerOptimistic Etherscan
Official WebsiteOptimism Website
Native Gas TokenETH

Testnets

Optimism Goerli Testnet

PropertyValue
Chain Nameoptimism-goerli
Chain ID420
PurposeDevelopment and testing network
Support Levelfoundational
Block ExplorerExplorer
Official WebsiteOptimism Goerli Testnet Website
Native Gas TokenEther

Optimism Sepolia Testnet

PropertyValue
Chain Nameoptimism-sepolia
Chain ID11155420
PurposeDevelopment and testing network
Support Levelfoundational
Block ExplorerOP Sepolia Explorer
Official WebsiteOptimism Sepolia Testnet Website
Native Gas TokenETH

API Usage

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

Chain Name

  • optimism-mainnet (mainnet)

  • optimism-goerli (testnet)

  • optimism-sepolia (testnet)

Example API Calls

curl -X GET "https://api.covalenthq.com/v1/optimism-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: "optimism-mainnet",
    walletAddress: "demo.eth"
});

Foundational API Support

This chain supports 40 GoldRush Foundational APIs:

Wallet API

Pricing API

Activity Feed API

Block Explorer API

Additional Resources