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
- Get token balances for address on MegaETH
- Get native token balance for address on MegaETH
- Get historical portfolio value over time on MegaETH
- Get ERC20 token transfers for address on MegaETH
Pricing API
Security API
Transactions API
- Get a transaction on MegaETH
- Get transaction summary for address on MegaETH
- Get earliest transactions for address (v3) on MegaETH
- Get recent transactions for address (v3) on MegaETH
- Get paginated transactions for address (v3) on MegaETH
- Get bulk time bucket transactions for address (v3) on MegaETH
- Get all transactions in a block (v3) on MegaETH
- Get all transactions in a block by page (v3) on MegaETH
Block Explorer API
- Get a block on MegaETH
- Get all chain statuses on MegaETH
- Get all chains on MegaETH
- Get block heights on MegaETH
- Get gas prices on MegaETH
- Get log events by contract address on MegaETH
- Get log events by topic hash(es) on MegaETH
- Get logs on MegaETH
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