curl --request POST \
--url https://nd-954-882-037.p2pify.com/66f812de2a6724a75a51f60dd6f2a154 \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_getRawReceipts",
"params": [
"latest"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
"<string>"
]
}curl --request POST \
--url https://nd-954-882-037.p2pify.com/66f812de2a6724a75a51f60dd6f2a154 \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_getRawReceipts",
"params": [
"latest"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
"<string>"
]
}arbtrace_* methods instead.quantity or tag — the block number in hex format or block tag (latest, earliest, pending, safe, finalized).result — an array of hex-encoded binary receipts, one per transaction in the block.debug_getRawReceipts code examplesconst ethers = require('ethers');
const NODE_URL = "YOUR_CHAINSTACK_ENDPOINT";
const provider = new ethers.JsonRpcProvider(NODE_URL);
const debugGetRawReceipts = async (block) => {
const result = await provider.send("debug_getRawReceipts", [block]);
console.log(result);
};
debugGetRawReceipts("latest");
debug_getRawReceipts method is useful for applications that need to process receipt data in its raw format. This is particularly valuable for building receipt proof systems, custom indexers that decode receipts directly from their binary encoding, and tools that need to verify receipt inclusion in the receipts trie.Was this page helpful?