> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# net_version

Returns the current network id.

This method will use `10` [Compute Units](/nodeapi/about/billing.md).

***

## Reference: [Here](https://ethereum.org/en/developers/docs/apis/json-rpc/#net_version)

## **Parameters**

`None`

## **Returns**

`String` - The current network id.

Plasma Mainnet returns `9745`. The full list of network IDs is available at [chainlist.org](https://chainlist.org/).

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": "9745"
}
```

```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://mainnet.plasma.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"net_version","params":[],"id":0}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.