Skip to content

What the largest funds hold, as shares of their NAV

GET
/v1/beta-baskets/composition/

One row per fund among the largest, one entry per holding, each as a percentage of the fund’s NAV; holdings under min_share_pct are folded into other_pct.

Rate limit: 300 requests per minute per IP (scope explore).

  • None
min_share_pct
number

Holdings under this share of the fund’s NAV are folded into other_pct. Default 0.5. 400 outside [0, 100].

top
integer

How many funds, largest NAV first. Default 25, maximum 100. 400 outside [1, max] or on a non-integer.

One row per fund, its holdings as percentages of its NAV.

Media typeapplication/json
object
results
required

The top largest funds by NAV, descending.

Array<object>
object
hotkey
required
string
identity
required

The on-chain identity of the validator’s hotkey, else of its coldkey; null when neither has one.

object
name
required

The display name published on chain, or a label Taoswap curates for accounts such as exchange wallets.

string
nullable
url
required

Website.

string
nullable
github
required

Code repository URL.

string
nullable
image
required

Absolute URL of the logo Taoswap hosts when it has one, else the logo URL published on chain.

string
nullable
image_thumb
required

Absolute URL of image fit within 64 px, as WebP, for small renderings; null when image is not a raster logo Taoswap hosts (an SVG, an on-chain URL, empty) or its thumbnail is not written yet.

string
nullable
discord
required

Discord contact, as the account wrote it.

string
nullable
description
required

Free text describing the account, as published on chain.

string
nullable
additional
required

Free text the account added to its identity.

string
nullable
x_id
required

The X (Twitter) handle, without @. Curated by Taoswap, not on chain.

string
nullable
nav_tao
required

In TAO. The fund’s NAV: its holdings at what selling them would fetch after slippage.

number format: double
trading_frozen
required

Governance froze this fund’s swap_basket (runtime 464). Deposits, claims and dividends are unaffected.

boolean
holdings_count
required

Every holding, dust included.

integer
holdings
required

Descending share, holdings under min_share_pct left out.

Array<object>
object
netuid
required
integer
share_pct
required

Realizable value over the fund’s NAV.

number format: double
realizable_tao
required

In TAO. What the holding would fetch after slippage.

number format: double
alpha
required

In alpha, TAO on netuid 0. The alpha held on this subnet.

number format: double
other_pct
required

What the left-out holdings add up to.

number format: double
meta
required

The parameters applied, and the chain-wide rebalancing gates.

object
top
required

The top applied, 25 by default.

integer
min_share_pct
required

The min_share_pct applied, 0.5 by default.

number format: double
funds
required

Funds with a NAV, whatever top kept.

integer
as_of_block
required

The newest chain read among the funds served; null when there is none.

integer
nullable
basket_trading
required

The chain-wide swap_basket gates. Null until the sync has run on a runtime that has them (464).

object
enabled
required

BasketTradingEnabled: the network-wide switch. Off at launch.

boolean
concentration_cap_pct
required

No holding may exceed this share of NAV after a buy, so a traded fund spreads over at least ceil(100 / pct) holdings.

number format: double
daily_turnover_cap_pct
required

TAO a fund may push through its swaps per day, as a share of NAV.

number format: double
nullable
liquidity_cap_pct
required

Max share of a subnet’s alpha reserve one fund may hold after a buy.

number format: double
nullable
root_stake_unlock_blocks
required

Blocks a root stake is held after its last add, remove or claim.

integer
nullable
as_of_block
required

The block the hourly sync read these gates at.

integer

Example generated

{
"results": [
{
"hotkey": "example",
"identity": {
"name": "example",
"url": "example",
"github": "example",
"image": "example",
"image_thumb": "example",
"discord": "example",
"description": "example",
"additional": "example",
"x_id": "example"
},
"nav_tao": 1,
"trading_frozen": true,
"holdings_count": 1,
"holdings": [
{
"netuid": 1,
"share_pct": 1,
"realizable_tao": 1,
"alpha": 1
}
],
"other_pct": 1
}
],
"meta": {
"top": 1,
"min_share_pct": 1,
"funds": 1,
"as_of_block": 1,
"basket_trading": {
"enabled": true,
"concentration_cap_pct": 1,
"daily_turnover_cap_pct": 1,
"liquidity_cap_pct": 1,
"root_stake_unlock_blocks": 1,
"as_of_block": 1
}
}
}

A parameter failed its check, which message names. code is usually VALIDATION_ERROR.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleVALIDATIONERROR

VALIDATION_ERROR

{
"error": true,
"code": "VALIDATION_ERROR",
"message": "top must be an integer between 1 and 100",
"detail": null
}

Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleRATELIMITED

RATE_LIMITED

{
"error": true,
"code": "RATE_LIMITED",
"message": "Request was throttled",
"detail": {
"retry_after": 12
}
}
Retry-After
integer

Seconds before the next request is accepted.

QUERY_TIMEOUT: the query exceeded its budget. detail carries budget_ms, elapsed_ms, path and query.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleQUERYTIMEOUT

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"
}
}