verifychain | Bitcoin

The verifychain method checks the integrity of the blockchain database on the node.


Get you own node endpoint today

Start 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.


  • 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.

Use case

The 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.

Try the verifychain RPC method yourself

Click Try It! to start a request and see the response here!