Xmr Get Block
xmr_get_blockOne Monero block header, by height or by block hash. When to use: confirming which block a transaction landed in, or inspecting reward, difficulty and weight of a block. Do not use: to list recent blocks (xmr_get_recent_blocks) or to look up a transaction (xmr_get_transaction). Returns: height, hash, prev_hash, timestamp, age_s, tx_count, reward_xmr, difficulty, block_weight, block_size_bytes, major_version / minor_version, orphan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | No | Block height | |
| block_hash | No | 64 hex chars; takes precedence over height |