v3

latestOpenAPI 3.0.3raw.githubusercontent.com2026-04-10101545.6 KB
trees

Merkle tree metadata

Returns metadata for a specific Indexed Merkle Tree:

  • num_leaves -- current leaf count.
  • root -- current Poseidon root hash (raw bytes).
  • utxo_count -- UTXO records stored for this tree.

Always Protobuf -- responds with application/x-protobuf regardless of the Accept header.

Tree capacity: MAX_LEAVES_PER_TREE = 1,048,576 (depth-20 tree). Once full, the write service starts a new tree at the next sequential index.

get/v1/trees/{tree_index}

Path parameters

tree_indexinteger required

Zero-based index of the Merkle tree to query.

Response

Tree metadata retrieved successfully.