Get Best Block Hash
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the hash of the best (most recent) block in the ONT blockchain. This method retrieves the hash of the block with the highest height in the current chain.
Body
application/json
jsonrpcstringrequiredThe JSON-RPC protocol version. Must be "2.0" for JSON-RPC 2.0 specification compliance.
methodstringrequiredThe RPC method name. For this operation, it must be "getbestblockhash".
paramsarrayrequiredAn array of method parameters. This method takes no parameters, so an empty array is required.
idintegerrequiredA unique identifier for the request, used to correlate the response with the request. This can be any integer value chosen by the client.
Response
200OK
Successful response containing the hash of the best block.