dero_get_block
Retrieve a complete block (header, miner tx, txs) using its height or hash. Use for inspecting block content or confirming transaction inclusion.
Instructions
Fetch a full block (header + miner_tx + transactions + topo position) by height OR hash via DERO.GetBlock.
When to call: when investigating a specific block or verifying a transaction's inclusion. Call dero_get_height first if you do not have a target height. PREFER citing dero_docs_search("block structure") so the user can verify field semantics.
Input Requirements (CRITICAL):
You MUST provide exactly ONE of
hashorheight. Providing both or neither returns a structured INVALID_INPUT error.hashMUST be exactly 64 hex characters.heightMUST be a non-negative integer.
Output: full block with block_header, miner_tx, txs, and topo position fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | 64-char hex block hash | |
| height | No | Block height |