For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getdifficulty

getdifficulty operations.

getdifficulty

post

Returns the current difficulty as a multiple of the minimum difficulty (lowest possible difficulty on the network). This is a relative measure of how difficult it is to find a new block.

Authorizations
api-keystringRequired

NOWNodes API key passed in the api-key header.

Body

Request payload containing the documented method parameters and client request identifier.

jsonrpcstringRequired

JSON-RPC protocol version.

Example: 1.0
idstringRequired

Client-provided request identifier echoed in the response.

Example: curltest
methodstring · enumRequired

JSON-RPC method name.

Example: getdifficultyPossible values:
paramsarrayRequired

This method takes no parameters.

Responses
200

Difficulty value returned successfully

application/json

Object containing getdifficulty response details.

resultinteger · int64 · nullableRequired

Current proof-of-work difficulty for the active Bitcoin chain.

Example: 1
errorone of · nullableRequired

JSON-RPC error object or null on success.

or
stringOptional

JSON-RPC error object. Null when the request succeeds.

Example: {"code":-28,"message":"Service temporarily unavailable"}
idone of · nullableRequired

Request id echoed by the server.

stringOptional

Client-provided request identifier echoed in the response.

Example: curltest
or
integerOptional

Client-provided request identifier echoed in the response.

Example: curltest
Other propertiesanyOptional
post/

Last updated