POST
/
evm
net_version
curl --request POST \
  --url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "net_version",
  "params": [],
  "id": 1
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "999"
}
Returns the current network ID for the Hyperliquid EVM. Use this to identify which network the client is connected to.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

This method takes no parameters.

Returns

Returns the network ID as a string. For Hyperliquid mainnet, this is "999".

cURL example

curl -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"net_version","params":[],"id":1}' \
  https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm
Example response:
{"jsonrpc":"2.0","id":1,"result":"999"}

Use cases

  • Network verification — Confirm connection to Hyperliquid before transactions
  • Wallet configuration — Configure wallets to recognize Hyperliquid network
  • dApp development — Build network-aware decentralized applications
  • Multi-network support — Support multiple EVM networks with proper identification

Body

application/json

Response

200 - application/json

Successful response with network ID

The response is of type object.