debug_getRawHeader
Hyperliquid node API
debug_getRawHeader | Hyperliquid EVM
The debug_getRawHeader JSON-RPC method returns the raw header data for a specific block. Use it on Hyperliquid EVM via Chainstack.
POST
debug_getRawHeader
This method is available on Chainstack. Not all Hyperliquid methods are available on Chainstack, as the open-source node implementation does not support them yet — see Hyperliquid methods for the full availability breakdown.
debug_getRawHeader JSON-RPC method returns the raw header data for a specific block. This method provides the complete block header in its raw encoded format, useful for low-level blockchain analysis, debugging, and applications that need direct access to the block header’s binary representation.
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 the raw header data in hexadecimal format for the specified block.Response structure
Raw header data:result— Complete raw header data encoded in hexadecimal format
Usage example
Basic implementation
Example request
Shell
Use cases
Thedebug_getRawHeader method is essential for applications that need to:
- Low-level analysis: Perform direct analysis of block header binary data
- Protocol research: Research blockchain protocol details and header structure
- Custom parsing: Implement custom header parsing and validation logic
- Development tools: Build blockchain development and debugging tools
- Data archival: Archive raw blockchain data for historical analysis
- Cross-chain verification: Verify block headers across different blockchain systems
- Academic research: Support academic blockchain research projects
- Forensic analysis: Perform forensic investigation of blockchain data
- Compliance tools: Build regulatory compliance and auditing tools
- Testing frameworks: Create comprehensive blockchain testing suites
Body
application/json
JSON-RPC version
Available options:
2.0 The RPC method name
Available options:
debug_getRawHeader Parameters: [block identifier (block number, hash, or 'latest'/'earliest'/'pending')]
Request identifier
Last modified on May 18, 2026