One fund's rebalances, newest first
Each rebalance of the fund, newest first: the holding sold, the TAO that passed through the middle, the holding bought. Pages by page or, at any depth, by the after cursor; netuid keeps the rebalances of one subnet.
Rate limit: 300 requests per minute per IP (scope explore).
Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Validator hotkey SS58 address.
Query Parameters
Section titled “Query Parameters”The next_cursor of a previous page: reads the page after it at any depth, page ignored. 400 when malformed.
Only the rebalances with this subnet on either side, 0 being the fund’s TAO slot; total_count and the cursor follow the filter. 400 unless an integer from 0 to 65535.
1-based page number. Defaults to 1; an unparseable value falls back to it.
Rows per page. Default 50, clamped to [1, 200].
Responses
Section titled “Responses”One page of rebalances, newest first.
/v1/beta-baskets/{hotkey}/swaps/: newest first. pagination.next_cursor reads the next page at any depth.
object
This page’s rebalances, newest first.
One rebalance. Netuid 0 is the fund’s TAO cash slot: its amounts are TAO.
object
Block time; null when the block’s time is unknown.
With block, the extrinsic’s id {block}-{extrinsic_idx}.
The account that signed: the coldkey itself, or a proxy acting for it.
Proxied calls: whom it was submitted for. Null when the coldkey signed itself.
The subnet whose holding was sold.
Null when the subnet has no name.
The subnet whose holding was bought.
Null when the subnet has no name.
Origin alpha sold (TAO when the origin is netuid 0).
TAO between the two legs, what the fund’s daily turnover budget is charged.
Destination alpha credited after fees (TAO when the destination is netuid 0).
Where this page sits in the list, whether another follows, and the cursor that reads it.
object
The page served, counting from 1.
Rows per page, the requested size within the route’s bounds.
Exact number of matching rows, whether or not the pages can reach them all.
Rows the pages can reach: total_pages times page_size, capped at total_count. Below total_count only when the set runs deeper than the offset cap; read the rest through the cursor where the route offers one.
Clamped to the deepest page the API will serve (offset <= 10000).
Whether a next page exists within the deepest page served.
True past page 1.
Where the list offers a cursor form (/v2/subnets/{netuid}/?delegators=true, /v2/validators/{hotkey}/): the after= that reads the page after this one, null on the last page, and valid only under the sort, direction and grouping that issued it (a 400 otherwise). Absent on lists with no cursor form.
Example generated
{ "results": [ { "block": 1, "timestamp": "2026-04-15T12:00:00Z", "extrinsic_idx": 1, "signer": "example", "delegate_for": "example", "origin_netuid": 1, "origin_name": "example", "destination_netuid": 1, "destination_name": "example", "alpha_sold": 1, "tao_mid": 1, "alpha_bought": 1 } ], "pagination": { "page": 1, "page_size": 1, "total_count": 1, "reachable_count": 1, "total_pages": 1, "has_next": true, "has_previous": true, "next_cursor": "example" }}A parameter failed its check, which message names. code is usually VALIDATION_ERROR.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
VALIDATION_ERROR
{ "error": true, "code": "VALIDATION_ERROR", "message": "netuid must be an integer from 0 to 65535", "detail": null}RESOURCE_NOT_FOUND. Carries Cache-Control: public, max-age=15, short because a new block or extrinsic is indexed up to a minute late.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
RESOURCE_NOT_FOUND
{ "error": true, "code": "RESOURCE_NOT_FOUND", "message": "Not found", "detail": null}Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
RATE_LIMITED
{ "error": true, "code": "RATE_LIMITED", "message": "Request was throttled", "detail": { "retry_after": 12 }}Headers
Section titled “Headers”Seconds before the next request is accepted.
QUERY_TIMEOUT: the query exceeded its budget. detail carries budget_ms, elapsed_ms, path and query.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
QUERY_TIMEOUT
{ "error": true, "code": "QUERY_TIMEOUT", "message": "query exceeded the 12000 ms budget; retry, or narrow the requested range", "detail": { "budget_ms": 12000, "elapsed_ms": 12004, "path": "/trades/summary/", "query": "coldkey=5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY&resolution=day" }}