Skip to content

debug_getRawReceipts ​

served · same as reth

Returns the receipts of a block in their encoded form (EIP-2718).

When to use ​

Use it to get the exact bytes of the receipts, for example to check the receipts root.

Example ​

bash
curl -s -X POST -H 'Content-Type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "debug_getRawReceipts", "params": ["0x18facaa"]}' \
  http://127.0.0.1:8547
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "debug_getRawReceipts",
  "params": [
    "0x18facaa"
  ]
}

Response ​

Live mainnet, block 26193066, 2026-10-14. Checked against reth 2.7: equal.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    "0x02f9010801825208b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000... 138 more characters",
    "... 54 more items"
  ]
}

Full response

Parameters ​

NameTypeRequiredMeaning
blockblock number in hex, a tag, or a 32-byte block hash, see Block parameteryesThe block.

Returns ​

A list of encoded receipts as hex data, in transaction order. For a block below the first block of the node, the answer is the same as reth: an empty list if the block has no transactions, else the error -32001 block not found: 0x... (by hash, block not found: hash 0x...). pending gives -32001 block not found: pending, as in reth.

Errors ​

CodeMessageWhen
-32001block not found: 0x...The node does not have the block. For a hash, the text is block not found: hash 0x... (with requireCanonical, canonical hash).

Compared with reth ​

The live example above gives the same answer on Cinder and on reth 2.7.

eth_getBlockReceipts, debug_getRawBlock.

Schema (OpenRPC) ​

The official specification: debug_getRawReceipts in ethereum/execution-apis.

Parameter Block: Block number or Block tag
json
{
  "oneOf": [
    {
      "pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
      "title": "Block number",
      "type": "string"
    },
    {
      "description": "`earliest`: The lowest numbered block the client has available; `finalized`: The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination; `safe`: The most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions; `latest`: The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions; `pending`: A sample next block built by the client on top of `latest` and containing the set of transactions usually taken from local mempool. Before the merge transition is finalized, any call querying for `finalized` or `safe` block MUST be responded to with `-39001: Unknown block` error",
      "enum": [
        "earliest",
        "finalized",
        "safe",
        "latest",
        "pending"
      ],
      "title": "Block tag",
      "type": "string"
    }
  ],
  "title": "Block number or tag"
}
Result: string[]
json
{
  "items": {
    "pattern": "^0x[0-9a-f]*$",
    "title": "hex encoded bytes",
    "type": "string"
  },
  "title": "Receipt array",
  "type": "array"
}