POST
/
evm
debug_getRawReceipts
curl --request POST \
  --url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "debug_getRawReceipts",
  "params": [
    "latest"
  ],
  "id": 1
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    "0xf90111a0...",
    "0xf90112a1..."
  ]
}
The 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

  1. 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

// Get raw receipts for all transactions in a block
const getRawReceipts = async (blockIdentifier = 'latest') => {
  const response = await fetch('https://hyperliquid-mainnet.core.chainstack.com/YOUR_ENDPOINT/evm', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      jsonrpc: '2.0',
      method: 'debug_getRawReceipts',
      params: [blockIdentifier],
      id: 1
    })
  });
  
  const data = await response.json();
  return data.result;
};

// Usage
getRawReceipts('latest').then(receipts => {
  console.log(`Found ${receipts.length} receipts in block`);
  receipts.forEach((receipt, index) => {
    console.log(`Receipt ${index + 1} size: ${receipt.length / 2 - 1} bytes`);
  });
});

Example request

Shell
curl -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "debug_getRawReceipts",
    "params": [
      "latest"
    ],
    "id": 1
  }' \
  https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm

Use cases

The debug_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
This method provides efficient bulk access to raw receipt data for comprehensive blockchain analysis on the Hyperliquid EVM platform.

Body

application/json

Response

200 - application/json

Successful response with raw receipts data

The response is of type object.