debug
debug_getRawReceipts
Returns the RLP-encoded transaction receipts for all transactions in a block.
Returns the RLP-encoded transaction receipts for all transactions in a block.
Parameters
| # | Type | Description |
|---|---|---|
| 1 | string | Block number as hex string. |
Returns
| Type | Description |
|---|---|
array | Array of hex-encoded RLP strings, one per transaction receipt in the block. |
Example
curl -s -X POST https://rpc.pulsechain.box \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "debug_getRawReceipts",
"params": ["0x100"],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": [
"0xf901a60182...",
"0xf9016b0182..."
]
}
TRY IT
Notes
- Each element in the array corresponds to a transaction receipt in block order.
- Receipts contain status, cumulative gas used, logs (events), and bloom filter data.
- An empty block returns an empty array
[]. - Use an RLP decoder to parse the raw data.
