Skip to main content

net_version RPC Method

Returns the current network id.

Updated on
Apr 09, 2025

Parameters

This method does not accept any parameters

Returns

result

The string value of current network id. Typical values are as follows:

999 - Hyperliquid mainnet
998 - Hyperliquid testnet
Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free