| description | Returns the current network id. |
|---|
None
String - The current network id.
{% code overflow="wrap" %}
// Request
curl https://0g-galileo.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":83}'
// Result
{
"jsonrpc": "2.0",
"result": "16601",
"id": 1
}{% endcode %}