Returns metadata for a specific Indexed Merkle Tree: leaf count, current root hash, and UTXO record count.
The root hash changes every time a new leaf is inserted. Use this endpoint to check the current state of a tree before fetching UTXOs or generating Merkle proofs.Documentation Index
Fetch the complete documentation index at: https://sdk.umbraprivacy.com/llms.txt
Use this file to discover all available pages before exploring further.
utxo_count may differ from num_leaves if some leaves were inserted without UTXO ciphertext data (e.g. padding leaves).Zero-based index of the Merkle tree to query.
x >= 0Tree metadata retrieved successfully.
Protobuf TreeInfoResponse message returned by GET /v1/trees/{tree_index}.
The root field is a bytes field in the Protobuf encoding containing the
raw 32-byte little-endian Poseidon root hash.
Tree capacity: Each tree holds at most MAX_LEAVES_PER_TREE = 1,048,576
leaves (depth-20 Indexed Merkle Tree).
Zero-based index identifying the Merkle tree.
0
Total number of leaf commitments currently inserted into the tree.
1024
Raw 32-byte little-endian Poseidon root hash (Protobuf bytes field).
In a JSON representation this would be base64-encoded.
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
Number of UTXO records stored for this tree in the UTXO store.
1024