title | type |
---|---|
Verify |
core |
Verifies a specified string.
Parameter | Type | Required | Description |
---|---|---|---|
message or hash | String | Yes | Message or hash to be verified. |
publicKey | String | Yes | Public Key as Hex String. |
signature | String | Yes | Signature as Hex String. |
Error | Description |
---|---|
RPC_INVALID_PARAMS | Invalid Parameters are used. |
RPC_INTERNAL_ERROR | An unknown error occurred in the node. Please check the node log for details. |
- a JSON object with "OK" or "FAIL" string in result field.
{
"result": "OK",
"error": null,
"id": null
}