Ixian Documentation Welcome to Ixian Documentation Pages, here you can learn more about Ixian and how to get started quickly!

Verify Mining Solution

Checks the given solution against the block’s difficulty field to determine if it is valid.

Method: verifyminingsolution

Input parameters:

Parameter Type Required Description
nonce String Yes Nonce value which satisfies the difficulty.
blocknum Number Yes Solved block number.
diff Number Yes Difficulty value.

Errors:

Error Description
RPC_INVALID_PARAMETER One or more of the required parameters are missing.
RPC_INTERNAL_ERROR An unknown error occured in the node. Please check the node log for details.

Output:

Example:

GET http://localhost:8081/verifyminingsolution?nonce=ca82dacd91…6460d20b7b2a&blocknum=55&diff=18442206887586635022

{
    "result": true,
    "error": null,
    "id": null
}

Cookies Policy

To make this site work properly, we sometimes place small data files called cookies on your device. Most big websites do this too.