Skip to main content
After sound run, HDP produces three core outputs:
  1. task_hash
  2. output_root
  3. mmr_metas
These values are designed for verification and settlement workflows. See also Verification model.

task_hash

task_hash uniquely identifies the computation for the module + public inputs. Formula:

output_root

output_root is a Merkle commitment over module results (retdata), using an OpenZeppelin StandardMerkleTree-style approach with double-hashed leaves. This lets consumers verify result inclusion against a compact root.

mmr_metas

mmr_metas contains metadata for header commitments used during verification.
  • Poseidon entries: (id, size, chain_id, root)
  • Keccak entries: (id, size, chain_id, root_low, root_high)

Output segment layout