Tree
Tree Root
The current Merkle root and leaf count of the on-chain note commitment tree.
Current Merkle root + leaf count.
A proof is only valid against the root it was built for. Read the root, build the proof,
and submit before the tree advances, or the vault rejects the spend with
StaleMerkleRoot (6004).Query Parameters
Which Merkle shard to read (0..num_trees-1). Default 0.
Response
Tree root snapshot.
Which Merkle shard this root is for (echoes the request's
?tree_id, default 0). Present under tree-sharding.
Current Merkle root of shard tree_id, hex-encoded. It should
equal finalized on-chain MerkleTree[tree_id].current_root.
Historical roots accepted through the on-chain 64-entry history
are not returned by this endpoint.
Leaf count of this shard.
Solana slot at which the TEE last synced this shard's mirror
from on-chain MerkleTree[tree_id].
Current Merkle root + leaf count.