Skip to content

Every fund's holdings, folded per subnet

GET
/v1/beta-baskets/subnets/

Which subnets the beta baskets hold, one row per subnet: how many funds hold it, its share of each of them and its share of all basket value combined.

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

  • None

One row per subnet any fund holds.

Media typeapplication/json
object
results
required

Descending nav_pct.

Array<object>

One subnet across every fund that holds it.

object
netuid
required
integer
subnet_name
required

Null when the subnet has no name.

string
nullable
symbol
required

The subnet’s token symbol; null when the subnet is unknown.

string
nullable
funds
required

Funds holding the subnet with a non-zero realizable value.

integer
alpha
required

In alpha, TAO on netuid 0. Every fund’s holding of the subnet added up.

number format: double
realizable_tao
required

In TAO. What those holdings would fetch after slippage, added up.

number format: double
nav_pct
required

Share of every fund’s NAV combined: the NAV-weighted view.

number format: double
equal_pct
required

Average share of a fund, every fund with a NAV counting the same (non-holders count as 0).

number format: double
top_funds
required

The largest holders, by realizable value.

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
realizable_tao
required

In TAO. What this fund’s holding of the subnet would fetch after slippage.

number format: double
share_pct
required

What this subnet is of THAT fund’s NAV.

number format: double
meta
required

Totals over every fund with a NAV, and the chain-wide rebalancing gates.

object
funds
required

Funds with a NAV, the denominator of equal_pct.

integer
total_nav_tao
required

In TAO. Every fund’s NAV added up, the denominator of nav_pct.

number format: double
as_of_block
required

The newest chain read among the funds; null when no fund has a NAV.

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": [
{
"netuid": 1,
"subnet_name": "example",
"symbol": "example",
"funds": 1,
"alpha": 1,
"realizable_tao": 1,
"nav_pct": 1,
"equal_pct": 1,
"top_funds": [
{
"hotkey": "example",
"identity": {
"name": "example",
"url": "example",
"github": "example",
"image": "example",
"image_thumb": "example",
"discord": "example",
"description": "example",
"additional": "example",
"x_id": "example"
},
"realizable_tao": 1,
"share_pct": 1
}
]
}
],
"meta": {
"funds": 1,
"total_nav_tao": 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
}
}
}

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