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
GoldRush offers the most comprehensive BNB Smart Chain (BSC) 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 BNB Smart Chain (BSC) 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.
Streaming API
Subscribe to real-time blockchain events with sub-second latency using GraphQL over WebSockets.
Track token transfers, DEX activity, wallet movements, and OHLCV candlestick data across fast chains like Base and Solana.
Use cases: Trading bots & dashboards, gaming, and AI Agents.
Use cases: Trading bots & dashboards, gaming, and AI Agents.
Mainnet
| Property | Value |
|---|---|
| Chain Name | bsc-mainnet (Foundational API) / BSC_MAINNET (Streaming API) |
| Chain ID | 56 |
| Network Type | Foundational Chain |
| Support Level | foundational |
| Block Explorer | BscScan |
| Official Website | BNB Smart Chain (BSC) Website |
| Native Gas Token | BNB |
Testnet
| Property | Value |
|---|---|
| Chain Name | bsc-testnet |
| Chain ID | 97 |
| Purpose | Development and testing network |
| Support Level | foundational |
| Block Explorer | Bsc Testnet Scan |
| Native Gas Token | gwei |
API Usage
To use this blockchain network in GoldRush API calls, use:Chain Name
bsc-mainnet/BSC_MAINNET(mainnet)bsc-testnet(testnet)
Example API Calls
SDK Usage
Foundational API Support
This chain supports 28 GoldRush Foundational APIs:Wallet API
- Get token holders as of any block height (v2)
- Get historical token balances for address
- Get token balances for address
- Get native token balance for address
- Get historical portfolio value over time
- Get ERC20 token transfers for address
NFT API
- Get NFTs for address
- Check ownership in NFT collection
- Check ownership in NFT collection for specific token
Pricing API
Security API
Activity Feed API
- Get a transaction
- Get transaction summary for address
- Get earliest transactions for address (v3)
- Get recent transactions for address (v3)
- Get paginated transactions for address (v3)
- Get bulk time bucket transactions for address (v3)
- Get all transactions in a block (v3)
- Get all transactions in a block by page (v3)
Block Explorer API
- Get a block
- Get all chain statuses
- Get all chains
- Get block heights
- Get gas prices
- Get log events by contract address
- Get log events by topic hash(es)
- Get logs
Streaming API Support
This chain supports 9 GoldRush Streaming APIs:- New DEX Pairs Stream
- OHLCV Pairs Stream
- OHLCV Tokens Stream
- Update Pairs Stream
- Update Tokens Stream
- Wallet Activity Stream
- Token Search Query
- Top Trader Wallets for Token Query
- Wallet PnL by Token Query