Ethereum
debug_getRawHeader25 crédits
Returns the RLP-encoded block header by number or tag (debug API).
Paramètres
| Nom | Type | Description |
|---|---|---|
| block | QUANTITY | TAG | Block number or tag. |
Valeur renvoyée
Type
DATA
RLP-encoded header.
Exemples de code
curl https://holy-burned-sky-ethereum-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "debug_getRawHeader",
"params": [
"latest"
]
}'