Skip to main content
POST
debug_getBadBlocks
Arc API method that returns a list of invalid blocks that the node has encountered. Useful for debugging consensus or block validation issues.
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

  • none

Response

  • result — an array of bad block objects that the node has encountered. Each object contains the full block data and the reason it was rejected.

debug_getBadBlocks code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:debug_getBadBlocks
params
array

Response

200 - application/json

Returns the result of debug_getBadBlocks.

jsonrpc
string
id
integer
result
object[]
Last modified on August 3, 2026