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
Aug 07, 2024

Parameters

This method does not accept any parameters

Returns

result
array

A list of bad blocks seen on the network:

hash
string

The hash of the transaction

block
object

Metadata about the bad block entry

ReceivedAt
string

Timestamp when the bad block was received

ReceivedFrom
string | null

(Optional) Peer identifier that reported the bad block, or null when unknown

rlp
string

(Optional) The RLP encoded header

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free