80 Compute Units.
Parameters
blockNumber - Quantity (hex) | Tag - Required - The block number as a string in hexadecimal format or latest
Returns
result - The RLP encoded header
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
80 Compute Units.
blockNumber - Quantity (hex) | Tag - Required - The block number as a string in hexadecimal format or latest
result - The RLP encoded header
// Result
{
"jsonrpc": "2.0",
"result": "0xf90267a087190141975a957b1ba...",
"id": 1
}
curl https://mainnet.monad.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0", "method":"debug_getRawHeader","params":["latest"],"id":1}'
curl https://testnet.monad.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0", "method":"debug_getRawHeader","params":["latest"],"id":1}'