Overview
GoldRush offers the most comprehensive Lens 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 Lens Data APIs provide fast, accurate, and developer-friendly access to the essential onchain data you need.Supported APIs
Mainnet
| Property | Value |
|---|---|
| Chain Name | lens-mainnet |
| Chain ID | 232 |
| Network Type | Frontier Chain |
| Support Level | frontier |
| Block Explorer | Lens Block Explorer |
| Official Website | Lens Website |
| Native Gas Token | GHO |
Testnet
| Property | Value |
|---|---|
| Chain Name | lens-sepolia-testnet |
| Chain ID | 37111 |
| Purpose | Development and testing network |
| Support Level | frontier |
| Block Explorer | Lens Network Testnet Block Explorer |
| Official Website | Lens Testnet Website |
| Native Gas Token | GRASS |
API Usage
To use this blockchain network in GoldRush API calls, use:Chain Name
-
lens-mainnet(mainnet) -
lens-sepolia-testnet(testnet)
Example API Calls
SDK Usage
Foundational API Support
This chain supports 35 GoldRush Foundational APIs:Wallet API
- 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
Pricing 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