Returns metadata for a specific Indexed Merkle Tree: leaf count, current root hash, and UTXO record count.
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