# net\_version - Polygon

**Parameters**

none

**Returns**

`String` - The current network id.

* `"0x1"`: Ethereum Mainnet
* `"0x3"`: Ropsten Testnet

**Request example**

{% tabs %}
{% tab title="Curl" %}

```bash
curl --location --request POST 'https://polygon.api.watchdata.io/node/jsonrpc?api_key=your_api_key' \
--header 'x-api-key: your_api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "method":"net_version",
    "params":[],
    "id":1
}'
```

{% endtab %}

{% tab title="Postman" %}

```http
URL: https://polygon.api.watchdata.io/node/jsonrpc?api_key=your_api_key
RequestType: POST
Body: 
{
    "jsonrpc":"2.0",
    "method":"net_version",
    "params":[],
    "id":1
}
```

{% endtab %}
{% endtabs %}

**Result**

```javascript
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "137"
}
```
