Zec Get Treestate
zec_get_treestateZcash shielded commitment-tree state: the Sapling, Orchard and Ironwood anchor roots at a given block. When to use: shielded-pool depth - how the shielded sets advance over time, or the anchor a wallet or prover needs to recognise. Do not use: for pool supplies (zec_get_pool_status) or a transaction (zec_get_transaction). Returns: block_hash, height, time, pools{sapling, orchard, ironwood}{final_root, final_state}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | No | Block height instead of a hash | |
| block_hash | No | 64 hex block hash |