debug_getRawReceipts
The debug_getRawReceipts method returns the RLP-encoded raw transaction receipt data for all transactions in a specified block. This provides the complete receipts in their binary encoded format as stored on the Kaia blockchain.
This method is valuable for verifying receipt data integrity, performing custom receipt parsing, analyzing gas consumption patterns across a block, and implementing custom blockchain indexing solutions. The RLP-encoded format allows developers to verify receipt roots, extract event logs in their raw form, validate receipt hashes, and build custom analytics without relying on the node's JSON serialization. This is particularly useful for blockchain explorers, analytics platforms, and applications that need to process large volumes of transaction data efficiently.
This method is available only on the full archive node.
Parameters
parameter | type | description |
|---|---|---|
blockParameter | string (required) | Block number in hexadecimal format (e.g., '0x10d4f') or block hash (32-byte hex string with 0x prefix), or one of the string tags: 'latest' for the most recent block, 'earliest' for the genesis block |
Return Object
field | type | description |
|---|---|---|
result | array | Array of RLP-encoded transaction receipts as hexadecimal strings. Each receipt contains status, cumulative gas used, logs bloom, and logs in their raw encoded format. The array order matches the transaction order in the block |
Request Example
Response Example