dero_get_last_block_header
Retrieve the current block header metadata including hash, height, timestamp, and difficulty. Use this to access tip block information without full transaction data.
Instructions
Get the header of the current tip block via DERO.GetLastBlockHeader (no full block body).
When to call: when you need tip block metadata (hash, miner, timestamp, difficulty) without the transactions or miner_tx payload. PREFER dero_get_block when you need transactions or the miner_tx.
Input Requirements: none.
Output: { block_header: { hash, height, topoheight, timestamp, difficulty, ... } }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||