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

Getbestblockhash

getbestblockhash operations.

getbestblockhash

post

Returns the hash of the best block in the most-work fully-validated chain. The best block is the tip of the blockchain, representing the most recent block that has been validated and added to the chain.

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: getbestblockhashPossible values:
Responses
200

Valid response

application/json

Object containing getbestblockhash response details.

resultstring · nullableRequired

Method-specific result returned by getbestblockhash.

Example: 0000000000000000000160424415c96b888cc76a350b6f4218beef1caf1f71b3
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