Overview
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.
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
- ERC-20 Token Balance API on Sonic
- Native Token Balance API on Sonic
- ERC-20 Token Transfers API on Sonic
- Historical Portfolio Value API on Sonic
Pricing API
Security API
Transactions API
- Transaction API on Sonic
with-input-datawith-internalwith-classification - Wallet Transaction Summary API on Sonic
- Earliest Wallet Transactions API on Sonic
with-input-datawith-internalwith-classification - Wallet Transaction History API on Sonic
with-input-datawith-internalwith-classification - Paginated Wallet Transactions API on Sonic
with-input-datawith-internalwith-classification - Time Bucket Transactions API on Sonic
- Block Transactions API by Page on Sonic
- Block Transactions API on Sonic
Block Explorer API
- Block API on Sonic
- Block Heights API on Sonic
- Chain Status API on Sonic
- Contract Event Logs API on Sonic
- Event Logs API on Sonic
- Event Logs by Topic Hash API on Sonic
- Gas Price API on Sonic
- Supported Chains API on Sonic
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 (hex0x92). 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. Passwith-internal=true to the Transactions API to include internal transactions, at 0.05 credits per item.