debug_getRawReceipts RPC Method

Retrieves all transaction receipts from a block in their raw EIP-2718 binary encoding.

Parameters#

stringrequired

Hex-encoded block number or a block tag: latest, safe, finalized, pending.

Result#

array - List of raw EIP-2718 binary-encoded receipt strings.

Code sample#

{
  "jsonrpc": "2.0",
  "method": "debug_getRawReceipts",
  "params": [
    "latest"
  ],
  "id": 1
}

Response#

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    "0xf90211..."
  ]
}
Try It