debug_getRawHeader
Debug & Trace | Arbitrum
debug_getRawHeader | Arbitrum
Arbitrum API method that returns the RLP-encoded block header for a given block number or tag. Available on Arbitrum via Chainstack.
POST
debug_getRawHeader
Arbitrum API method that returns the RLP-encoded block header for a given block number or tag. UnlikeDocumentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
debug_getRawBlock, this method returns only the header without transaction data, making it more efficient when only header information is needed.
Learn how to deploy a node with the debug and trace API methods enabled.
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
quantity or tag— the block number in hex format or block tag (latest,earliest,pending,safe,finalized).
Response
data— the RLP-encoded block header as a hex string.
debug_getRawHeader code examples
Use case
Thedebug_getRawHeader method is useful when you need to inspect or verify block headers without the overhead of retrieving full block data. This is particularly valuable for light client implementations, header chain verification, and tools that need to extract specific header fields like the state root, receipts root, or gas used from the raw RLP encoding.Body
application/json
Last modified on May 18, 2026