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