Tree Notes
Returns a paginated list of Stealth Pool Note records for a specific Merkle tree, ordered by insertion index ascending.
/v1/trees/{tree_index}/utxos segment. The records are V18 Stealth Pool Notes.Response Layouts
TheX-Response-Layout header controls how records are packed in the protobuf response:
- Row-oriented (default, omit header): each note is a self-contained
UtxoDataItem. Easy to iterate record by record. - Columnar (set header to
"columnar"): all fields across notes are packed into parallel arrays. Significantly smaller on the wire — preferred for data pipelines and bulk processing.
Pagination
Initialise withcursor = tree_index × 1,048,576. Each response includes a next_cursor field. Repeat requests using cursor = next_cursor until the response contains fewer records than limit.
Headers
Set to "columnar" to receive a UtxoColumnarResponse (struct-of-arrays).
Omit or use any other value for the default row-oriented UtxoResponse.
columnar Path Parameters
Zero-based index of the Merkle tree whose UTXOs to fetch.
x >= 0Query Parameters
Absolute index at which to start the current page (inclusive).
Defaults to tree_index * MAX_LEAVES_PER_TREE (first slot of the tree).
Values below the tree's start boundary are clamped up.
x >= 0Maximum records per page. Default: 1000. Maximum: 5000.
Passing 0 uses the default.
0 <= x <= 5000Response
UTXO records for the specified tree.
- Option 1
- Option 2
Protobuf UtxoResponse message -- row-oriented paginated UTXO response.
Returned by GET /v1/utxos and GET /v1/trees/{tree_index}/utxos when
X-Response-Layout is absent or set to any value other than "columnar".
Each UTXO is encoded as a self-contained UtxoDataItem sub-message.
Use next_cursor as the start (or cursor) parameter of the next
request to retrieve the following page.
Up to limit UTXO records in ascending absolute_index order.
true if additional records exist beyond this page.
true
Total number of matching records in the requested range across all pages.
5000
Inclusive lower bound of the absolute index range that was queried.
0
Absolute index to pass as start (or cursor) for the next page.
Absent when has_more is false.
1001
Inclusive upper bound of the absolute index range that was queried.
Absent when no explicit end (or tree boundary) was provided.
4999