debug_getBadBlocks
The debug_getBadBlocks method returns a list of recently rejected blocks on the Flare network. This debugging method provides information about blocks that were received but rejected by the node due to validation failures, consensus issues, or other errors. It's useful for debugging network issues, analyzing fork situations, and understanding why certain blocks were not accepted by the network.
Parameters
This method does not require any parameters.
Return Object
Returns an array of bad block objects, each containing the block data and the reason for rejection.
Request Example
Request
Response Example
Response