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..."
]
}
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.
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..."
]
}
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.
result
— Array of raw receipt data, one for each transaction in the block// 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`);
});
});
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
debug_getRawReceipts
method is essential for applications that need to:
Successful response with raw receipts data
The response is of type object
.