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
Curl
Postman
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": []
}'
URL: https://btc.api.watchdata.io/node/jsonrpc?api_key=your_api_key
RequestType: POST
Body:
{
"jsonrpc": "1.0",
"id": "curltest",
"method": "getdifficulty",
"params": []
}
Response
31251101365711.12
Last modified 1yr ago