The preciousblock RPC treats a block as if it were received before others with the same work. A later preciousblock call can override the effect of an earlier one. The effects of preciousblock are not retained across restarts.

Parameter #1—the block hash

Name Type Presence Description
Header Hash string (hex) Required
(exactly 1)
The hash of the block to mark as precious

Result—null or error on failure

Name Type Presence Description
result null Required
(exactly 1)
JSON null. The JSON-RPC error field will be set only if you entered an invalid block hash


pai-cli preciousblock 000000000000000001517a0bac70b8cd6f27ee\

Result (no output from pai-cli because result is set to null).