> ## 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.

# HyperEVM Onchain Data API

> Get token balances and transactions for HyperEVM. 22 endpoints supported.

export const Mainnet = () => <>
    <p>
      HyperEVM is the fully EVM-compatible execution layer of the Hyperliquid
      network. It produces blocks roughly every <strong>1 second</strong>, uses{" "}
      <strong>HYPE</strong> as its native gas token, and runs on chain ID{" "}
      <code>999</code> - so standard Ethereum tooling (ethers, viem, web3.py,
      Foundry) works without changes.
    </p>
    <p>
      Connect over GoldRush JSON-RPC at{" "}
      <code>https://rpc.goldrushdata.com/v1/hyperevm-mainnet</code> - see the{" "}
      <a href="/docs/api-reference/json-rpc/chains/hyperevm">
        HyperEVM JSON-RPC reference
      </a>{" "}
      for supported methods and code samples. For token balances, transfers,
      and historical prices use the{" "}
      <a href="/docs/goldrush-foundational-api">Foundational API</a>.
    </p>
  </>;

## Overview

<Tip>
  HyperEVM brings Solidity smart contracts to the Hyperliquid ecosystem. Deploy familiar EVM dApps on a blockchain built for institutional-grade trading performance.
</Tip>

GoldRush offers the most comprehensive HyperEVM 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 HyperEVM Data APIs provide fast, accurate, and developer-friendly access to the essential onchain data you need.

### Supported APIs

<Columns cols={2}>
  <Card title="Foundational API" icon="https://mintcdn.com/goldrush/HCWRKGncxpy71D8p/images/icons/foundational.svg?fit=max&auto=format&n=HCWRKGncxpy71D8p&q=85&s=8a0b97060449218c1b477fe1fffc8a92" href="/docs/goldrush-foundational-api" cta="Read docs" width="24" height="24" data-path="images/icons/foundational.svg">
    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.<br /><br />
    <b>Use cases: Wallets, portfolio trackers, crypto accounting & tax tools, and DeFi dashboards.</b>
  </Card>

  <Card title="JSON-RPC" icon="server" href="/docs/goldrush-json-rpc/overview" cta="Read docs">
    Low-latency EVM JSON-RPC with global failover and archive depth.
    Point your existing tooling at the GoldRush endpoint — no code changes required.<br /><br />
    <b>Use cases: dApps, wallets, indexers, bots, and trading infrastructure.</b>
  </Card>
</Columns>

## Mainnet

| Property             | Value                                            |
| -------------------- | ------------------------------------------------ |
| **Chain Name**       | `hyperevm-mainnet`                               |
| **Chain ID**         | `999`                                            |
| **Network Type**     | Frontier Chain                                   |
| **Support Level**    | frontier                                         |
| **Block Explorer**   | [HyperEVM Explorer](https://hyperevmscan.io/)    |
| **Official Website** | [HyperEVM Website](https://hyperfoundation.org/) |
| **Native Gas Token** | HYPE                                             |

<Mainnet />

## API Usage

To use this blockchain network in GoldRush API calls, use:

#### Chain Name

* `hyperevm-mainnet` (mainnet)

#### Example API Calls

<CodeGroup>
  ```bash Chain Name (Mainnet) theme={null}
  curl -X GET "https://api.covalenthq.com/v1/hyperevm-mainnet/address/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/balances_v2/?key=<GOLDRUSH_API_KEY>"
  ```
</CodeGroup>

#### SDK Usage

<CodeGroup>
  ```typescript TypeScript SDK (Mainnet) theme={null}
  import { GoldRushClient } from "@covalenthq/client-sdk";

  const client = new GoldRushClient("<GOLDRUSH_API_KEY>");
  const resp = await client.BalanceService.getTokenBalancesForWalletAddress({
      chainName: "hyperevm-mainnet",
      walletAddress: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  });
  ```
</CodeGroup>

## Foundational API Support

This chain supports **22**  GoldRush Foundational APIs:

#### Wallet API

* **[Get token balances for address on HyperEVM](/docs/api-reference/foundational-api/balances/get-token-balances-for-address/)**
* **[Get native token balance for address on HyperEVM](/docs/api-reference/foundational-api/balances/get-native-token-balance/)**
* **[Get historical portfolio value over time on HyperEVM](/docs/api-reference/foundational-api/balances/get-historical-portfolio-value-over-time/)**
* **[Get ERC20 token transfers for address on HyperEVM](/docs/api-reference/foundational-api/balances/get-erc20-token-transfers-for-address/)**

#### Pricing API

* **[Get historical token prices on HyperEVM](/docs/api-reference/foundational-api/utility/get-historical-token-prices/)**

#### Security API

* **[Get token approvals for address on HyperEVM](/docs/api-reference/foundational-api/security/get-token-approvals-for-address/)**

#### Transactions API

* **[Get a transaction on HyperEVM](/docs/api-reference/foundational-api/transactions/get-a-transaction/)**
* **[Get transaction summary for address on HyperEVM](/docs/api-reference/foundational-api/transactions/get-transaction-summary-for-address/)**
* **[Get earliest transactions for address (v3)  on HyperEVM](/docs/api-reference/foundational-api/transactions/get-earliest-transactions-for-address-v3/)**
* **[Get recent transactions for address (v3) on HyperEVM](/docs/api-reference/foundational-api/transactions/get-recent-transactions-for-address-v3/)**
* **[Get paginated transactions for address (v3) on HyperEVM](/docs/api-reference/foundational-api/transactions/get-paginated-transactions-for-address-v3/)**
* **[Get bulk time bucket transactions for address (v3) on HyperEVM](/docs/api-reference/foundational-api/transactions/get-time-bucket-transactions-for-address-v3/)**
* **[Get all transactions in a block (v3) on HyperEVM](/docs/api-reference/foundational-api/transactions/get-all-transactions-in-a-block/)**
* **[Get all transactions in a block by page (v3)  on HyperEVM](/docs/api-reference/foundational-api/transactions/get-all-transactions-in-a-block-by-page/)**

#### Block Explorer API

* **[Get a block on HyperEVM](/docs/api-reference/foundational-api/utility/get-a-block/)**
* **[Get all chain statuses on HyperEVM](/docs/api-reference/foundational-api/utility/get-all-chain-statuses/)**
* **[Get all chains on HyperEVM](/docs/api-reference/foundational-api/utility/get-all-chains/)**
* **[Get block heights on HyperEVM](/docs/api-reference/foundational-api/utility/get-block-heights/)**
* **[Get gas prices on HyperEVM](/docs/api-reference/foundational-api/utility/get-gas-prices/)**
* **[Get log events by contract address on HyperEVM](/docs/api-reference/foundational-api/utility/get-log-events-by-contract-address/)**
* **[Get log events by topic hash(es) on HyperEVM](/docs/api-reference/foundational-api/utility/get-log-events-by-topic-hash/)**
* **[Get logs on HyperEVM](/docs/api-reference/foundational-api/utility/get-logs/)**

## JSON-RPC

HyperEVM 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 standard `eth_*`, `net_*`, `web3_*`, `debug_*`, and `trace_*` methods are supported.

#### Endpoint

```
https://rpc.goldrushdata.com/v1/hyperevm-mainnet
```

#### Example JSON-RPC Calls

<CodeGroup>
  ```bash eth_blockNumber theme={null}
  curl https://rpc.goldrushdata.com/v1/hyperevm-mainnet \
    -H "Authorization: Bearer <GOLDRUSH_API_KEY>" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
  ```

  ```bash eth_getBalance theme={null}
  curl https://rpc.goldrushdata.com/v1/hyperevm-mainnet \
    -H "Authorization: Bearer <GOLDRUSH_API_KEY>" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","id":1,"method":"eth_getBalance","params":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","latest"]}'
  ```
</CodeGroup>

#### Sample Methods

* **[eth\_blockNumber on HyperEVM](/docs/api-reference/json-rpc/hyperevm/eth-blocknumber)**
* **[eth\_getBalance on HyperEVM](/docs/api-reference/json-rpc/hyperevm/eth-getbalance)**
* **[eth\_call on HyperEVM](/docs/api-reference/json-rpc/hyperevm/eth-call)**
* **[eth\_getLogs on HyperEVM](/docs/api-reference/json-rpc/hyperevm/eth-getlogs)**
* **[eth\_getTransactionReceipt on HyperEVM](/docs/api-reference/json-rpc/hyperevm/eth-gettransactionreceipt)**

See the [full method list and per-method examples for HyperEVM](/docs/api-reference/json-rpc/chains/hyperevm).

## Additional Resources

* [GoldRush API Documentation](https://goldrush.dev/docs/)
* [Supported Chains List](https://goldrush.dev/chains/)
* [API Reference](https://goldrush.dev/docs/api-reference/)
