dero_get_block_header_by_hash
Retrieve a DERO block header by providing its 64-character hex hash. Use this when you have a block hash and need header details without the full block body.
Instructions
Get a block header by its 64-char hex hash via DERO.GetBlockHeaderByHash.
When to call: when you have a block hash (e.g. from a tx confirmation) and need its header without the full block body. PREFER dero_get_block when you also need the txs or miner_tx.
Input Requirements (CRITICAL):
hashMUST be exactly 64 hex characters (matches /^[0-9a-fA-F]{64}$/).
Output: { block_header: {...} }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hash": "<hash>"
},
"name": "dero_get_block_header_by_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Block top hash (hex) |