Overview
GoldRush offers the most comprehensive MegaETH 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 MegaETH 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.
JSON-RPC
Low-latency EVM JSON-RPC with global failover and archive depth.
Point your existing tooling at the GoldRush endpoint — no code changes required.
Use cases: dApps, wallets, indexers, bots, and trading infrastructure.
Use cases: dApps, wallets, indexers, bots, and trading infrastructure.
Mainnet
API Usage
To use this blockchain network in GoldRush API calls, use:Chain Name
megaeth-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 MegaETH
- Native Token Balance API on MegaETH
- Historical Portfolio Value API on MegaETH
- ERC-20 Token Transfers API on MegaETH
Pricing API
Security API
Transactions API
- Transaction API on MegaETH
with-input-datawith-internal - Wallet Transaction Summary API on MegaETH
- Earliest Wallet Transactions API on MegaETH
with-input-datawith-internal - Wallet Transaction History API on MegaETH
with-input-datawith-internal - Paginated Wallet Transactions API on MegaETH
with-input-datawith-internal - Time Bucket Transactions API on MegaETH
- Block Transactions API on MegaETH
- Block Transactions API by Page on MegaETH
Block Explorer API
- Block API on MegaETH
- Block Heights API on MegaETH
- Chain Status API on MegaETH
- Contract Event Logs API on MegaETH
- Event Logs API on MegaETH
- Event Logs by Topic Hash API on MegaETH
- Gas Price API on MegaETH
- Supported Chains API on MegaETH
Internal Transactions (with-internal)
MegaETH 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
JSON-RPC
MegaETH is available on the GoldRush JSON-RPC service. Point your existing EVM tooling (ethers.js, viem, web3.js, or raw HTTP) at the GoldRush endpoint — the standardeth_*, net_*, web3_*, debug_*, and trace_* methods are supported.
Endpoint
Example JSON-RPC Calls
Sample Methods
- eth_blockNumber on MegaETH
- eth_getBalance on MegaETH
- eth_call on MegaETH
- eth_getLogs on MegaETH
- eth_getTransactionReceipt on MegaETH