dero_get_block_header_by_topo_height
Retrieve a DERO block header using its topological height, the canonical ordering used by indexers. Use this when you need header data by topo position instead of consensus block height.
Instructions
Get a block header by topological height (canonical ordering) via DERO.GetBlockHeaderByTopoHeight.
When to call: when you need a header keyed by topo position rather than chain height. Topoheight is the canonical ordering used by DERO indexers; height is the consensus block height.
Input Requirements (CRITICAL):
topoheightMUST be a non-negative integer no greater than the current topoheight (call dero_get_info first if unsure).
Output: { block_header: { hash, height, topoheight, timestamp, ... } }.
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": {
"topoheight": "<topoheight>"
},
"name": "dero_get_block_header_by_topo_height"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topoheight | Yes | Topological height |