debug_getRawHeader

Returns an RLP-encoded header.

Parameters

  • QUANTITY|TAG - Hex encoded integer block number, or the string "latest", "earliest" or "pending", see the default block parameter.
curl https://ethereum-mainnet-archive.allthatnode.com/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--request POST \
--header "Content-Type: application/json" \
--data '{
    "jsonrpc":"2.0",
    "id":1,
    "method":"debug_getRawHeader",
    "params":[
      "0xcfa7ec3fb3a184e8bed2533983cd46359b5c7a14becf6e6e267cdafe366955cf"
    ]
}'

Returns

  • DATA - RLP encoded header
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xf90237a00226cd7....ab31362bf"
}

Try Yourself

Language
Click Try It! to start a request and see the response here!