> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# debug_getRawHeader

Returns an RLP-encoded header.

This method will use `80` [Compute Units](https://docs.validationcloud.io/nodeapi/about/billing.md).

***

## **Parameters**

`blockNumber` - Quantity (hex) | Tag - Required  - The block number as a string in hexadecimal format or latest

## **Returns**

`result` - The RLP encoded header

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xf9027aa0d98a06d970c2ac3804ce5a452e73a21eceeb31369cfe171534f12faf08a23a30a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142..."
}
```

```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://mainnet.xlayer.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"debug_getRawHeader","params":["0x4685f68"],"id":1}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.