dero_get_block_header_by_topo_height
Retrieve a DERO block header by topological height (canonical ordering) instead of chain height. Useful for indexers needing block data by topoheight.
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, ... } }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topoheight | Yes | Topological height |