Appearance
debug_printBlock
served · same as reth
A geth debug method that reth accepts and does not do. Cinder checks the parameters and returns null.
When to use
Do not use it with Cinder. It exists so that tools that call it get the answer of reth.
Example
bash
curl -s -X POST -H 'Content-Type: application/json' \
--data '{"jsonrpc": "2.0", "id": 1, "method": "debug_printBlock", "params": [26193069]}' \
http://127.0.0.1:8547json
{
"jsonrpc": "2.0",
"id": 1,
"method": "debug_printBlock",
"params": [
26193069
]
}Response
Live mainnet, block 26193069, 2026-10-14. Checked against reth 2.7: equal.
json
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}Parameters
| Name | Type | Required | Meaning |
|---|---|---|---|
params | as in geth | no | Cinder checks the types of the parameters as reth does, then ignores them. |
Returns
null.
Errors
| Code | Message | When |
|---|---|---|
| -32602 | Invalid params | A parameter has the wrong type or is missing. data has the text of reth. |
Compared with reth
The live example above gives the same answer on Cinder and on reth 2.7.
Schema (OpenRPC)
Parameter number: integer
json
{
"type": "integer",
"minimum": 0
}Result: Null
json
{
"title": "Null",
"type": "null"
}