curl --request POST \ --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=1 \ --header 'content-type: application/json' \ --data '{ "id": 1, "jsonrpc": "2.0", "method": "debug_getBadBlocks", "params": [] }'
{ "jsonrpc": "2.0", "id": 1, "result": [ { "author": "0x0000000000000000000000000000000000000000", "difficulty": "0x0", "extraData": "0x", "gasLimit": "0x0", "gasUsed": "0x0", "hash": "0x27bfb37e507ce90da141307204b1c6ba24194380613590ac50ca4b1d7198ff65", "logsBloom": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...", "miner": "0x0000000000000000000000000000000000000000", "__truncated": true } ] }
Returns a list of the last “bad blocks” that the client has seen on the network.