debug_getRawReceipts - Robinhood

debug_getRawReceipts. Returns the RLP-encoded raw transaction receipts for a block.

debug_getRawReceipts - robinhood [Value: 20CU]
Returns the EIP-2718 binary-encoded transaction receipts for every transaction in a block
Use cases

Use cases

  • Bulk-export receipts for a block without re-deriving their binary encoding
  • Verify a block's receipts root against independently computed receipt bytes
  • Feed raw receipt data into custom indexers or analytics pipelines
Constraints

Constraints

  • Requires an archive node for blocks other than recent ones
  • Returns raw bytes per receipt, not decoded receipt objects
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://lb.drpc.live/robinhood/{API-KEY} \
-X POST \
-H "Content-Type: application/json" \
-d '{"method":"debug_getRawReceipts",
    "params":["latest"],
    "id":1,
    "jsonrpc":"2.0"}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    "0xf901a60182c70eb90100000000000000000000000000000000000000000000000000000000000000...",
    "0xf901a70183018e1cb90100000000000000000000000000000000000000000000000000000000000000..."
  ]
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersarray
array
blockNumberstring
Block number in hex, or a block tag, to fetch raw receipts for.
  • latest [default] - The most recent block in the blockchain (default).
  • earliest - The first block, also known as the genesis block.
  • pending - Transactions that have been broadcast but not yet included in a block.

Response

200
An array of EIP-2718 binary-encoded receipts, as hexadecimal strings, one per transaction in the block

Response params

object
idinteger
jsonrpcstring
resultarray_of_strings
The EIP-2718 binary-encoded receipts, one per transaction in the block.