> For the complete documentation index, see [llms.txt](https://docs.u2u.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.u2u.xyz/services/rpc/ethereum-api-methods/net_version.md).

# net\_version

### **Parameters**

none

### **Returns**

`String` - The current network id.

* `"39"`: Unicorn Ultra Mainnet
* `"2484"`: Unicorn Ultra Testnet Nebulas

### **Example**

Request

```
curl https://rpc-mainnet.u2u.xyz \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"net_version","params":[],"id":67}'
```

Result

```javascript
{
  "id":67,
  "jsonrpc": "2.0",
  "result": "39"
}
```
