verifychain
Bitcoin node API
verifychain | Bitcoin
The verifychain method checks the integrity of the blockchain database on the node. Available on Bitcoin via Chainstack JSON-RPC nodes.
POST
verifychain
The
verifychain method checks the integrity of the blockchain database on the node.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
check level(optional): An integer between 0 and 4 that determines the thoroughness of the verification process. The default level is 3.
Response
result— a boolean indicating whether the blockchain is valid.error— an object containing an error message if an error occurred, otherwisenull.id— an integer representing the ID of the request.
Use case
Theverifychain 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.Last modified on May 18, 2026