Skip to main content

Documentation Index

Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

zkSync Era is a Layer-2 protocol that scales Ethereum with cutting-edge ZK tech.
GoldRush offers the most comprehensive zkSync Era 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 zkSync Era Data APIs provide fast, accurate, and developer-friendly access to the essential onchain data you need.

Supported APIs

https://mintcdn.com/goldrush/HCWRKGncxpy71D8p/images/icons/foundational.svg?fit=max&auto=format&n=HCWRKGncxpy71D8p&q=85&s=8a0b97060449218c1b477fe1fffc8a92

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.
https://mintcdn.com/goldrush/HCWRKGncxpy71D8p/images/icons/pipeline.svg?fit=max&auto=format&n=HCWRKGncxpy71D8p&q=85&s=f0027120a50c03e5660514e94a26cabb

Pipeline API

Stream blockchain data directly to your own infrastructure. Push decoded blocks, transactions, event logs, and protocol-specific data into your database, warehouse, queue, or webhook with ABI decoding and SQL transforms built in.

Use cases: Data warehousing, analytics dashboards, ETL pipelines, and backend indexing.

Mainnet

PropertyValue
Chain Namezksync-mainnet
Chain ID324
Network TypeFrontier Chain
Support Levelfrontier
Block ExplorerExplorer
Official WebsitezkSync Era Website
Native Gas TokenETH

API Usage

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

Chain Name

  • zksync-mainnet (mainnet)

Example API Calls

curl -X GET "https://api.covalenthq.com/v1/zksync-mainnet/address/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/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: "zksync-mainnet",
    walletAddress: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
});

Foundational API Support

This chain supports 23 GoldRush Foundational APIs:

Wallet API

NFT API

Pricing API

Security API

Activity Feed API

Block Explorer API

Pipeline API Support

This chain supports 4 GoldRush Pipeline API data objects that can be streamed to your infrastructure:

Additional Resources