Skip to main content

debug_getBadBlocks RPC Method

Returns a list of the last bad blocks that the client has seen on the network.

Updated on
Oct 15, 2026

Parameters

This method does not accept any parameters

Returns

result
array

An array of bad block entries. Returns an empty array when the node has no bad blocks to report

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": []
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": []
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free