# getdifficulty

Returns the proof-of-work difficulty as a multiple of the minimum difficulty.

**Result**

| Name | Type    | Description                                                          |
| ---- | ------- | -------------------------------------------------------------------- |
| n    | numeric | the proof-of-work difficulty as a multiple of the minimum difficulty |

**Request**

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

```bash
curl --location --request POST 'https://btc.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": "1.0",
    "id": "curltest",
    "method": "getdifficulty",
    "params": []
}'
```

{% endtab %}

{% tab title="Postman" %}

```json
URL: https://btc.api.watchdata.io/node/jsonrpc?api_key=your_api_key
RequestType: POST
Body: 
{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getdifficulty",
    "params": []
}
```

{% endtab %}
{% endtabs %}

**Response**

```json
31251101365711.12
```
