> For a complete page index, fetch https://docs.conduit.xyz/llms.txt # debug_getBadBlocks POST https://rpc.plume.org/YOUR_API_KEY **Availability:** Access to the `debug` namespace depends on your endpoint's method allowlist. Starting **August 4, 2026 at 12:00 PM PST**, all `debug_*` methods require an API key appended to the RPC URL — unauthenticated calls are rejected. If you receive `-32601 method not found` or `method not supported` errors, contact Conduit support to confirm your endpoint's configuration. Returns a list of the last 'bad blocks' that the client has seen on the network. Bad blocks are blocks that have been rejected by the client due to validation errors. The exact field set varies by client; the response generally includes the block hash, the decoded block object, and the RLP-encoded block. ⚡ Compute Units: [10 CU](https://docs.conduit.xyz/rpc-nodes/information/compute-units) Reference: https://docs.conduit.xyz/rpc-nodes/json-rpc-reference/debug-get-bad-blocks ## Response ### 200 Array of bad block objects - `list of DebugGetBadBlocksResultItems` ## Types ### DebugGetBadBlocksResultItems - `hash` (string, optional) — 32-byte hash of the bad block - `block` (Block, optional) — The decoded block object, matching the Block schema returned by eth_getBlockByNumber - `rlp` (string, optional) — The full RLP-encoded block, hex-encoded ### Block A block object. For finalized blocks, all listed required fields are populated; on pending blocks `number` and `hash` are null. - `parentHash` (string, required) — 32-byte hash of the parent block - `nonce` (string, required) — 8-byte value used in proof-of-work mining. On post-Merge chains (all Conduit rollups) this is always `"0x0000000000000000"` — the field is retained for header-shape backwards compatibility. - `sha3Uncles` (string, required) — SHA3 of the uncles data in the block - `logsBloom` (string, required) — Bloom filter for the logs of the block - `transactionsRoot` (string, required) — Root of the transaction trie - `stateRoot` (string, required) — Root of the final state trie - `receiptsRoot` (string, required) — Root of the receipts trie - `mixHash` (string, required) — 32-byte hash. Post-Merge this field carries the prevRandao value (the beacon chain randomness) rather than a proof-of-work mix hash. - `miner` (string, required) — 20-byte address of the beneficiary - `difficulty` (string, required) — Integer of the difficulty for this block - `extraData` (string, required) — Extra data field of this block - `size` (string, required) — Integer the size of this block in bytes - `gasLimit` (string, required) — Maximum gas allowed in this block - `gasUsed` (string, required) — Total gas used by all transactions in this block - `timestamp` (string, required) — Unix timestamp for when the block was collated - `transactions` (BlockTransactions, required) — Array of transaction objects or hashes - `uncles` (list of string, required) — Array of uncle hashes. Always empty on post-Merge chains (including all Conduit rollups), which no longer produce uncle blocks. - `number` (string, optional) — The block number, hex-encoded - `hash` (string, optional) — 32-byte block hash - `totalDifficulty` (string, optional) — Integer of the total difficulty of the chain until this block - `baseFeePerGas` (string, optional) — Base fee per gas in wei, hex-encoded. Introduced by EIP-1559 (London). Absent on pre-London blocks. - `withdrawals` (list of Withdrawal, optional) — Array of validator withdrawal objects. Introduced by EIP-4895 (Shanghai). Absent on pre-Shanghai blocks. - `withdrawalsRoot` (string, optional) — Root of the withdrawals trie. Introduced by EIP-4895 (Shanghai). Absent on pre-Shanghai blocks. - `blobGasUsed` (string, optional) — Total blob gas used by the transactions in this block, hex-encoded. Introduced by EIP-4844 (Cancun). Absent on pre-Cancun blocks. - `excessBlobGas` (string, optional) — Running total of blob gas consumed in excess of the target, used to compute the blob gas price, hex-encoded. Introduced by EIP-4844 (Cancun). Absent on pre-Cancun blocks. - `parentBeaconBlockRoot` (string, optional) — Parent beacon block root hash. Introduced by EIP-4788 (Cancun). Absent on pre-Cancun blocks. ### BlockTransactions Array of transaction objects or hashes ### Withdrawal A validator withdrawal object, as introduced by EIP-4895 (Shanghai) - `index` (string, required) — Monotonically increasing withdrawal index, hex-encoded - `validatorIndex` (string, required) — Index of the validator that generated the withdrawal, hex-encoded - `address` (string, required) — 20-byte recipient address for the withdrawn ether - `amount` (string, required) — Withdrawal amount in gwei, hex-encoded ## Examples **Response** ```json { "id": "1", "jsonrpc": "2.0", "result": [ { "block": { "difficulty": "0x1", "extraData": "0x00000000000000000000000000000000000000000000000000000000000000008c6a091f07e4ba3930f2f5fabbfc5b1c70986319096760ba200a6abc0d30e33c2d501702d1b58d7f75807bdbf981044557628611319121170b96466ec06bb3fd01", "gasLimit": "0xffffffffffff", "gasUsed": "0x1a488", "hash": "0x85c2edc1ca74b4863cab46ff6ed4df514a698aa7c29a9bce58742a33af07d7e6", "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "miner": "0x0000000000000000000000000000000000000000", "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "nonce": "0x0000000000000000", "number": "0xd", "parentHash": "0x544a2f7a4c8defc0d8da44aa0c0db7c36b56db2605c01ed266e919e936579d31", "receiptsRoot": "0xccd2d33763dc0ac3fe02d4ecbbcd7d2bdc6f57db635ba31007184679303721d7", "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", "size": "0x3a0", "stateRoot": "0x861ab7e868e3c23f84b7c4ed86b52a6a4f063633bc45ef29212c33459df84ea5", "timestamp": "0x5f5b6824", "transactions": [ { "blockHash": "0x85c2edc1ca74b4863cab46ff6ed4df514a698aa7c29a9bce58742a33af07d7e6", "blockNumber": "0xd", "from": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", "gas": "0x1a49e", "gasPrice": "0x3e8", "hash": "0xdd8cf045113754c306ba9ac8ac8786235e33bc5c087678084ef260a2a583f127", "input": "0x608060405234801561001057600080fd5b5060c78061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80636057361d146037578063b05784b8146062575b600080fd5b606060048036036020811015604b57600080fd5b8101908080359060200190929190505050607e565b005b60686088565b6040518082815260200191505060405180910390f35b8060008190555050565b6000805490509056fea26469706673582212208dea039245bf78c381278382d7056eef5083f7d243d8958817ef447e0a403bd064736f6c63430006060033", "nonce": "0x0", "r": "0xa7a15050302ca4b7d3842d35cdd3cbf25b2c48c0c37f96d78beb6a6a6bc4f1c7", "s": "0x130d29294b2b6a2b7e89f501eb27772f7abf37bfa28a1ce300daade975589fca", "to": null, "transactionIndex": "0x0", "v": "0xf9d", "value": "0x0" } ], "transactionsRoot": "0x02c387e001cbe2a8296bfa2e18afbc3480d0e49588b05556148b0bf7c17dec41", "uncles": [] }, "hash": "0x85c2edc1ca74b4863cab46ff6ed4df514a698aa7c29a9bce58742a33af07d7e6", "rlp": "0xf9039df9025ca0544a2f7a4c8defc0d8da44aa0c0db7c36b56db2605c01ed266e919e936579d31a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a0861ab7e868e3c23f84b7c4ed86b52a6a4f063633bc45ef29212c33459df84ea5a002c387e001cbe2a8296bfa2e18afbc3480d0e49588b05556148b0bf7c17dec41a0ccd2d33763dc0ac3fe02d4ecbbcd7d2bdc6f57db635ba31007184679303721d7b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010d86ffffffffffff8301a488845f5b6824b86100000000000000000000000000000000000000000000000000000000000000008c6a091f07e4ba3930f2f5fabbfc5b1c70986319096760ba200a6abc0d30e33c2d501702d1b58d7f75807bdbf981044557628611319121170b96466ec06bb3fd01a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f9013af90137808203e88301a49e8080b8e6608060405234801561001057600080fd5b5060c78061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80636057361d146037578063b05784b8146062575b600080fd5b606060048036036020811015604b57600080fd5b8101908080359060200190929190505050607e565b005b60686088565b6040518082815260200191505060405180910390f35b8060008190555050565b6000805490509056fea26469706673582212208dea039245bf78c381278382d7056eef5083f7d243d8958817ef447e0a403bd064736f6c63430006060033820f9da0a7a15050302ca4b7d3842d35cdd3cbf25b2c48c0c37f96d78beb6a6a6bc4f1c7a0130d29294b2b6a2b7e89f501eb27772f7abf37bfa28a1ce300daade975589fcac0" }, { "block": { "difficulty": "0x2", "extraData": "0x00000000000000000000000000000000000000000000000000000000000000004d04551bdd9ae08af1fd661e49d4ab662c98c532c7ec0e4656a27e4de7d330af578ab1e4f5e49e085ff1d78673c7388ed9ccf017fbe89e53066bfa4018142c0701", "gasLimit": "0xffffffffffff", "gasUsed": "0x1a4c9", "hash": "0x601a3ae9b6eceb2476d249e1cffe058ba3ff2c9c1b28b1ec7a0259fdd1d90121", "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "miner": "0x0000000000000000000000000000000000000000", "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "nonce": "0x0000000000000000", "number": "0x8", "parentHash": "0x98ae440cd7b904d842daa6c263608969a3c8ce6a9acd6bd1f99b394f5f28a207", "receiptsRoot": "0x2b5c77f6e7764d2468178fab7253346b9b8bb6a34b63946f6bdc2f5ad398bfc3", "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", "size": "0x3a0", "stateRoot": "0x140a9783291704223eb759e3a0db5471a520d349fc17ac2f77ff8582472e3bac", "timestamp": "0x5f5b6b80", "transactions": [ { "blockHash": "0x601a3ae9b6eceb2476d249e1cffe058ba3ff2c9c1b28b1ec7a0259fdd1d90121", "blockNumber": "0x8", "from": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", "gas": "0x1a4c9", "gasPrice": "0x3e8", "hash": "0x675e336a4281b29c619dfd4ccfbd2f930f3728b20caf9e0067284aa3224e6758", "input": "0x608060405234801561001057600080fd5b5060c78061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80636057361d146037578063b05784b8146062575b600080fd5b606060048036036020811015604b57600080fd5b8101908080359060200190929190505050607e565b005b60686088565b6040518082815260200191505060405180910390f35b8060008190555050565b6000805490509056fea26469706673582212208dea039245bf78c381278382d7056eef5083f7d243d8958817ef447e0a403bd064736f6c63430006060033", "nonce": "0x0", "r": "0x02e30624c0305e64812e1d9e325ba6e50410314634b008edcb50f45be71fa0d4", "s": "0x50e205faed23c219ba15610de2451d458cbd4221207b2168344cfc972a7973c0", "to": null, "transactionIndex": "0x0", "v": "0xf9d", "value": "0x0" } ], "transactionsRoot": "0x8ee998cc699a1f9310a1079458780b3ebee8756f96a0905f5224b89d0eb17486", "uncles": [] }, "hash": "0x601a3ae9b6eceb2476d249e1cffe058ba3ff2c9c1b28b1ec7a0259fdd1d90121", "rlp": "0xf9039df9025ca098ae440cd7b904d842daa6c263608969a3c8ce6a9acd6bd1f99b394f5f28a207a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a0140a9783291704223eb759e3a0db5471a520d349fc17ac2f77ff8582472e3baca08ee998cc699a1f9310a1079458780b3ebee8756f96a0905f5224b89d0eb17486a02b5c77f6e7764d2468178fab7253346b9b8bb6a34b63946f6bdc2f5ad398bfc3b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020886ffffffffffff8301a4c9845f5b6b80b86100000000000000000000000000000000000000000000000000000000000000004d04551bdd9ae08af1fd661e49d4ab662c98c532c7ec0e4656a27e4de7d330af578ab1e4f5e49e085ff1d78673c7388ed9ccf017fbe89e53066bfa4018142c0701a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f9013af90137808203e88301a4c98080b8e6608060405234801561001057600080fd5b5060c78061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80636057361d146037578063b05784b8146062575b600080fd5b606060048036036020811015604b57600080fd5b8101908080359060200190929190505050607e565b005b60686088565b6040518082815260200191505060405180910390f35b8060008190555050565b6000805490509056fea26469706673582212208dea039245bf78c381278382d7056eef5083f7d243d8958817ef447e0a403bd064736f6c63430006060033820f9da002e30624c0305e64812e1d9e325ba6e50410314634b008edcb50f45be71fa0d4a050e205faed23c219ba15610de2451d458cbd4221207b2168344cfc972a7973c0c0" } ] } ``` **SDK Code** ```python import requests url = "https://rpc.plume.org/YOUR_API_KEY" headers = {"Content-Type": "application/json"} response = requests.post(url, headers=headers) print(response.json()) ``` ```javascript const url = 'https://rpc.plume.org/YOUR_API_KEY'; const options = {method: 'POST', headers: {'Content-Type': 'application/json'}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://rpc.plume.org/YOUR_API_KEY" req, _ := http.NewRequest("POST", url, nil) req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://rpc.plume.org/YOUR_API_KEY") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["Content-Type"] = 'application/json' response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.post("https://rpc.plume.org/YOUR_API_KEY") .header("Content-Type", "application/json") .asString(); ``` ```php request('POST', 'https://rpc.plume.org/YOUR_API_KEY', [ 'headers' => [ 'Content-Type' => 'application/json', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://rpc.plume.org/YOUR_API_KEY"); var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Content-Type": "application/json"] let request = NSMutableURLRequest(url: NSURL(string: "https://rpc.plume.org/YOUR_API_KEY")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "POST" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```