curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"method": "verifychain",
"params": [
3
],
"id": 1
}'
{
"result": true,
"error": {},
"id": 123
}
curl --request POST \
--url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"method": "verifychain",
"params": [
3
],
"id": 1
}'
{
"result": true,
"error": {},
"id": 123
}
verifychain
method checks the integrity of the blockchain database on the node.
check level
(optional): An integer between 0 and 4 that determines the thoroughness of the verification process. The default level is 3.result
— a boolean indicating whether the blockchain is valid.error
— an object containing an error message if an error occurred, otherwise null
.id
— an integer representing the ID of the request.verifychain
method is useful for node operators and developers who want to ensure the integrity and consistency of their blockchain data. It can be used as a diagnostic tool to detect issues within the blockchain database.The result of the blockchain verification
The response is of type object
.
Was this page helpful?