Skip to main content

Overview

Sonic is the highest-performing EVM L1, combining speed, incentives, and world-class infrastructure for DeFi.
GoldRush offers the most comprehensive Sonic 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 Sonic 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.

Mainnet

API Usage

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

Chain Name

  • sonic-mainnet (mainnet)

Example API Calls

SDK Usage

Foundational API Support

This chain supports 22 GoldRush Foundational APIs:

Wallet API

Pricing API

Security API

Transactions API

Block Explorer API

Internal Transactions (with-internal)

Sonic 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

Transaction Classification (with-classification)

Sonic supports transaction classification. Pass with-classification=true to the Transactions API to get a type (such as swap or send_token), a category, a plain-English description, and the assets sent and received for each transaction.
Transaction classification costs 0.05 credits/item.

Example API Call

Recent transactions with classification

Sonic FAQ

What is the Sonic chain ID?

The Sonic mainnet chain ID is 146 (hex 0x92). In GoldRush API calls, use the chain name sonic-mainnet.

What is the native gas token on Sonic?

Sonic uses S as its native gas token.

What is the Sonic block explorer?

You can look up Sonic blocks, transactions and addresses on Sonic Explorer. To read the same data from code, use the GoldRush API.

Which GoldRush APIs support Sonic?

Sonic is supported by the Foundational API (22 endpoints).

Does GoldRush return internal transactions (traces) on Sonic?

Yes. Pass with-internal=true to the Transactions API to include internal transactions, at 0.05 credits per item.

Additional Resources