debug_getBadBlocks

The debug_getBadBlocks method returns a list of bad blocks that have been rejected by the client. This debugging method provides information about blocks that failed validation, helping developers and node operators identify network issues, consensus failures, or potential attacks. It's useful for troubleshooting synchronization problems and understanding why certain blocks were rejected by the Celo network.


Parameters

This method does not require any parameters.

Return Object

Returns an array of bad block objects containing block data and the reason for rejection.

Request Example
Request
Response Example
Response

Share on
Share on FacebookShare on XShare on LinkedIn
Did you find this page useful?