Dash (DASH)

Method: POST verifychain


POST verifychain

Verifies each entry in the local block chain database.


Check Level - number (int)


How thoroughly to check each block, from 0 to 4.

Default is the level set with the -checklevel command line argument; if that isn't set, the default is 3.

Levels are:

- 0. Read from disk to ensure the files are accessible

- 1. Ensure each block is valid

- 2. Make sure undo files can be read from disk and are in a valid format

- 3. Test each block undo to ensure it results in correct state

- 4. After undoing blocks, reconnect them to ensure they reconnect correctly

Number Of Blocks - number (int)


The number of blocks to verify. Set to 0 to check all blocks.

Defaults to the value of the -checkblocks command-line argument; if that isn't set, the default is 288.


curl --location --request POST 'https://dash.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "verifychain",
"params": [null, null],
"id": "getblock.io"}'


    "error": null,
    "id": "getblock.io",
    "result": true