debug_getRawReceipts
JSON-RPC method returns the raw receipt data for all transactions in a specific block. This method provides complete receipt information in raw encoded format for all transactions in a block, useful for bulk receipt processing and low-level blockchain analysis.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
- Block identifier (string, required): Block number, hash, or “latest”/“earliest”/“pending”
Response
The method returns an array of raw receipt data for all transactions in the specified block.Response structure
Raw receipts array:result
— Array of raw receipt data, one for each transaction in the block
Usage example
Basic implementation
Example request
Shell
Use cases
Thedebug_getRawReceipts
method is essential for applications that need to:
- Bulk receipt processing: Process large numbers of transaction receipts efficiently
- Data archival: Archive complete receipt data in raw format
- Analytics platforms: Build comprehensive blockchain analytics tools
- Compliance reporting: Generate detailed compliance and audit reports
- Performance analysis: Analyze transaction execution performance across blocks
- Custom parsing: Implement custom receipt parsing and validation logic
- Development tools: Build advanced blockchain development and debugging tools
- Academic research: Support detailed academic blockchain research
- Event log analysis: Analyze contract event logs across entire blocks
- Gas analysis: Perform detailed gas usage analysis across transactions
Body
application/json
JSON-RPC version
Available options:
2.0
The RPC method name
Available options:
debug_getRawReceipts
Parameters: [block identifier (block number, hash, or 'latest'/'earliest'/'pending')]
Request identifier