Overview

GoldRush offers the most comprehensive X Layer 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 X Layer Data APIs provide fast, accurate, and developer-friendly access to the essential onchain data you need.

Supported APIs

Mainnet

PropertyValue
Chain Namex1-mainnet
Chain ID196
Network TypeCommunity Chain
Support Levelcommunity
Block ExplorerExplorer
Official WebsiteX Layer Website
Native Gas TokenOKB

Testnet

PropertyValue
Chain Namex1-testnet
Chain ID195
PurposeDevelopment and testing network
Support Levelcommunity
Block ExplorerExplorer
Official WebsiteX Layer Testnet Website
Native Gas TokenOKB

API Usage

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

Chain Name

  • x1-mainnet (mainnet)

  • x1-testnet (testnet)

Example API Calls

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

Foundational API Support

This chain supports 31 GoldRush Foundational APIs:

Pricing API

Activity Feed API

Block Explorer API

Additional Resources