{"openapi":"3.1.0","info":{"title":"AMP dTAO API","description":"\nBittensor dTAO data -- subnets, pools, validators, wallets, stake movements and\nlimit orders -- indexed from finney by Amp and served from PostgreSQL (and, under\n`/flight/`, straight from Amp over Arrow Flight SQL).\n\n* **Method**: `GET` only.\n* **API key**: send it as the `x-api-key` header where the server requires one --\n  `401` without a valid key, `429` over your account's per-minute limit (all its\n  keys together; `Retry-After` says when to retry). Every answer to a key says\n  how close the account is: `X-RateLimit-Limit`, `X-RateLimit-Remaining` and\n  `X-RateLimit-Reset` (seconds until the minute's window ends), and on plans with\n  a monthly cap `X-RateLimit-Monthly-Limit`, `-Remaining` and `-Reset`.\n* **Addresses** are SS58 (`5...`) in and out.\n* **Amounts** are in TAO / alpha (rao / 1e9); `perU16` shares are 0..1.\n* **Paging**: lists take `limit` and `cursor`; pass the response's `next` as\n  `cursor` for the next page, until `next` is `null`.\n* **Freshness**: per-block data is cached about one block (`Cache-Control`,\n  `X-Cache: HIT | MISS | STALE | BYPASS`, `Age`); `X-Source-Block` (Amp's head) and\n  `X-Indexed-Block` (PostgreSQL's, when the answer was computed) say how far behind\n  the chain an answer is, `/meta/freshness` each table's watermark;\n  `Server-Timing: app;dur=<ms>` is the server's time.\n* **Compression**: send `Accept-Encoding: gzip`; responses over 1 KB are gzipped.\n* **Errors**: `404` nothing indexed for that key, `422` a bad parameter, `503` a\n  store is unavailable or a query ran out of time -- retry after `Retry-After`.\n","version":"1.0"},"paths":{"/pools":{"get":{"tags":["pools"],"summary":"List Subnets","description":"Every subnet on one row, best emission share first, for comparison.\nNarrower than `/pools/{netuid}` on purpose. Not paged: the chain caps the\nsubnet count. netuid 0 is root and has no pool, so it is not listed.\n\nTwo 24h volumes, which differ on purpose:\n`pool_volume_24h_tao` is market volume -- everything the pool swapped over\nthe last 7,200 blocks (the chain's SubnetVolume counter, MEV and stake moves\nthat swap included), the figure other explorers show.\n`volume_24h_tao` is what traders did -- user buys and sells, cross-subnet\nswap legs included, MEV sandwiches and same-subnet transfers excluded.\nIt runs at ~0.85x the pool figure overall (median 0.91x per subnet).","operationId":"list_subnets_pools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SubnetSummary"},"type":"array","title":"Response List Subnets Pools Get"}}}}}}},"/pools/{netuid}":{"get":{"tags":["pools"],"summary":"Get Subnet","description":"One subnet's pool in full: price, reserves, market cap, emission, volume\nand price change. The two 24h volumes are as on `/pools`:\n`pool_volume_24h_tao` is market volume (everything the pool swapped),\n`volume_24h_tao` user buys and sells only (~0.85x of it). 404 when the\nsubnet has no pool state, and for netuid 0: root has no pool (no price),\nas /pools leaves it out.","operationId":"get_subnet_pools__netuid__get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/flow":{"get":{"tags":["subnets"],"summary":"Get Flow","description":"Every subnet's trading over the last hour (300 blocks) and day (7,200\nblocks): TAO bought and sold and the net of the two, distinct buyers,\nsellers and traders, and trade counts. The trades are `/pools`'\n`volume_24h_tao`'s (MEV pairs and same-subnet stake transfers left out), so\n`buy_tao_24h + sell_tao_24h` is that volume over the same blocks.\n\nStored and refreshed every minute, so `block` is up to ~5 blocks behind\nthe newest; the windows end there. 503 when it has not been refreshed for\nover an hour, rather than an old hour passed off as the last one.","operationId":"get_flow_subnets_flow_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetFlowList"}}}},"503":{"description":"The stored flow is missing or stale"}}}},"/subnets/{netuid}/metagraph":{"get":{"tags":["subnets"],"summary":"Get Metagraph","description":"Every live uid of one subnet at its newest block, in uid order. Capped at\n256 uids by the chain, so there is no paging. `validator_trust` is null on a\nuid with no validator permit, where the chain's value carries no meaning.\n\n`role`: `owner` is the subnet owner's hotkey; `validator` a uid holding a\nvalidator permit; `miner` every other uid.\n\n`block` or `timestamp`: the metagraph at the newest epoch at or before that\npoint -- the scores change only at an epoch, so that is what the chain held\nthere -- with the uids, keys and role of that epoch. The epoch is the one\n/emissions picks for the same point, and so are the uids, keys, consensus,\nincentive, dividends and emission; `X-Epoch-Block` says which. The stake\ncolumns are null: only the current block's stake is kept. A uid\nre-registered between the epoch and its snapshot has its scores null, as\non /emissions. 422 with `history_from_block` below the 31 days retention\nkeeps, and for block and timestamp together; 404 before the first epoch.","operationId":"get_metagraph_subnets__netuid__metagraph_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"role","in":"query","required":false,"schema":{"anyOf":[{"enum":["owner","validator","miner"],"type":"string"},{"type":"null"}],"description":"only uids with this role; omit for all. Any other value is a 422","title":"Role"},"description":"only uids with this role; omit for all. Any other value is a 422"},{"name":"block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"a past block, within the last 31 days; omit for the newest","title":"Block"},"description":"a past block, within the last 31 days; omit for the newest"},{"name":"timestamp","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"or a past time, ISO 8601; UTC when no zone is given","title":"Timestamp"},"description":"or a past time, ISO 8601; UTC when no zone is given"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MetagraphRow"},"title":"Response Get Metagraph Subnets  Netuid  Metagraph Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/emissions":{"get":{"tags":["subnets"],"summary":"Get Emissions","description":"Every uid's consensus, incentive, dividends and emission (alpha per\nepoch) at a block or a timestamp, with the hotkey and coldkey holding\nthat uid then.\n\nThe values change only at an epoch, so they are the newest epoch at or\nbefore the point asked -- `epoch_block` says which -- and that is exactly\nwhat the chain held there. 404 before the export's first epoch; 422 with\n`history_from_block` below what retention keeps (31 days).","operationId":"get_emissions_subnets__netuid__emissions_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"omit, with timestamp, for the newest epoch","title":"Block"},"description":"omit, with timestamp, for the newest epoch"},{"name":"timestamp","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"ISO 8601; UTC when no zone is given","title":"Timestamp"},"description":"ISO 8601; UTC when no zone is given"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetEmissions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/limit-orders":{"get":{"tags":["subnets"],"summary":"Get Subnet Limit Orders","description":"Limit-order events on one subnet, newest first. Executions only: the\nchain puts `netuid` in OrderExecuted and nowhere else, so a cancelled or\nskipped order cannot be tied to a subnet.","operationId":"get_subnet_limit_orders_subnets__netuid__limit_orders_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_LimitOrder_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/prices":{"get":{"tags":["subnets"],"summary":"Get Prices","description":"Alpha price in TAO at every block of `[start_block, end_block]`, both\ninclusive, one page at a time. The price is the pool ratio SubnetTAO /\nSubnetAlphaIn, the same one `/pools/{netuid}` reports as `price_tao`.\n\nPages run newest to oldest, at most 100 rows each, oldest first inside a\npage (as /ohlcv pages); follow `next` for older blocks until it is null.\nWith neither bound the range is the newest 100 blocks -- one page. The\nresponse echoes the range it resolved. The range has no length limit --\neach page reads at most `limit` rows of it; a block the export has not\nreached yet is simply absent. Once retention has cut, `X-History-From-Block`\nis the first block PostgreSQL keeps; a range starting below it is read\nwhole from Amp over Flight, marked `X-Data-Source: flight`.","operationId":"get_prices_subnets__netuid__prices_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"default: 99 blocks before end_block (100 blocks)","title":"Start Block"},"description":"default: 99 blocks before end_block (100 blocks)"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"default: the subnet's latest block","title":"End Block"},"description":"default: the subnet's latest block"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first (newest)","title":"Cursor"},"description":"`next` from the previous page; omit for the first (newest)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"rows per page, at most 100","default":100,"title":"Limit"},"description":"rows per page, at most 100"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetPrices"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/ohlcv":{"get":{"tags":["subnets"],"summary":"Get Candles","description":"OHLCV candles of the alpha price in TAO, one page at a time.\n\nRange: a time range (`start`, `end`) or a block range (`start_block`,\n`end_block`), not both; either bound may be omitted. No range is\neverything exported. Newest to oldest throughout: a page holds at most\n`limit` candles (default 100; up to 1000 from 1h up, fewer under 1h, where\na page reads every block), newest first, and `next` leads to the older ones until it is\nnull. A block range clips its edge candles to the blocks inside it.\n\nOHLC is the pool's spot price at every block of the candle; volume is every\ntrade against the pool -- buys, sells and cross-subnet swap legs, stake\ntransfers excluded, MEV included -- in TAO and alpha.\nCandles align to UTC: days at 00:00, weeks on Monday. The newest candle is\nstill open.\n\nOlder than `X-History-From-Block` (set once retention has cut) PostgreSQL\nkeeps whole hours and minutes only: 1h and up is served from the hours,\nunder 1h from the minutes, a range edge inside one moving to its boundary.\nBoth go back to the dTAO launch. Under 1h a page wholly below the oldest\nstored minute is a 422 naming it.","operationId":"get_candles_subnets__netuid__ohlcv_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"interval","in":"query","required":false,"schema":{"enum":["1m","5m","15m","30m","1h","4h","1d","1w"],"type":"string","default":"1h","title":"Interval"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"time range start, ISO 8601, UTC when no zone","title":"Start"},"description":"time range start, ISO 8601, UTC when no zone"},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"time range end, exclusive","title":"End"},"description":"time range end, exclusive"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"block range start, inclusive","title":"Start Block"},"description":"block range start, inclusive"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"block range end, inclusive","title":"End Block"},"description":"block range end, inclusive"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page","title":"Cursor"},"description":"`next` from the previous page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"candles per page: at most 1000 from 1h up, under 1h 1000 (1m), 300 (5m), 200 (15m), 100 (30m)","default":100,"title":"Limit"},"description":"candles per page: at most 1000 from 1h up, under 1h 1000 (1m), 300 (5m), 200 (15m), 100 (30m)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetCandles"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/validators":{"get":{"tags":["subnets"],"summary":"Get Validators","description":"Validator yield table, best gross 7d APY first: every uid holder with a\nvalidator permit -- the subnet owner's hotkey too, `role` \"owner\" -- and\nevery parent routing stake to one -- the big operators hold no uid and\nvalidate through a child. `parents` and `children` give the childkey links;\na row with parents is such a child, and the rate its stakers get is the\nparents'. `parents` holds the largest 10 by proportion and `parents_total`\ncounts them all (page them with /validators/{hotkey}/parents?netuid=);\n`children` is whole, the chain allows at most 5. `all=true` adds hotkeys\nstill earning in the window that are neither.\n\nAPY: per-epoch dividend over stake, annualised simply (not compounded) as\nrate x 2,628,000 / tempo -- 2,628,000 = 7,200 blocks a day (12 s blocks) x\n365. `net_*` is after the validator's take, `gross_*` before it. Alpha APY\nis alpha earned per alpha staked; root APY is TAO per TAO, the alpha root\ndividend valued at the subnet's price at each epoch.\n\nEach window (1h, 1d, 7d, 30d = 300, 7,200, 50,400, 216,000 blocks) counts\nback from the subnet's newest epoch and averages over every epoch the\nsubnet ran in it, an epoch the validator earned nothing in counting as 0\n(taostats' convention). `epochs_30d` below the subnet's own count -- 2,182\non SN1 (tempo 99), 600 at tempo 360 -- means the validator was not in all\nof them, and its APY is scaled down by that share. Null: the subnet stopped\npaying dividends, or average stake under 1 alpha / 1 TAO.\n\nnetuid 0 (root): every hotkey with a root rate, largest root stake first.\nRoot stake earns on every subnet at once, so its root APY is the sum of its\nroot APY on each, every subnet annualised by its own tempo. Only the root\nfields are filled -- `direct_root_live`, `inherited_root`, `take_pct`,\n`*_root_apy_*` -- and it is recomputed every 10 minutes, not per block. No\nuid or permit is tracked on root: `permit=true` returns nothing.","operationId":"get_validators_subnets__netuid__validators_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"permit","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Permit"}},{"name":"all","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"All"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Validator"},"title":"Response Get Validators Subnets  Netuid  Validators Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/validators/apy":{"get":{"tags":["subnets"],"summary":"Get Validators Apy","description":"Validator APY over a long window, best gross alpha APY first: every\nhotkey that earned dividends in it. The 1h-30d windows are on\n/subnets/{netuid}/validators.\n\nFrom per-day sums of the epoch dividends (validator_yield_daily), and\nannualised by time rather than by tempo, which can change over a year:\nreturn over the window x 2,628,000 blocks (365 days) / its length, simple.\nEpochs a validator missed count as 0, as on the short windows. The window\nends at the subnet's newest read epoch and starts a year back (`1y`), at\nthe subnet's current registration, or where the indexed history begins,\nwhichever is latest -- `since_block` says which; with less than a year of\ndata `1y` equals `all`. Null on dust (average stake under 1 alpha / 1 TAO);\n`all=true` keeps those rows.\n\nnetuid 0 (root): each hotkey's root yield over every subnet -- each subnet's\nroot return over its own window, summed and annualised over the longest of\nthem, so a subnet younger than the window adds only the days it existed --\nwith its root stake now; largest root stake first, recomputed hourly.","operationId":"get_validators_apy_subnets__netuid__validators_apy_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"window","in":"query","required":false,"schema":{"enum":["1y","all"],"type":"string","description":"1y: the last 365 days; all: since the subnet's registration","default":"1y","title":"Window"},"description":"1y: the last 365 days; all: since the subnet's registration"},{"name":"all","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"All"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidatorsLongApy"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/holders":{"get":{"tags":["subnets"],"summary":"Get Holders","description":"Coldkeys holding alpha on the subnet, largest first, live from\nwallet_balance -- every staked coldkey: the sync walks the chain's maps once\nfor those the export never saw trade. /subnets/{netuid}/holder-stats counts\nthem by role.","operationId":"get_holders_subnets__netuid__holders_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Holder_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/slippage":{"get":{"tags":["subnets"],"summary":"Get Swap Quote","description":"What a swap of `amount` would return on the subnet's pool now, and its\nslippage against the spot price -- taostats' /api/dtao/slippage/v1.\n\nThe pool is a weighted Balancer pool with a fee, so reserves alone do not\ngive the output: this applies the chain's own pool math to the reserves,\nweight and fee rate at the pool's newest block, and matches the chain's\nswap simulation to the rao.\n\n`output_amount` and `slippage_pct` are net of the pool fee (`fee_rate_pct`,\n0.0504% on every subnet today): slippage here is fee plus price impact, so\nit is never below the fee -- 0.001 TAO into SN64 reads 0.0503%. `fee` is\nthat fee in the input token.","operationId":"get_swap_quote_subnets__netuid__slippage_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"amount","in":"query","required":true,"schema":{"type":"number","maximum":21000000,"exclusiveMinimum":0,"description":"what goes in: TAO for tao_to_alpha, alpha for alpha_to_tao","title":"Amount"},"description":"what goes in: TAO for tao_to_alpha, alpha for alpha_to_tao"},{"name":"direction","in":"query","required":true,"schema":{"enum":["tao_to_alpha","alpha_to_tao"],"type":"string","title":"Direction"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapQuote"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/trades":{"get":{"tags":["subnets"],"summary":"Get Trades","description":"Every trade against the subnet's pool, newest first: buys and sells, and\nthe legs of cross-subnet stake swaps (`kind` = `swap`), which trade against\nthis pool just the same. Transfers between hotkeys or coldkeys are not\ntrades and are in `/subnets/{netuid}/transfers`. Both legs of a detected MEV\npair are included, flagged `mev`; `include_mev=false` leaves them out, and\nthe rest are the trades /pools' `volume_24h_tao` counts.","operationId":"get_trades_subnets__netuid__trades_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["trade","swap"],"type":"string"},{"type":"null"}],"description":"`trade` for buys and sells only, `swap` for cross-subnet swap legs only; omit for both","title":"Kind"},"description":"`trade` for buys and sells only, `swap` for cross-subnet swap legs only; omit for both"},{"name":"include_mev","in":"query","required":false,"schema":{"type":"boolean","description":"both legs of every detected MEV pair are returned, flagged `mev`; `false` leaves them out","default":true,"title":"Include Mev"},"description":"both legs of every detected MEV pair are returned, flagged `mev`; `false` leaves them out"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Trade_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/transfers":{"get":{"tags":["subnets"],"summary":"Get Transfers","description":"Stake movements touching the subnet on either side, newest first, labelled\nby what changed. Without `kind`: internal + external; cross_subnet_swap only\nwhen named. /stake-movements has the same rows under the chain's event names.\n\n`kind`, from the two sides of the movement, first match wins:\n`external` the coldkey changed (stake given to another wallet, whatever\nelse changed); `internal` same coldkey, same subnet (moved to another\nhotkey -- never touches the pool); `cross_subnet_swap` same coldkey,\nanother subnet (unstaked on one pool, staked on the other).\n\nPaged by whole blocks: the cursor is a block number, and a page can run over\n`limit` by the rest of its last block. The old `block:extrinsic` cursor\ndropped rows that shared one -- 1,530 of 3,317 do.\n\n`tao_amount` is TAO: the chain reports every stake movement in TAO. This\nfield was `alpha_amount` until that was found.","operationId":"get_transfers_subnets__netuid__transfers_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["internal","external","cross_subnet_swap"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Transfer_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/events":{"get":{"tags":["subnets"],"summary":"Get Subnet Events","description":"Subnet registrations and dissolves on every netuid, newest first.\n\n`removed` is NetworkRemoved: the subnet is deregistered and its stakers\nare paid back in TAO until `cleanup_block` (`refunded_tao`,\n`refunded_wallets`). `registered` is NetworkRegisteredAt: the subnet now\non the netuid. Before spec 432 the two land in one block; since, the new\nsubnet registers at the cleanup block, ~25 blocks after the removal (a\nremoval the runtime made alone can leave the netuid empty a while).\n\nBoth kinds carry every field; one that belongs to the other kind is null.\nOtherwise null means the value predates its source: `time` before dTAO\n(block 4,920,351), the owner before block 9,135,450, `refunded_*` before\nspec 411 (block 8,283,784); `replaces_removed_block` is null for a\nnetuid's first subnet. Each field's description says which.","operationId":"get_subnet_events_subnets_events_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["registered","removed"],"type":"string"},{"type":"null"}],"description":"`registered` or `removed` only; omit for both","title":"Kind"},"description":"`registered` or `removed` only; omit for both"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_SubnetEvent_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/events":{"get":{"tags":["subnets"],"summary":"Get Subnet Events One","description":"`/subnets/events` for one netuid: every subnet that held it. A netuid\nnever freed has one event, its first registration -- SN1's, at block\n1,497,824, is from before dTAO and before the uid history, so its `time`\nand owner are null along with the removal-only fields.","operationId":"get_subnet_events_one_subnets__netuid__events_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["registered","removed"],"type":"string"},{"type":"null"}],"description":"`registered` or `removed` only; omit for both","title":"Kind"},"description":"`registered` or `removed` only; omit for both"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_SubnetEvent_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/registration":{"get":{"tags":["subnets"],"summary":"Get Registration","description":"Whether and at what cost a subnet can be registered: the lock cost at\nthe newest block, the last registration, the block the next window opens,\nand the cost expected then.\n\nThe cost is the runtime's own formula: twice the last lock right after a\nregistration, falling by `last lock / lock_reduction_interval_blocks` a\nblock down to `min_lock_cost_tao`. A window opens `rate_limit_blocks`\nafter the last registration, and a registration at that block pays 1.25x\nthe last lock (10,800 / 14,400 of the way down, on 2026-11-25). The\nparameters are read from the chain every ~30 s (`as_of_block`) and the\ncost carried forward to `block`; 503 when they have not been read for ten\nminutes.","operationId":"get_registration_subnets_registration_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkRegistrationReadiness"}}}},"503":{"description":"The registration parameters are missing or stale"}}}},"/subnets/registration/attempts":{"get":{"tags":["subnets"],"summary":"Get Registration Attempts","description":"Every register_network call since dTAO (block 4,920,351), failed ones\nincluded, newest first: block, position in the block, signer, the\naccount it ran as, and how it ended.\n\nA call made through Proxy.proxy or a Utility batch is its own row, with\n`call_path` and `wrappers` saying where it sat; since ~block 9.48M every\nwinner came that way, among hundreds of attempts in the block the window\nopened. Most attempts fail with `SubtensorModule.NetworkTxRateLimitExceeded`:\nsent before the window. A transaction still waiting in a node's pool is not\nhere -- only what is in a block.","operationId":"get_registration_attempts_subnets_registration_attempts_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"coldkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58; the account the call ran as, a proxy's real account or a multisig's","title":"Coldkey"},"description":"SS58; the account the call ran as, a proxy's real account or a multisig's"},{"name":"signer","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58; the extrinsic's signer","title":"Signer"},"description":"SS58; the extrinsic's signer"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["ok","failed"],"type":"string"},{"type":"null"}],"description":"omit for every attempt","title":"Status"},"description":"omit for every attempt"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_NetworkRegistrationAttempt_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/trades":{"get":{"tags":["subnets"],"summary":"Get All Trades","description":"`/subnets/{netuid}/trades` without the netuid: the newest trades on\nevery subnet. Same rows, cursor, `kind` and `include_mev`.","operationId":"get_all_trades_subnets_trades_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["trade","swap"],"type":"string"},{"type":"null"}],"description":"`trade` for buys and sells only, `swap` for cross-subnet swap legs only; omit for both","title":"Kind"},"description":"`trade` for buys and sells only, `swap` for cross-subnet swap legs only; omit for both"},{"name":"include_mev","in":"query","required":false,"schema":{"type":"boolean","description":"both legs of every detected MEV pair are returned, flagged `mev`; `false` leaves them out","default":true,"title":"Include Mev"},"description":"both legs of every detected MEV pair are returned, flagged `mev`; `false` leaves them out"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Trade_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/transfers":{"get":{"tags":["subnets"],"summary":"Get All Transfers","description":"`/subnets/{netuid}/transfers` without the netuid: the newest stake\nmovements on every subnet. Same rows, cursor and `kind`.","operationId":"get_all_transfers_subnets_transfers_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["internal","external","cross_subnet_swap"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Transfer_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/transactions":{"get":{"tags":["wallets"],"summary":"Get Wallet Transactions","description":"Everything that moves one coldkey's (SS58) balances, newest first: trades,\nstake movements, TAO transfers, extrinsic fees, alpha burns, stake the\nchain adds by itself, refunds of a dissolved subnet, key swaps and subnet\nregistrations.\n`kind` takes one label or a group of them, and the groups split the\nhistory with nothing in two:\n\n- `trade` = buy + sell (`swap_fee` is the pool's, in `swap_fee_asset`)\n- `transfer` = transfer_internal + transfer_external + cross_subnet_swap\n- `tao` = deposit + withdraw + dissolve_refund (a dissolved subnet's alpha\n  paid back as TAO; `netuid` is that subnet)\n- `fee` = the fee of every extrinsic the wallet paid for, tip included,\n  whatever it called; a hotkey's calls (set_weights, serve_axon...) are\n  paid by, and listed under, its coldkey\n- `alpha` = burn + recycle + auto_stake (a miner's incentive the chain\n  stakes for its owner) + root_claim (root dividends staked onto root)\n- `custody` = coldkey_swap (everything the old coldkey held moves to the\n  new one) + hotkey_swap (the coldkey's hotkey and its stake move to a new\n  key; listed for the owner only, not for nominators)\n- `registration` = subnet_registration (the TAO locked by a successful\n  register_network; its fee is a `fee` row)\n\nWithout `kind`, every group. A wallet that sets weights pays thousands of\nfees a day: pass a group to page past them.","operationId":"get_wallet_transactions_wallets__coldkey__transactions_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["buy","sell","transfer_internal","transfer_external","cross_subnet_swap","deposit","withdraw","dissolve_refund","fee","burn","recycle","auto_stake","root_claim","coldkey_swap","hotkey_swap","subnet_registration","trade","transfer","tao","alpha","custody","registration"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_WalletTransaction_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/limit-orders":{"get":{"tags":["wallets"],"summary":"Get Wallet Limit Orders","description":"Limit-order events signed by one coldkey (SS58), newest first.\nExecutions and cancellations: OrderSkipped carries no signer, so an order\nthat only ever failed cannot be attributed to a wallet.","operationId":"get_wallet_limit_orders_wallets__coldkey__limit_orders_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_LimitOrder_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/staking-actions":{"get":{"tags":["wallets"],"summary":"Get Wallet Staking Actions","description":"What one coldkey (SS58) did to its stake, newest first: stake, unstake,\nmove, transfer, swap, burn, recycle, claim_root. Identified by block and\nextrinsic index.\n\n`claim_root` is a root dividend redeemed and staked onto root (netuid 0),\none row per validator (`hotkey`), in TAO: the same rows as /transactions'\n`root_claim`. From spec 441 (block 8,765,683) on; a claim the chain runs\nitself has no `extrinsic_idx` and no `tx_fee`.\n\nTwo fees. `swap_fee` is the pool's, on stake and unstake only, in the asset\nthat went in -- TAO on a stake, alpha on an unstake (`swap_fee_asset`).\n`tx_fee` is the extrinsic's transaction fee in TAO, tip included; every\naction of one batch extrinsic carries the same figure, so sum it per\n(block, extrinsic_idx), not per row.\n\nPaged by whole blocks: a page can run over `limit` by the rest of its last\nblock, and the cursor is a block number. Covers the rows the export holds.","operationId":"get_wallet_staking_actions_wallets__coldkey__staking_actions_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"enum":["stake","unstake","move","transfer","swap","burn","recycle","claim_root"],"type":"string"},{"type":"null"}],"description":"omit for every action","title":"Action"},"description":"omit for every action"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page -- a block number","title":"Cursor"},"description":"`next` from the previous page -- a block number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_StakingAction_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/balance":{"get":{"tags":["wallets"],"summary":"Get Wallet Balance","description":"The coldkey's free TAO (SS58): System.Account.free, kept per block from\nbalance events and checked against the chain to the rao. The same figure as\n/positions' netuid -1 row, on its own.","operationId":"get_wallet_balance_wallets__coldkey__balance_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletBalance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/balance/history":{"get":{"tags":["wallets"],"summary":"Get Wallet Balance History","description":"The coldkey's balance (SS58) over `window`, newest first, one point per\n`interval`, 1h, 4h or 1d for 1d, 7d and 30d (defaults 1h, 1h, 4h), 1d\nonly for all; all with another is a 422. `limit` (default and at most\n1,000) puts any bounded window in one page -- 30d hourly is 720 points --\nand pages `all` past 1,000 days. Each point is the balance at the end of\nits interval:\n\n- `free_tao`: the same chain-read System.Account.free as /balance, kept\n  hour by hour whenever it changes; 0 before `since_block` (an account\n  with no history, say one that staked all it had, held none), null\n  before `staked_since_block`.\n- `staked_tao`: alpha held on every subnet, root included, times the\n  subnet's price then, in TAO; null before `staked_since_block`, where\n  the stake history starts (`all` starts there too). The newest point is\n  /positions' alpha_held x price summed over netuid >= 0.\n- `total_tao`: the two added; null when either is.\n\nIntervals are aligned to multiples of themselves (a day starts at a\nmultiple of 7,200 blocks); the newest holds the synced block and is still\nrunning. Free TAO is as of the block before the interval's end, stake as\nof that block.","operationId":"get_wallet_balance_history_wallets__coldkey__balance_history_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"window","in":"query","required":false,"schema":{"enum":["1d","7d","30d","all"],"type":"string","description":"how far back","default":"7d","title":"Window"},"description":"how far back"},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"enum":["1h","4h","1d"],"type":"string"},{"type":"null"}],"description":"one point per; omit for the window's default (1d: 1h, 7d: 1h, 30d: 4h, all: 1d)","title":"Interval"},"description":"one point per; omit for the window's default (1d: 1h, 7d: 1h, 30d: 4h, all: 1d)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":1000,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletBalanceHistory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/pnl/history":{"get":{"tags":["wallets"],"summary":"Get Wallet Pnl History","description":"The coldkey's PnL (SS58) over `window`, newest first, on /balance/history's\nwindows, intervals and paging. Each point holds running totals since\n`since_block` (the engine's a0), every subnet summed, at the end of its\ninterval, each priced at that block -- not today's price:\n\n- `realized`, `emission_income`, `adjustment`: as /pnl's, as levels.\n- `unrealized`: alpha x price - cost basis; an estimated cost is priced\n  at its seed block, as /positions' avg_cost.\n- `total`: realized + unrealized + emission_income. A change between two\n  points is the difference of their levels; /pnl's `total` over a window\n  is the same difference taken at the synced block.\n\nPoints before `since_block` are null; `ts` is the time of the block a\npoint is read at.","operationId":"get_wallet_pnl_history_wallets__coldkey__pnl_history_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"window","in":"query","required":false,"schema":{"enum":["1d","7d","30d","all"],"type":"string","description":"how far back","default":"7d","title":"Window"},"description":"how far back"},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"enum":["1h","4h","1d"],"type":"string"},{"type":"null"}],"description":"one point per; omit for the window's default (1d: 1h, 7d: 1h, 30d: 4h, all: 1d)","title":"Interval"},"description":"one point per; omit for the window's default (1d: 1h, 7d: 1h, 30d: 4h, all: 1d)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":1000,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletPnlHistory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/emissions/history":{"get":{"tags":["wallets"],"summary":"Get Wallet Emission History","description":"The coldkey's emission (SS58) per subnet over `window` (default 30d),\nnewest first, on /balance/history's windows, intervals and paging. Each\npoint lists the subnets held or earning in its interval:\n\n- `emission_alpha`: alpha that came in with no trade behind it --\n  validator dividends, miner incentive, owner take, auto-stake; root's\n  lands at each claim, so in lumps. As /pnl's emission_alpha, per interval.\n- `alpha`: held at the interval's start.\n- `apr_pct`: emission_alpha / alpha over the interval's blocks, x\n  2,628,000 blocks a year: simple, no tempo assumed. Backprop's `apr` is\n  compounded 7,300 times a year; compound this one to compare.\n\nThe interval `since_block` (the engine's a0) falls in runs from it;\npoints ending by it have null subnets and ts.","operationId":"get_wallet_emission_history_wallets__coldkey__emissions_history_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"window","in":"query","required":false,"schema":{"enum":["1d","7d","30d","all"],"type":"string","description":"how far back","default":"30d","title":"Window"},"description":"how far back"},{"name":"interval","in":"query","required":false,"schema":{"anyOf":[{"enum":["1h","4h","1d"],"type":"string"},{"type":"null"}],"description":"one point per; omit for the window's default (1d: 1h, 7d: 1h, 30d: 4h, all: 1d)","title":"Interval"},"description":"one point per; omit for the window's default (1d: 1h, 7d: 1h, 30d: 4h, all: 1d)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":1000,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletEmissionHistory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/staking":{"get":{"tags":["wallets"],"summary":"Get Wallet Validators","description":"The coldkey's current staking positions (SS58): live alpha per (subnet,\nvalidator hotkey). Summed per subnet, these are /positions' alpha_held.\n\n`block` or `timestamp`: alpha and cost basis per subnet at the newest\nstake snapshot at or before that point -- `X-Snapshot-Block` says which.\nThe snapshots are on a grid, not every block: every 300 blocks (~1 h) for\nthe last 31 days, every 7,200 (a day) before that, back to the first\nsnapshot at block 8,765,700. Past the newest, the newest. They are summed\nover validators, so `v_hotkey` and `last_change_block` are null: on a\nsubnet staked through more than one validator, the row is their total.\n422 with `history_from_block` before the first snapshot, and for block and\ntimestamp together.\n\n`by=hotkey` with `block` or `timestamp`: per (subnet, validator hotkey)\ninstead, with `shares`, from the daily snapshot (every 7,200 blocks, back\nto block 8,769,600) at or before that point. Days before 2026-11-14 were\nread from the chain and have no cost basis (null). Positions under 1,000\nrao are left out.","operationId":"get_wallet_validators_wallets__coldkey__staking_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"a past block: per-subnet alpha at the newest snapshot at or before it","title":"Block"},"description":"a past block: per-subnet alpha at the newest snapshot at or before it"},{"name":"timestamp","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"or a past time, ISO 8601; UTC when no zone is given","title":"Timestamp"},"description":"or a past time, ISO 8601; UTC when no zone is given"},{"name":"by","in":"query","required":false,"schema":{"enum":["subnet","hotkey"],"type":"string","description":"with block or timestamp: hotkey reads the daily per-validator snapshot","default":"subnet","title":"By"},"description":"with block or timestamp: hotkey reads the daily per-validator snapshot"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WalletValidator"},"title":"Response Get Wallet Validators Wallets  Coldkey  Staking Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/positions/history":{"get":{"tags":["wallets"],"summary":"Get Wallet Position History","description":"The coldkey's (SS58) stake per (subnet, validator hotkey) at the end of\neach day (every 7,200 blocks, from block 8,769,600), newest first, with the\nalpha each position earned since the day before.\n\n`alpha_earned` is emission: the chain credits it as a higher share price,\nwith no event, and it includes owner cuts and auto-stakes (also listed by\n/transactions as `auto_stake`, so do not add those again). Never negative.\n`alpha_earned_by` says how it was found: `engine` (the balance engine's\nown counter for the position, on days written since it was added), `single_hotkey` (the\nsubnet's counter, the coldkey having this one hotkey there), `no_leg` (the\nposition's alpha change, the subnet having no trade or movement that day),\nor null: a subnet staked through several hotkeys with a leg that day,\nwhere only `subnet_alpha_earned` is known. Both are null on the first day.\nPositions under 1,000 rao are left out; cost basis is null before\n2026-11-14 (days read from the chain). Pass `start_block`: with a range\nthe page is several times faster (fewer partitions to plan).","operationId":"get_wallet_position_history_wallets__coldkey__positions_history_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Netuid"}},{"name":"hotkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"one validator hotkey (SS58)","title":"Hotkey"},"description":"one validator hotkey (SS58)"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_PositionDay_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/positions":{"get":{"tags":["wallets"],"summary":"Get Wallet","description":"Per subnet for one coldkey (SS58): alpha held and cost basis live (per\nblock), realized PnL and emission from the daily sweep. netuid -1 is the\nfree TAO. Empty list when the wallet has had no stake activity since the\nexport started.","operationId":"get_wallet_wallets__coldkey__positions_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WalletPosition"},"title":"Response Get Wallet Wallets  Coldkey  Positions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wallets/{coldkey}/pnl":{"get":{"tags":["wallets"],"summary":"Get Wallet Pnl","description":"Per subnet for one coldkey (SS58): PnL over the window, in TAO.\n\n`total` = `trading_pnl` (realized + change in unrealized) + `emission_income`\n(emission valued at the price it arrived at). `adjustment` is what the chain\nshowed that no event explains; it is not in `total`. A day is 7,200 blocks:\nthe window starts on the newest snapshot at least N days back, so it runs N\nto N+1 days -- `from_block` / `from_ts` say where. `partial` when the\nhistory starts later than that. Root dividends count when claimed.\n`cost_estimated`: some cost basis is a seed price, so the realized /\nunrealized split (not the total) is an estimate. Empty list for a wallet\nwith nothing on any subnet.","operationId":"get_wallet_pnl_wallets__coldkey__pnl_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"window","in":"query","required":false,"schema":{"enum":["1d","7d","30d","all"],"type":"string","description":"1d / 7d / 30d back from the synced block, or all since the engine started","default":"7d","title":"Window"},"description":"1d / 7d / 30d back from the synced block, or all since the engine started"},{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"one subnet; omit for every subnet held","title":"Netuid"},"description":"one subnet; omit for every subnet held"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WalletPnl"},"title":"Response Get Wallet Pnl Wallets  Coldkey  Pnl Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/blocks/latest":{"get":{"tags":["blocks"],"summary":"Latest Block","description":"The newest block header Amp holds, `depth` 0.\n\nAnswered from memory: each process asks Amp for its head every second\n(LATEST_BLOCK_POLL_SECS) and keeps the header, so this runs no query and\nis at most a second behind Amp -- which is itself ~2-3 s behind the block's\nown timestamp. Not cached anywhere else (`Cache-Control: no-cache`). 503\nbefore the first poll, and once polls have failed for 30 s.","operationId":"latest_block_blocks_latest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}},"503":{"description":"No answer from Amp yet, or lately"}}}},"/blocks":{"get":{"tags":["blocks"],"summary":"List Blocks","description":"Block headers from amp_dtao.blocks, newest first.\n\nThe range is optional: with neither bound, the newest blocks in the\ndatabase. Same `Page` shape as every other list here, but the cursor is a\nplain block number, so `before` doubles as \"start below this height\" and a\ncaller can jump instead of walking. `depth` counts from the newest block\nin the database, which trails Amp (and /blocks/latest) by a few seconds.","operationId":"list_blocks_blocks_get","parameters":[{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"lowest block, inclusive; optional","title":"Start Block"},"description":"lowest block, inclusive; optional"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"highest block, inclusive; optional","title":"End Block"},"description":"highest block, inclusive; optional"},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"`next` from the previous page; omit for the newest","title":"Before"},"description":"`next` from the previous page; omit for the newest"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Block_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mempool/txs":{"get":{"tags":["mempool"],"summary":"Get Txs","description":"Extrinsics in the transaction pool, newest first by when they were\nfirst seen; with `status`, what became of them over the last 72 hours.\n\nThe pool is the RPC provider's, read every second. 89-98% of signed\nextrinsics were seen here before their block (2026-11-27), a median 6-11 s\nbefore. The rest -- price-limited stake trades sent to block producers\ndirectly -- are in no public pool; each is recorded from its block,\n`included` with `seen_pending` false (`seen_pending=false` lists them).\nA MevShield.submit_encrypted shows its signer and tip; its call stays\nhidden until included, as an extrinsic of its own.\n\n503 for `pending` when the pool has not been read for 30 s.","operationId":"get_txs_mempool_txs_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"enum":["pending","included","replaced","dropped"],"type":"string","description":"pending: waiting now. The others: what became of those seen, last 72 h","default":"pending","title":"Status"},"description":"pending: waiting now. The others: what became of those seen, last 72 h"},{"name":"signer","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58 of the signing account","title":"Signer"},"description":"SS58 of the signing account"},{"name":"call","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\w+\\.\\w+$"},{"type":"null"}],"description":"`Pallet.call` among the calls that run, wrappers walked: `SubtensorModule.register_network` matches one inside a Proxy.proxy or a batch too","title":"Call"},"description":"`Pallet.call` among the calls that run, wrappers walked: `SubtensorModule.register_network` matches one inside a Proxy.proxy or a batch too"},{"name":"registration","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"true: only those holding a register_network call; false: only the others","title":"Registration"},"description":"true: only those holding a register_network call; false: only the others"},{"name":"seen_pending","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"with status=included, false: only those never in the pool -- sent to a block producer directly","title":"Seen Pending"},"description":"with status=included, false: only those never in the pool -- sent to a block producer directly"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_MempoolTx_"}}}},"503":{"description":"status=pending while the pool is not being read"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mempool/txs/{hash}":{"get":{"tags":["mempool"],"summary":"Get Tx","description":"One extrinsic by its hash: whether it waits, and since when, or where\nit went. One sent to a block producer directly is here from its block on\n(`seen_pending` false). 404 before that, for one over 72 hours old, and\nfor an unsigned one never in the pool.","operationId":"get_tx_mempool_txs__hash__get","parameters":[{"name":"hash","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"the hash returned on submit","title":"Hash"},"description":"the hash returned on submit"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MempoolTx"}}}},"404":{"description":"Not seen, or over 72 h ago"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/limit-orders":{"get":{"tags":["limit-orders"],"summary":"List Limit Orders","description":"Every limit-order event, newest first, from PostgreSQL.\n\nUnfiltered, so unlike the two scoped routes this includes OrderSkipped --\nwhich carries no netuid and no signer, and is the bulk of what the pallet\nemits. Most columns are NULL on any given row; which ones are populated\nfollows `event`.","operationId":"list_limit_orders_limit_orders_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_LimitOrder_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/limit-orders/events":{"get":{"tags":["limit-orders"],"summary":"List Limit Order Events","description":"Limit-order events in `[start_block, end_block]`, newest first, each with\nthe LimitOrders call behind it -- found inside any batch or proxy -- the\nsigned order it carried, and the order's state at that block and now.\n\nEvery filter is optional; the range always applies, at most 50,400 blocks\n(a week). `netuid` and `signer` are the order's, so they match OrderSkipped\ntoo, which carries neither in the event itself. LimitOrdersPalletStatusChanged\nnames no order and only comes back unfiltered.\n\n`call`, `order` and both states are null for blocks past `synced_block`,\nwhere sync_limit_order_calls has not reached yet.","operationId":"list_limit_order_events_limit_orders_events_get","parameters":[{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"default: 7,200 blocks up to end_block","title":"Start Block"},"description":"default: 7,200 blocks up to end_block"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"default: the newest block exported","title":"End Block"},"description":"default: the newest block exported"},{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":300,"minimum":0},{"type":"null"}],"title":"Netuid"}},{"name":"signer","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"the order's signer, SS58","title":"Signer"},"description":"the order's signer, SS58"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitOrderEventPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/limit-orders/linked-outputs":{"get":{"tags":["limit-orders"],"summary":"List Linked Outputs","description":"OrderV2 linked outputs, newest first: every LinkedOutputRecorded (an\nexecuted order leaves an output for a linked order to draw on),\nLinkedOutputConsumed (the linked order draws it) and LinkedOutputPruned (it\nexpired undrawn). `order_id` matches the order on either side. Each\nlimit-order route carries the same as `link`, folded per order.","operationId":"list_linked_outputs_limit_orders_linked_outputs_get","parameters":[{"name":"order_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},{"type":"null"}],"description":"an order's H256: its own output's events and the output it drew on","title":"Order Id"},"description":"an order's H256: its own output's events and the output it drew on"},{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"enum":["LinkedOutputRecorded","LinkedOutputConsumed","LinkedOutputPruned"],"type":"string"},{"type":"null"}],"title":"Event"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_LinkedOutputEvent_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hyperparameters":{"get":{"tags":["hyperparameters"],"summary":"Get Hyperparameters","description":"The six parameters a subnet owner can change, newest first.\n\nDefault is the current values: one row per subnet, or one row when `netuid`\nis given. Not paged -- the chain caps the subnet count, so the whole answer\nis ~129 rows.\n\n`history=true` returns the change log instead, which is what `updated_block`\nis for: the block at which that row's values took effect. A subnet appears\nonce per change, so a subnet that has never changed appears once, at the\nblock observation began.\n\nA null value means the subnet has no entry for that parameter and the chain\nuses its own default -- not that the value is unknown.","operationId":"get_hyperparameters_hyperparameters_get","parameters":[{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":300,"minimum":0},{"type":"null"}],"description":"omit for every subnet","title":"Netuid"},"description":"omit for every subnet"},{"name":"history","in":"query","required":false,"schema":{"type":"boolean","description":"every recorded change, not just the current values","default":false,"title":"History"},"description":"every recorded change, not just the current values"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"history only","default":100,"title":"Limit"},"description":"history only"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubnetHyperparameters"},"title":"Response Get Hyperparameters Hyperparameters Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/weights/events":{"get":{"tags":["weights"],"summary":"List Weight Events","description":"Weight sets, commits and reveals, newest first. Needs `netuid`, `hotkey`\nor both.\n\n`kind` groups the six chain events: `set` is WeightsSet; `commit` is\nTimelockedWeightsCommitted and WeightsCommitted; `reveal` is\nTimelockedWeightsRevealed, WeightsRevealed and WeightsBatchRevealed.\n\nA timelocked commit is revealed by the chain itself once its drand round\narrives, with no extrinsic: that reveal and the WeightsSet it produces have\n`extrinsic_idx` null.\n\nOnce retention has cut, `X-History-From-Block` is the first block\nPostgreSQL keeps. A page below it -- a range or a cursor reaching there --\nis read from Amp over Flight, marked `X-Data-Source: flight`, and `next`\nwalks on across the floor; a hotkey or netuid filter there reads every\nfile the block range leaves in, so give one.","operationId":"list_weight_events_weights_events_get","parameters":[{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":300,"minimum":0},{"type":"null"}],"title":"Netuid"}},{"name":"hotkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58","title":"Hotkey"},"description":"SS58"},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["set","commit","reveal"],"type":"string"},{"type":"null"}],"description":"omit for all three","title":"Kind"},"description":"omit for all three"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_WeightEvent_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/weights/validators":{"get":{"tags":["weights"],"summary":"List Validator Weight Activity","description":"Every validator-permit holder's last update, with its newest weight set,\ncommit and reveal. Omit both filters for every subnet.\n\n`last_update_block` is the chain's LastUpdate: the newest commit on a\ncommit-reveal subnet, the newest weight set otherwise -- not simply the\nnewest WeightsSet, which on a commit-reveal subnet is the reveal and does\nnot count. `offline` is the chain's own inactivity rule,\n`last update + cutoff_blocks < as_of_block`, where `as_of_block` is how far\nthe export has got.\n\nNot paged: ~1,400 rows across every subnet, one read.","operationId":"list_validator_weight_activity_weights_validators_get","parameters":[{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":300,"minimum":0},{"type":"null"}],"title":"Netuid"}},{"name":"hotkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58","title":"Hotkey"},"description":"SS58"},{"name":"offline","in":"query","required":false,"schema":{"type":"boolean","description":"only validators past the chain's activity cutoff","default":false,"title":"Offline"},"description":"only validators past the chain's activity cutoff"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ValidatorWeightActivity"},"title":"Response List Validator Weight Activity Weights Validators Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alpha":{"get":{"tags":["subnets"],"summary":"Get Alpha","description":"alpha_in, alpha_out and total_alpha = alpha_in + alpha_out, in alpha, at\neach subnet's newest block, by netuid. Not paged -- one row per subnet.\n\nalpha_in is the pool's side (SubnetAlphaIn) and alpha_out everything\noutside it (SubnetAlphaOut). Their sum is the `total_alpha`\n`/pools/{netuid}` reports. netuid 0 is root: the chain keeps both\ncounters for it too, though it has no swap pool.\n\nAn unknown netuid returns an empty list, as /hyperparameters does.","operationId":"get_alpha_alpha_get","parameters":[{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":300,"minimum":0},{"type":"null"}],"description":"omit for every subnet","title":"Netuid"},"description":"omit for every subnet"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubnetAlpha"},"title":"Response Get Alpha Alpha Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alpha-changes":{"get":{"tags":["alpha-changes"],"summary":"List Alpha Changes","description":"Alpha taken out of circulation, newest first: AlphaBurned and\nAlphaRecycled, with the coldkey, hotkey and subnet it came from. All\nfilters are optional and combine with AND.\n\nPaged by whole blocks: a page can run over `limit` by the rest of its last\nblock, and the cursor is a block number.","operationId":"list_alpha_changes_alpha_changes_get","parameters":[{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"enum":["AlphaBurned","AlphaRecycled"],"type":"string"},{"type":"null"}],"description":"omit for both","title":"Event"},"description":"omit for both"},{"name":"coldkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58","title":"Coldkey"},"description":"SS58"},{"name":"hotkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58","title":"Hotkey"},"description":"SS58"},{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":300,"minimum":0},{"type":"null"}],"title":"Netuid"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Start Block"}},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"End Block"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page -- a block number","title":"Cursor"},"description":"`next` from the previous page -- a block number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_AlphaChange_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/native-transfers":{"get":{"tags":["native-transfers"],"summary":"List Native Transfers","description":"Every Balances.Transfer, newest first. All filters are optional.\n\nPaged by whole blocks: a page is at least `limit` rows, extended to the end\nof the last block it reaches, so it can run over `limit` by up to one\nblock's transfers. The table carries no per-event index, so a row-level\ncursor would drop rows -- app/repositories/native_transfers.py has the\nnumbers.\n\nStaking moves TAO in and out of each subnet's own account (SS58 starting\n`5EYCAe5…`) as a Balances.Transfer, 99.4% of the stream since spec 411.\nThose are left out, unless `account`, `from` or `to` names a subnet account.","operationId":"list_native_transfers_native_transfers_get","parameters":[{"name":"account","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58; either side. Not combinable with from/to","title":"Account"},"description":"SS58; either side. Not combinable with from/to"},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58 sender","title":"From"},"description":"SS58 sender"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58 recipient","title":"To"},"description":"SS58 recipient"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Start Block"}},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"End Block"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page -- a block number","title":"Cursor"},"description":"`next` from the previous page -- a block number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_NativeTransfer_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/extrinsics":{"get":{"tags":["extrinsics"],"summary":"List Extrinsics","description":"Every extrinsic of the last 31 days, newest first; older blocks return an\nempty page. All filters are optional and combine.\n\nThe outermost call only, with no hash, fee, error or arguments. Filtering\non a call misses it when made through a wrapper (`Proxy.proxy`,\n`Utility.batch_all`, `MevShield.submit_encrypted`), and for `Proxy.proxy`\nthe signer is the proxy, not the account it acts for. Inherents\n(`Timestamp.set`, `Drand.write_pulse`, `Ethereum.transact`, ...) have no\nsigner and are about half of all rows.","operationId":"list_extrinsics_extrinsics_get","parameters":[{"name":"signer","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58 of the signing account","title":"Signer"},"description":"SS58 of the signing account"},{"name":"pallet","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"e.g. `SubtensorModule`, as the chain names it","title":"Pallet"},"description":"e.g. `SubtensorModule`, as the chain names it"},{"name":"call","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"e.g. `add_stake_limit`; needs `pallet`","title":"Call"},"description":"e.g. `add_stake_limit`; needs `pallet`"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Start Block"}},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"End Block"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_Extrinsic_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stake-movements":{"get":{"tags":["stake-movements"],"summary":"List Stake Movements","description":"Every stake movement, newest first, with both sides of every key. All\nfilters are optional and combine with AND.\n\nWhat each event changes is looser than its name: StakeMoved changes the\nhotkey and can change the subnet; StakeTransferred changes the coldkey,\nexcept when sent to one's own coldkey on another subnet; StakeSwapped\nchanges only the subnet; StakeAndHotkeyTransferred changes coldkey and\nhotkey.\n\n/subnets/{netuid}/transfers serves the same rows labelled by `kind`, by\nwhat changed rather than by the event name, first match wins: `external`\nthe coldkey changed; `internal` same coldkey, same subnet; and\n`cross_subnet_swap` same coldkey, another subnet. The rule decides, not the\nevent name; on dev (2026-10-13): StakeSwapped always cross_subnet_swap;\nStakeMoved internal (70%) or cross_subnet_swap; StakeTransferred external\n(65%) or cross_subnet_swap when sent to one's own coldkey on another subnet;\nStakeAndHotkeyTransferred external, all but 3 of 15,646.\n\n`tao_amount` is TAO whichever the event -- the chain reports it that way.\n\n`mev` marks an MEV victim: a move between two subnets whose pool leg, on\neither subnet, sits between the two legs of another wallet's MEV pair --\nthe pairs /subnets/trades flags `mev`. A move within one subnet never\ntouches a pool, so it is never one.\n\nPaged by whole blocks, like /native-transfers: a page can run over `limit`\nby the rest of its last block, and the cursor is a block number.","operationId":"list_stake_movements_stake_movements_get","parameters":[{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"enum":["StakeMoved","StakeTransferred","StakeSwapped","StakeAndHotkeyTransferred"],"type":"string"},{"type":"null"}],"title":"Event"}},{"name":"coldkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58; matches either side","title":"Coldkey"},"description":"SS58; matches either side"},{"name":"hotkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58; matches either side","title":"Hotkey"},"description":"SS58; matches either side"},{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":300,"minimum":0},{"type":"null"}],"description":"matches either side","title":"Netuid"},"description":"matches either side"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Start Block"}},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"End Block"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page -- a block number","title":"Cursor"},"description":"`next` from the previous page -- a block number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_StakeMovement_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/coldkey-swaps":{"get":{"tags":["key-swaps"],"summary":"List Coldkey Swaps","description":"The coldkey swap lifecycle, newest first: announced, then swapped --\nor reset, disputed or cleared on the way. ColdkeySwapped is the swap\nitself; an announcement only names the hash of the new key.\n\nPaged by whole blocks: the table has no unique key per event.","operationId":"list_coldkey_swaps_coldkey_swaps_get","parameters":[{"name":"coldkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58; matches the old or the new key","title":"Coldkey"},"description":"SS58; matches the old or the new key"},{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"enum":["ColdkeySwapAnnounced","ColdkeySwapped","ColdkeySwapReset","ColdkeySwapDisputed","ColdkeySwapCleared","AllBalanceUnstakedAndTransferredToNewColdkey"],"type":"string"},{"type":"null"}],"title":"Event"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Start Block"}},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"End Block"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page -- a block number","title":"Cursor"},"description":"`next` from the previous page -- a block number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ColdkeySwap_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hotkey-swaps":{"get":{"tags":["key-swaps"],"summary":"List Hotkey Swaps","description":"Hotkey swaps, newest first: HotkeySwapped moves the key on every subnet\nat once (`netuid` null), HotkeySwappedOnSubnet on one.","operationId":"list_hotkey_swaps_hotkey_swaps_get","parameters":[{"name":"hotkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58; matches the old or the new key","title":"Hotkey"},"description":"SS58; matches the old or the new key"},{"name":"coldkey","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58; the owner of both keys","title":"Coldkey"},"description":"SS58; the owner of both keys"},{"name":"netuid","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":300,"minimum":0},{"type":"null"}],"description":"also returns HotkeySwapped, which covers every subnet","title":"Netuid"},"description":"also returns HotkeySwapped, which covers every subnet"},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Start Block"}},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"End Block"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page","title":"Cursor"},"description":"`next` from the previous page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_HotkeySwap_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/validators":{"get":{"tags":["validators"],"summary":"List Validators","description":"Validators ranked by global weighted stake, largest first.\n\nGWS = every subnet's alpha stake valued at its spot price, plus root stake\nx TaoWeight (0.18) -- the explorers' figure, using the stake delegated\nstraight to the hotkey (before childkey routing). Checked against\ntaostats for all 143 validators it lists: median difference 0.007%.\n\nA validator is a hotkey holding a validator permit or a subnet's owner uid,\nor a parent of child hotkeys -- the largest operators validate only\nthrough children and hold no uid themselves.","operationId":"list_validators_validators_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_RankedValidator_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/validators/{hotkey}/subnets":{"get":{"tags":["validators"],"summary":"Get Validator Subnets","description":"The subnets a validator hotkey (SS58) validates on, with its stake and\n30-day APY on each, and its root beta basket.\n\nStake comes in two pairs: `direct_*` is delegated straight to the hotkey,\n`inherited_*` is after childkey routing -- the figure explorers show. APY\nis the same as /subnets/{netuid}/validators prints, 30-day window only:\nsimple, rate x 2,628,000 (7,200 blocks a day x 365) / tempo, averaged over\nevery epoch the subnet ran in the window, those the validator was not in\ncounting as 0 (taostats' convention). `epochs_30d` below the subnet's own\ncount -- 2,182 on SN1 (tempo 99), 600 at tempo 360 -- means it was not in\nall of them. Root APY is TAO per TAO; `net_root_apy_30d_pct_total` sums it\nover every subnet, since root stake earns on all of them at once.\n\n`parents` on each subnet is the largest 3 by proportion, `parents_total`\nhow many there are -- one hotkey has 1,615 across its subnets; page them\nwith /validators/{hotkey}/parents. `children` is whole (at most 5).\n\n`root_basket` is the fund its root dividends go into, from the runtime's\nBetaBasketRuntimeApi, snapshotted every 500 blocks: NAV (realizable and\nspot), shares, lifetime flows and per-subnet holdings, plus the return and\nAPY of the share price over up to 30 days (`return_window_blocks`). Null\nwhen the hotkey has no basket.","operationId":"get_validator_subnets_validators__hotkey__subnets_get","parameters":[{"name":"hotkey","in":"path","required":true,"schema":{"type":"string","title":"Hotkey"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidatorProfile"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/validators/{hotkey}/apy":{"get":{"tags":["validators"],"summary":"Get Validator Apy","description":"A validator hotkey's (SS58) APY over a long window on every subnet it\nearned on, and its root APY summed over them. The same figures as\n/subnets/{netuid}/validators/apy; see there for the window and the\nannualisation. Empty when it earned nothing in the window.","operationId":"get_validator_apy_validators__hotkey__apy_get","parameters":[{"name":"hotkey","in":"path","required":true,"schema":{"type":"string","title":"Hotkey"}},{"name":"window","in":"query","required":false,"schema":{"enum":["1y","all"],"type":"string","description":"1y: the last 365 days; all: since each subnet's registration","default":"1y","title":"Window"},"description":"1y: the last 365 days; all: since each subnet's registration"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidatorLongApyProfile"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/validators/{hotkey}/apy/history":{"get":{"tags":["validators"],"summary":"Get Validator Apy History","description":"A validator hotkey's (SS58) APY on one subnet, one point per block-day\n(epoch_block // 7200, not a UTC date), newest first. `limit` (default and\nat most 1,000) puts any window in one page.\n\nThe formula of /validators/{hotkey}/apy over one day: the day's return x\n2,628,000 blocks (365 days) / 7,200, simple, from the per-day sums of the\nepoch dividends (validator_yield_daily). Whole days only: the newest point\nis the last day the subnet's newest read epoch has passed -- the day\nrunning now, a few epochs annualised, swings tenfold. The window starts as\nthere: `window` back, the subnet's current registration or where\nthe indexed history begins, whichever is latest. A day the hotkey earned\nnothing in is absent, not 0. Null on dust (average stake under 1 alpha /\n1 TAO).\n\nEach point also carries the day's sums: dividends, average stake and\nepochs. To get a longer window, sum those and divide once -- the mean of\nthe daily APYs weights a day with little stake like one with much.\n\nnetuid 0 (root): the hotkey's root return on every subnet that day, summed\nand annualised over the day -- root stake earns on all of them at once.\nOnly the root fields are filled, with `subnets`. 422 on a bad hotkey or\ncursor.","operationId":"get_validator_apy_history_validators__hotkey__apy_history_get","parameters":[{"name":"hotkey","in":"path","required":true,"schema":{"type":"string","title":"Hotkey"}},{"name":"netuid","in":"query","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"description":"the subnet; 0: root, summed over every subnet","title":"Netuid"},"description":"the subnet; 0: root, summed over every subnet"},{"name":"window","in":"query","required":false,"schema":{"enum":["30d","90d","1y","all"],"type":"string","description":"how far back","default":"30d","title":"Window"},"description":"how far back"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":1000,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidatorApyHistory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/validators/{hotkey}/parents":{"get":{"tags":["validators"],"summary":"Get Validator Parents","description":"Every parent hotkey routing stake to `hotkey` (SS58) on `netuid`, largest\n`proportion` first -- the share of the parent's stake there given to this\nhotkey. The full list behind the capped `parents` of\n/subnets/{netuid}/validators (10) and /validators/{hotkey}/subnets (3); a\nchild can have dozens (62 on one subnet today). Empty when it has none.","operationId":"get_validator_parents_validators__hotkey__parents_get","parameters":[{"name":"hotkey","in":"path","required":true,"schema":{"type":"string","title":"Hotkey"}},{"name":"netuid","in":"query","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"description":"the subnet the links are on","title":"Netuid"},"description":"the subnet the links are on"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_HotkeyLink_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/validators/{hotkey}/stakers":{"get":{"tags":["validators"],"summary":"Get Validator Stakers","description":"Every coldkey staked through `hotkey` (SS58) on `netuid` at one day, with\nits alpha and AlphaV2 shares -- the list a validator's rakeback is paid\nfrom. Read from the daily snapshot (every 7,200 blocks, back to block\n8,769,600) at or before `block` or `timestamp`, the newest without either;\n`X-Snapshot-Block` says which day. Ordered by coldkey, not by size, so a\npage costs `limit` rows: walk `next` to the end for the whole list (7,773\nstakers on the largest). Days before 2026-11-14 were read from the chain\nand have no cost basis (null). Positions under 1,000 rao are left out. 422\nwith `history_from_block` before the first day, and for block and timestamp\ntogether.","operationId":"get_validator_stakers_validators__hotkey__stakers_get","parameters":[{"name":"hotkey","in":"path","required":true,"schema":{"type":"string","title":"Hotkey"}},{"name":"netuid","in":"query","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"description":"the subnet the stake is on","title":"Netuid"},"description":"the subnet the stake is on"},{"name":"block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"the daily snapshot at or before this block; omit for the newest","title":"Block"},"description":"the daily snapshot at or before this block; omit for the newest"},{"name":"timestamp","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"or a time, ISO 8601; UTC when no zone is given","title":"Timestamp"},"description":"or a time, ISO 8601; UTC when no zone is given"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_ValidatorStaker_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/baskets":{"get":{"tags":["baskets"],"summary":"List Baskets","description":"Every root validator's beta basket at the newest snapshot, largest NAV\nfirst: the fund its root dividends are deposited into, held as alpha\nacross subnets. Without holdings (see /baskets/{hotkey}).\n\nFrom the runtime's BetaBasketRuntimeApi, snapshotted every 500 blocks\n(~100 min) since block 9,150,000 on this deployment. `nav_tao` is what a\nredemption pays (slippage-aware), `spot_nav_tao` the mark at spot.\n`share_price_tao` = nav / shares moves only on dividends and the holdings'\nprices, so its change is the fund's return: over 30 days, `apy_30d_pct`\n(null until a full 30 days of snapshots exist).\n\n`basket_rate`: SubtensorModule.BasketRate, the fund's cumulative shares per\nTAO of root stake. Between two snapshots, Δbasket_rate x root stake (TAO) x\nshare_price_tao is the TAO a staker's root stake earned through this\nvalidator; /baskets/{hotkey}/history has every snapshot's. `basket_rate_raw`\nis the same, exact.","operationId":"list_baskets_baskets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BasketSummary"},"type":"array","title":"Response List Baskets Baskets Get"}}}}}}},"/baskets/{hotkey}":{"get":{"tags":["baskets"],"summary":"Get Basket","description":"One root validator's (SS58) beta basket at its newest snapshot, with its\nholdings (`netuid` 0 is the fund's TAO). The same figures as /baskets and\n/validators/{hotkey}/subnets' `root_basket`. 404 when the hotkey has no\nbasket, 422 on a bad hotkey.","operationId":"get_basket_baskets__hotkey__get","parameters":[{"name":"hotkey","in":"path","required":true,"schema":{"type":"string","title":"Hotkey"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Basket"}}}},"404":{"description":"the hotkey has no basket"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/baskets/{hotkey}/history":{"get":{"tags":["baskets"],"summary":"Get Basket History","description":"Every snapshot of one root validator's (SS58) beta basket, newest\nfirst: one each 500 blocks (~100 min, ~17 a day), from block 9,150,000 on\nthis deployment. `limit` up to 1,000 (~59 days); `start_block` /\n`end_block` jump to a range.\n\nFor rakeback: what a root staker earned through this validator between\ntwo snapshots is (basket_rate at the later - at the earlier) x its root\nstake (TAO) x share_price_tao, in TAO -- assuming the stake did not change\nbetween them. Use `basket_rate_raw` to subtract exactly. Empty for a hotkey\nwith no basket; 422 on a bad hotkey or cursor.","operationId":"get_basket_history_baskets__hotkey__history_get","parameters":[{"name":"hotkey","in":"path","required":true,"schema":{"type":"string","title":"Hotkey"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page -- a block number","title":"Cursor"},"description":"`next` from the previous page -- a block number"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"start_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"first block, inclusive; omit for no lower bound","title":"Start Block"},"description":"first block, inclusive; omit for no lower bound"},{"name":"end_block","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"last block, inclusive; omit for the newest","title":"End Block"},"description":"last block, inclusive; omit for the newest"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page_BasketPoint_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{address}":{"get":{"tags":["accounts"],"summary":"Get Account","description":"One SS58 key as a coldkey and as a hotkey -- a key can be both. As a\ncoldkey: free TAO, stake per subnet valued at spot, and the hotkeys it owns\nwith their uid and role on each subnet. As a hotkey: its owner, its free\nTAO, and per subnet its uid, role (owner, validator, miner, or `parent` when\nit validates through a child), the stake it holds and its childkey links.\n`synced` gives each source's block. 404 when this index has never seen the\nkey; 422 on a malformed address.","operationId":"get_account_accounts__address__get","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","title":"Address"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sse/subnets/prices":{"get":{"tags":["sse"],"summary":"Subnet Prices","description":"Every subnet's alpha price in TAO, pushed as the export writes each block\n(~12 s). Format after taomarketcap's Subnet Prices Stream, with\n`block_number`, `time` and an `id:` (the block) on every message:\n\n    id: 9268861\n    data: {\"type\":\"full\",\"block_number\":9268861,\"time\":\"...\",\"data\":{\"1\":0.0065,\"2\":0.0029,...}}\n\n    id: 9268862\n    data: {\"type\":\"delta\",\"block_number\":9268862,\"time\":\"...\",\"data\":{\"3\":0.0257}}\n\n    id: 9268863\n    data: {\"type\":\"heartbeat\",\"block_number\":9268863}\n\n`full` first: every subnet with a pool (root has none and is left out).\nThen one message a block: `delta` with only the prices that changed by more\nthan 1e-12 relative (null: the subnet is gone), or `heartbeat` when none did.\nSmaller moves are float rounding of the pool ratio, not trades; every price a\nclient holds stays within 1e-12 of the database's. A `: ping` comment\nevery 15 s keeps the connection open while no block arrives.\n\nReconnecting with `Last-Event-ID` (browsers send it on their own) resumes\nafter that block, if it is among the last 300; otherwise `full` again. A\nclient that falls 64 blocks behind is disconnected and resumes the same way.","operationId":"subnet_prices_sse_subnets_prices_get","parameters":[{"name":"last-event-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/event-stream":{}}},"503":{"description":"stream off, warming up or full"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sse/prices/tao-usd":{"get":{"tags":["sse"],"summary":"TAO/USD Price","description":"TAO's price in USD, the body of /prices/tao-usd, pushed when it changes:\nas it trades where live exchange feeds are on (at most 4 messages a\nsecond), otherwise each CoinGecko refresh (about every 30 s):\n\n    data: {\"symbol\": \"TAO-USD\", \"price_usd\": 232.9, \"source\": \"coingecko\", \"updated_at\": \"2026-10-30T11:40:12Z\"}\n\nThe current price first, then one message per change -- none while it\nstands still, or while every source is unreachable (the last price stands). No\n`id:`: there is nothing to replay, a reconnect gets the current price. A\n`: ping` comment every 15 s keeps the connection open.","operationId":"tao_usd_sse_prices_tao_usd_get","responses":{"200":{"description":"Successful Response","content":{"text/event-stream":{}}},"503":{"description":"stream off, warming up or full"}}}},"/sse/trades":{"get":{"tags":["sse"],"summary":"Trades","description":"Every pool trade on every subnet, pushed as the export writes each block\n(~12 s): the rows of /subnets/{netuid}/trades, for all subnets at once.\nMEV legs are in, flagged `mev`, as there; `include_mev=false` leaves them\nout.\n\n    id: 9280291\n    data: {\"type\":\"trades\",\"block_number\":9280291,\"time\":\"...\",\"data\":[\n           {\"id\":\"9280291-2-138\",\"netuid\":55,\"time\":\"...\",\"address\":\"5G...\",\"validator\":\"5E...\",\n            \"type\":\"buy\",\"kind\":\"trade\",\"price\":0.0023,\"tao_amount\":20.52,\"alpha_amount\":8903.49,\"mev\":false}]}\n\n    id: 9280292\n    data: {\"type\":\"heartbeat\",\"block_number\":9280292}\n\nOne message a block, `trades` (oldest first in the block) or `heartbeat`\nwhen the block has none this stream wants -- so `id:` moves on every\nblock. Nothing is sent on connecting; the first message is the next block.\nA block is sent once both the trades and the stake movements that label\nthem trade or swap are exported past it. A `: ping` comment every 15 s\nkeeps the connection open while no block arrives.\n\nReconnecting with `Last-Event-ID` (browsers send it on their own) replays\nthe blocks after it from the last 300. Further back, a\n`{\"type\":\"gap\",\"from_block\":..,\"to_block\":..}` comes first: those blocks\nwere not sent -- read them from the REST route with start_block /\nend_block. A client that falls 64 blocks behind is disconnected and\nresumes the same way.","operationId":"trades_sse_trades_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["trade","swap"],"type":"string"},{"type":"null"}],"description":"trade: buys and sells; swap: legs of stake moving between subnets; omit for both","title":"Kind"},"description":"trade: buys and sells; swap: legs of stake moving between subnets; omit for both"},{"name":"include_mev","in":"query","required":false,"schema":{"type":"boolean","description":"both legs of every detected MEV pair are sent, flagged `mev`; `false` leaves them out","default":true,"title":"Include Mev"},"description":"both legs of every detected MEV pair are sent, flagged `mev`; `false` leaves them out"},{"name":"last-event-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/event-stream":{}}},"503":{"description":"stream off, warming up or full"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sse/subnets/{netuid}/trades":{"get":{"tags":["sse"],"summary":"Subnet Trades","description":"/sse/trades for one subnet: its pool's trades, a heartbeat on blocks\nwithout any. Same messages, `include_mev`, resuming and gaps.","operationId":"subnet_trades_sse_subnets__netuid__trades_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["trade","swap"],"type":"string"},{"type":"null"}],"description":"trade: buys and sells; swap: legs of stake moving between subnets; omit for both","title":"Kind"},"description":"trade: buys and sells; swap: legs of stake moving between subnets; omit for both"},{"name":"include_mev","in":"query","required":false,"schema":{"type":"boolean","description":"both legs of every detected MEV pair are sent, flagged `mev`; `false` leaves them out","default":true,"title":"Include Mev"},"description":"both legs of every detected MEV pair are sent, flagged `mev`; `false` leaves them out"},{"name":"last-event-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/event-stream":{}}},"503":{"description":"stream off, warming up or full"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sse/wallets/{coldkey}/trades":{"get":{"tags":["sse"],"summary":"Wallet Trades","description":"/sse/trades for one coldkey (SS58): its trades on every subnet, a\nheartbeat on blocks without any. Same messages, `include_mev`, resuming and gaps. 422 on\na malformed address.","operationId":"wallet_trades_sse_wallets__coldkey__trades_get","parameters":[{"name":"coldkey","in":"path","required":true,"schema":{"type":"string","title":"Coldkey"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["trade","swap"],"type":"string"},{"type":"null"}],"description":"trade: buys and sells; swap: legs of stake moving between subnets; omit for both","title":"Kind"},"description":"trade: buys and sells; swap: legs of stake moving between subnets; omit for both"},{"name":"include_mev","in":"query","required":false,"schema":{"type":"boolean","description":"both legs of every detected MEV pair are sent, flagged `mev`; `false` leaves them out","default":true,"title":"Include Mev"},"description":"both legs of every detected MEV pair are sent, flagged `mev`; `false` leaves them out"},{"name":"last-event-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/event-stream":{}}},"503":{"description":"stream off, warming up or full"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sse/blocks":{"get":{"tags":["sse"],"summary":"Block Stream","description":"Every block header, pushed as Amp has it (~12 s): the body of\n/blocks/latest, from the same once-a-second poll, one message a block.\n\n    id: 9496749\n    data: {\"type\":\"block\",\"block_number\":9496749,\"data\":{\"block_num\":9496749,\"depth\":0,\"ts\":\"...\",\n           \"extrinsic_count\":14,\"hash\":\"0x...\",\"parent_hash\":\"0x...\",\"state_root\":\"0x...\",\"extrinsics_root\":\"0x...\"}}\n\nThe newest block first, then every block after it, none skipped -- but\nfor Amp stalling more than 300 blocks, when the blocks before the last 300\ncome as a `gap` (below) on the open stream. `depth`\nis counted when the block is read: 0 for the head, more for blocks read on\nthe same poll behind it. Not finality (see /blocks/latest). A `: ping`\ncomment every 15 s keeps the connection open while no block arrives.\n\nReconnecting with `Last-Event-ID` (browsers send it on their own) replays\nthe blocks after it from the last 300. Further back, a\n`{\"type\":\"gap\",\"from_block\":..,\"to_block\":..}` comes first: those blocks\nwere not sent -- read them from /blocks with start_block / end_block. A\nclient that falls 64 blocks behind is disconnected and resumes the same\nway.","operationId":"block_stream_sse_blocks_get","parameters":[{"name":"last-event-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/event-stream":{}}},"503":{"description":"stream off, warming up or full"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sse/mempool":{"get":{"tags":["sse"],"summary":"Mempool Stream","description":"The transaction pool as it changes: the rows of /mempool/txs, one\nmessage each time an extrinsic is first seen or its status moves, about\n1-2 s after the pool or the block shows it.\n\n    id: 41279\n    data: {\"type\":\"pending\",\"data\":{\"hash\":\"0x...\",\"status\":\"pending\",\"signer\":\"5F...\",\n           \"calls\":[\"SubtensorModule.register_network\"],\"registration\":true,...}}\n\n    id: 41302\n    data: {\"type\":\"included\",\"data\":{\"hash\":\"0x...\",\"status\":\"included\",\"block\":9596770,\n           \"extrinsic_idx\":12,\"wait_seconds\":7.4,...}}\n\n`type` is the new status: `pending`, `included`, `replaced` or `dropped`\n(a dropped one can come back as `pending`, or `included`). Nothing is\nsent on connecting -- /mempool/txs has what waits now -- and a `: ping`\ncomment every 15 s keeps the connection open. `signer`, `registration`\nand `call` filter, and combine.\n\n`id:` is a sequence number shared by every server, so reconnecting with\n`Last-Event-ID` (browsers send it on their own) resumes after it from\nthe last ~30 minutes of changes. Further back, a\n`{\"type\":\"gap\",\"from_seq\":..,\"to_seq\":..}` comes first: changes were\nmissed -- read /mempool/txs again. A client that falls 64 reads behind\nis disconnected and resumes the same way. 503 while the pool is not\nbeing read (30 s without).","operationId":"mempool_stream_sse_mempool_get","parameters":[{"name":"signer","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SS58 of the signing account","title":"Signer"},"description":"SS58 of the signing account"},{"name":"registration","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"true: only extrinsics holding a register_network call","title":"Registration"},"description":"true: only extrinsics holding a register_network call"},{"name":"call","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\w+\\.\\w+$"},{"type":"null"}],"description":"`Pallet.call` among the calls that run, wrappers walked","title":"Call"},"description":"`Pallet.call` among the calls that run, wrappers walked"},{"name":"last-event-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/event-stream":{}}},"503":{"description":"stream off, warming up or full"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets":{"get":{"tags":["subnets"],"summary":"List Subnet Overview","description":"Every subnet in netuid order: on-chain name, price, pool, supply, FDV,\nmarket cap, price changes, sparkline, emission, age, a pending owner coldkey\nswap and trading activity. No USD figures, no other identity field (see\n/subnets/identity) and no curated metadata. netuid 0 is root and has no\npool, so it is not listed.\n\nPrice, reserves, supply, FDV and market cap are read on every call. Name,\nprice history, sparkline, emission, swaps and trading activity change slowly and\nare up to SUBNET_OVERVIEW_SLOW_TTL_SECS (5 min) old; the price changes are\ntaken against the current price.","operationId":"list_subnet_overview_subnets_get","parameters":[{"name":"ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"netuids, comma-separated (`ids=1,2`) or repeated (`ids=1&ids=2`); omit for all","title":"Ids"},"description":"netuids, comma-separated (`ids=1,2`) or repeated (`ids=1&ids=2`); omit for all"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetOverviewList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/important-price-changes":{"get":{"tags":["subnets"],"summary":"List Price Moves","description":"The `limit` newest price moves across every subnet, newest first: an alpha\nprice 5% or more up or down against 75 blocks (~15 min, `15min`) or 300\nblocks (~1 h, `1hour`) earlier, checked every 10th block. Each price is the\nlowest of the 5 blocks ending at its block, as Backprop's. 15% or more is an\nemergency. A subnet has at most one move per window and cooldown (75 or 300\nblocks). 503 when Redis, where the moves are kept, is unavailable.","operationId":"list_price_moves_subnets_important_price_changes_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"moves to return; at most the 100 kept","default":20,"title":"Limit"},"description":"moves to return; at most the 100 kept"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceMoveList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/prices":{"get":{"tags":["subnets"],"summary":"List Price Snapshots","description":"Every subnet's alpha price in TAO at its newest block, and at exactly\n300, 7,200 and 50,400 blocks before it (~1h, ~24h, ~7d) -- null when the\nsubnet was registered later than that. netuid 0 is root and has no price,\nso it is not listed. Cached 12 s: identical requests within that share one\nread.","operationId":"list_price_snapshots_subnets_prices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PriceSnapshot"},"type":"array","title":"Response List Price Snapshots Subnets Prices Get"}}}}}}},"/subnets/prices/{netuid}":{"get":{"tags":["subnets"],"summary":"Get Price Snapshot","description":"One subnet's row of /subnets/prices. 404 when it has no pool state in the\nnewest 300 blocks, and for netuid 0 (root has no price).","operationId":"get_price_snapshot_subnets_prices__netuid__get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceSnapshot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/identity":{"get":{"tags":["subnets"],"summary":"List Subnet Identities","description":"Every subnet that has set an identity, in netuid order -- 122 of 129 on\n2026-10-26. A subnet without one is absent, not listed with empty fields.","operationId":"list_subnet_identities_subnets_identity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SubnetIdentity"},"type":"array","title":"Response List Subnet Identities Subnets Identity Get"}}}}}}},"/subnets/identity/{netuid}":{"get":{"tags":["subnets"],"summary":"Get Subnet Identity","description":"One subnet's identity. 404 when it has not set one.","operationId":"get_subnet_identity_subnets_identity__netuid__get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetIdentity"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/holder-stats":{"get":{"tags":["subnets"],"summary":"List Holder Stats","description":"/subnets/{netuid}/holder-stats for every subnet with holders, root\nincluded, netuid order, all as of the same `block`. Computed once per\nwallet_balance cursor move (about a minute) and kept in Redis.","operationId":"list_holder_stats_subnets_holder_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HolderStatsList"}}}}}}},"/subnets/{netuid}/holder-stats":{"get":{"tags":["subnets"],"summary":"Get Holder Stats","description":"How many coldkeys hold the subnet's alpha and how much, in total and by\ntheir role on the subnet: validator (a uid with a validator permit), miner\n(a uid without), owner (the owner hotkey's uid), trader (no uid there).\nRoles overlap, so their figures can add up to more than the totals. From\nwallet_balance, as of `block`: the same rows as /subnets/holder-stats.\n404 when the subnet has no holder.","operationId":"get_holder_stats_subnets__netuid__holder_stats_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HolderStats"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/holder-stats/history":{"get":{"tags":["subnets"],"summary":"Get Holder Stats History","description":"The figures of /subnets/{netuid}/holder-stats recorded once an hour,\noldest first. History starts when the recording job first ran; an hour it\nmissed (backend down) is absent, not filled in. At most 180 days a request.","operationId":"get_holder_stats_history_subnets__netuid__holder_stats_history_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"ISO 8601, UTC when no zone; default 30 days before end","title":"Start"},"description":"ISO 8601, UTC when no zone; default 30 days before end"},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"exclusive; default now","title":"End"},"description":"exclusive; default now"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HolderStatsHistory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/statistics":{"get":{"tags":["subnets"],"summary":"Get Subnet Statistics","description":"Holders of the subnet's alpha now (as /subnets/{netuid}/holder-stats;\nnull without any), and one point per candle of the range: price, alpha in\nand out of the pool, market cap and FDV in TAO, at the candle's last block.\n\nPages run newest to oldest, oldest first inside a page; follow `next` for\nolder points until it is null (as /ohlcv). Market cap is null where the\nsupply is not kept: hours stored before it was recorded, and blocks\nolder than subnet_alpha_out's retention. 404 when the subnet has no pool.","operationId":"get_subnet_statistics_subnets__netuid__statistics_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"interval","in":"query","required":false,"schema":{"enum":["1h","4h","1d","1w"],"type":"string","default":"1h","title":"Interval"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"ISO 8601, UTC when no zone; default: the first block exported","title":"Start"},"description":"ISO 8601, UTC when no zone; default: the first block exported"},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"exclusive; default: now","title":"End"},"description":"exclusive; default: now"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page","title":"Cursor"},"description":"`next` from the previous page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"points per page; 720 hours is 30 days","default":720,"title":"Limit"},"description":"points per page; 720 hours is 30 days"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubnetStatistics"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/statistics/top-position-changes":{"get":{"tags":["subnets"],"summary":"Get Top Position Changes","description":"The 10 wallets whose position on the subnet gained the most TAO value\nover the range, and the 10 that lost the most, as Backprop's: alpha x price\nat the newest balance snapshot (every 300 blocks, so up to ~1 h behind)\nminus alpha x price 7200 (`1d`) or 50400 (`7d`) blocks before it. Trades,\nemission and the price move all count; a position opened or closed in the\nrange counts from or to 0 (Backprop leaves closed ones out). Empty lists\nfor a subnet with no change. 503 when Redis, where a job keeps the lists,\nis unavailable or the job has not run yet.","operationId":"get_top_position_changes_subnets__netuid__statistics_top_position_changes_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"timeRange","in":"query","required":true,"schema":{"enum":["1d","7d"],"type":"string","title":"Timerange"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionChangeList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/subnets/{netuid}/statistics/top-purchases":{"get":{"tags":["subnets"],"summary":"Get Top Purchases","description":"The 10 biggest buys (by TAO paid) and the 10 biggest sells (by TAO\nreceived) against the subnet's pool over the last 7200 (`1d`) or 50400\n(`7d`) blocks, in Backprop's shape: `inAmt` went into the pool, `outAmt`\ncame out. The trades of /subnets/{netuid}/trades, with its `kind` and\n`include_mev`: transfers of stake within the subnet are not trades and stay\nout, where Backprop counts them (on SN64 they were 35 of the 50 biggest 7d\nbuy rows). 503 before the trades are exported.","operationId":"get_top_purchases_subnets__netuid__statistics_top_purchases_get","parameters":[{"name":"netuid","in":"path","required":true,"schema":{"type":"integer","maximum":300,"minimum":0,"title":"Netuid"}},{"name":"timeRange","in":"query","required":true,"schema":{"enum":["1d","7d"],"type":"string","title":"Timerange"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["trade","swap"],"type":"string"},{"type":"null"}],"description":"`trade` for buys and sells only, `swap` for cross-subnet swap legs only; omit for both","title":"Kind"},"description":"`trade` for buys and sells only, `swap` for cross-subnet swap legs only; omit for both"},{"name":"include_mev","in":"query","required":false,"schema":{"type":"boolean","description":"legs of detected MEV pairs count, flagged `mev`; `false` leaves them out","default":true,"title":"Include Mev"},"description":"legs of detected MEV pairs count, flagged `mev`; `false` leaves them out"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopTradeList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/prices/tao-usd":{"get":{"tags":["prices"],"summary":"Get TAO/USD Price","description":"TAO's price in USD. From live exchange feeds where they are on (`source`\n`okx` or `kraken`), otherwise CoinGecko's aggregate, refreshed about every 30\ns (`coingecko`); `updated_at` is the source's time for the price. The route\nanswers from our copy and never calls a source. 503 with `Retry-After` when\nno source has a price.","operationId":"get_tao_usd_prices_tao_usd_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaoPrice"}}}}}}},"/exports/trades":{"get":{"tags":["exports"],"summary":"Get Trade Files","description":"Every pool trade on every subnet as Parquet (zstd), one file per 7,200\nblocks (~a day, ~1 MB): a backfill is one download a day instead of ~200\npages of /subnets/trades. This is the list, newest file first, `limit`\n(up to 100) a page; `/exports/trades/{block}` fetches one.\n\nFile k holds blocks `k*7200 .. k*7200+7199`, so the file for block b\nstarts at `b // 7200 * 7200`. Rows are /subnets/trades?include_mev=true's,\noldest first, with the chain's integers: `block`, `event_index`,\n`extrinsic_index`, `time`, `netuid`, `address`, `validator` (SS58),\n`type`, `kind`, `mev`, `tao_amount_rao`, `alpha_amount_raw`, `fee_rao`\n(rao and alpha have 9 decimals), `price` (TAO per alpha), `id` (as on\n/subnets/trades and /sse/trades).\n\nA `complete` file never changes. The newest is open (`complete` false): it\nis rewritten about every 10 minutes up to `last_block`; carry on from\nthere with /sse/trades (`Last-Event-ID`) or /subnets/trades with\n`start_block`. History starts at dTAO, block 4,920,351.","operationId":"get_trade_files_exports_trades_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`next` from the previous page; omit for the first","title":"Cursor"},"description":"`next` from the previous page; omit for the first"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradeFilesPage"}}}},"503":{"description":"Exports are not configured or not written yet"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/exports/trades/{block}":{"get":{"tags":["exports"],"summary":"Get Trade File","description":"The file holding `block` (the one starting at `block // 7200 * 7200`),\nas Parquet with `Content-Disposition: attachment`: one request, the API\nkey sent only here. A complete file is `Cache-Control: private,\nimmutable`; the open one `no-cache`.\n\n`url=true` answers `{url, expires_at}` instead: a URL signed for that one\nfile, `GET` only, valid 15 minutes, that downloads from Google Cloud\nStorage without an API key. For bulk or parallel downloads, which then\ndo not pass through this API.","operationId":"get_trade_file_exports_trades__block__get","parameters":[{"name":"block","in":"path","required":true,"schema":{"type":"integer","minimum":0,"description":"any block; the file holding it is the one sent","title":"Block"},"description":"any block; the file holding it is the one sent"},{"name":"url","in":"query","required":false,"schema":{"type":"boolean","description":"true: a signed GCS URL for the file, as JSON, instead of the file","default":false,"title":"Url"},"description":"true: a signed GCS URL for the file, as JSON, instead of the file"}],"responses":{"200":{"description":"The file (Parquet), or with `url=true` its signed URL (JSON)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradeFileUrl"}},"application/vnd.apache.parquet":{}}},"404":{"description":"No file holds that block yet"},"503":{"description":"Exports are not configured or not written yet"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/meta/freshness":{"get":{"tags":["meta"],"summary":"Freshness","description":"How far behind the chain each store is. `source_block` is Amp's head and\n`indexed_block` the newest block in PostgreSQL: the same numbers as the\n`X-Source-Block` and `X-Indexed-Block` headers on every response. `exports`\nis each exported table's watermark: every row up to its `block` is in.\nThe tables are exported by separate jobs, so they can be blocks apart, and\na route reading a table trails `source_block` by that table's lag.\n`cache_ttl_secs` is the `max-age` of the per-block routes; a response's\n`Age` header says how far into it a cached copy is.","operationId":"freshness_meta_freshness_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Freshness"}}}}}}}},"components":{"schemas":{"Account":{"properties":{"address":{"type":"string","title":"Address"},"is_coldkey":{"type":"boolean","title":"Is Coldkey"},"is_hotkey":{"type":"boolean","title":"Is Hotkey"},"as_coldkey":{"anyOf":[{"$ref":"#/components/schemas/AccountAsColdkey"},{"type":"null"}]},"as_hotkey":{"anyOf":[{"$ref":"#/components/schemas/AccountAsHotkey"},{"type":"null"}]},"synced":{"$ref":"#/components/schemas/AccountSynced"}},"type":"object","required":["address","is_coldkey","is_hotkey","as_coldkey","as_hotkey","synced"],"title":"Account"},"AccountAsColdkey":{"properties":{"free_tao":{"type":"number","title":"Free Tao"},"staked_tao_value":{"type":"number","title":"Staked Tao Value"},"stake":{"items":{"$ref":"#/components/schemas/AccountStake"},"type":"array","title":"Stake"},"owned_hotkeys":{"items":{"$ref":"#/components/schemas/OwnedHotkey"},"type":"array","title":"Owned Hotkeys"},"owned_hotkeys_total":{"type":"integer","title":"Owned Hotkeys Total"}},"type":"object","required":["free_tao","staked_tao_value","stake","owned_hotkeys","owned_hotkeys_total"],"title":"AccountAsColdkey"},"AccountAsHotkey":{"properties":{"owner_coldkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Coldkey"},"free_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Free Tao"},"subnets":{"items":{"$ref":"#/components/schemas/AccountHotkeySubnet"},"type":"array","title":"Subnets"}},"type":"object","required":["owner_coldkey","free_tao","subnets"],"title":"AccountAsHotkey"},"AccountHotkeySubnet":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"uid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Uid"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"stake_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Stake Alpha"},"own_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Own Alpha"},"parents":{"items":{"$ref":"#/components/schemas/HotkeyLink"},"type":"array","title":"Parents","default":[]},"parents_total":{"type":"integer","title":"Parents Total","default":0},"children":{"items":{"$ref":"#/components/schemas/HotkeyLink"},"type":"array","title":"Children","default":[]}},"type":"object","required":["netuid","uid","role","stake_alpha","own_alpha"],"title":"AccountHotkeySubnet"},"AccountRole":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"uid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Uid"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"}},"type":"object","required":["netuid","uid","role"],"title":"AccountRole"},"AccountStake":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"alpha":{"type":"number","title":"Alpha"},"tao_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao Value"},"validators":{"type":"integer","title":"Validators"}},"type":"object","required":["netuid","alpha","tao_value","validators"],"title":"AccountStake"},"AccountSynced":{"properties":{"wallet_balance":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Wallet Balance"},"hotkey_state":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hotkey State"},"uids":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Uids"}},"type":"object","required":["wallet_balance","hotkey_state","uids"],"title":"AccountSynced"},"AlphaChange":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx"},"event":{"type":"string","enum":["AlphaBurned","AlphaRecycled"],"title":"Event"},"coldkey":{"type":"string","title":"Coldkey"},"hotkey":{"type":"string","title":"Hotkey"},"netuid":{"type":"integer","title":"Netuid"},"alpha_amount":{"type":"number","title":"Alpha Amount"}},"type":"object","required":["block","time","extrinsic_idx","event","coldkey","hotkey","netuid","alpha_amount"],"title":"AlphaChange","description":"One AlphaBurned or AlphaRecycled."},"BalancePoint":{"properties":{"block":{"type":"integer","title":"Block"},"free_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Free Tao","description":"Free TAO at the end of the interval; 0 before since_block, null before staked_since_block"},"staked_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Staked Tao","description":"Alpha held on every subnet times its price, in TAO, at the end of the interval; null before staked_since_block"},"total_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Tao","description":"free_tao + staked_tao; null when either is"}},"type":"object","required":["block","free_tao","staked_tao","total_tao"],"title":"BalancePoint"},"Basket":{"properties":{"as_of_block":{"type":"integer","title":"As Of Block"},"nav_tao":{"type":"number","title":"Nav Tao"},"spot_nav_tao":{"type":"number","title":"Spot Nav Tao"},"shares":{"type":"integer","title":"Shares"},"share_price_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Share Price Tao"},"deposited_tao":{"type":"number","title":"Deposited Tao"},"redeemed_tao":{"type":"number","title":"Redeemed Tao"},"lifetime_return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lifetime Return Pct"},"return_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Return 30D Pct"},"apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apy 30D Pct"},"return_window_blocks":{"type":"integer","title":"Return Window Blocks"},"basket_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Basket Rate","description":"SubtensorModule.BasketRate: the fund's cumulative shares per TAO of root stake. What a unit of root stake earned between two snapshots is the difference, in TAO: Δbasket_rate x root stake (TAO) x share_price_tao. Null on snapshots written before it was read"},"basket_rate_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Basket Rate Raw","description":"The same rate exactly: the i128 bits of the chain's I96F32, as a decimal string (/ 2^32 = basket_rate). Subtract these for a difference that keeps every bit"},"holdings":{"items":{"$ref":"#/components/schemas/BasketHolding"},"type":"array","title":"Holdings"},"hotkey":{"type":"string","title":"Hotkey"}},"type":"object","required":["as_of_block","nav_tao","spot_nav_tao","shares","share_price_tao","deposited_tao","redeemed_tao","lifetime_return_pct","return_30d_pct","apy_30d_pct","return_window_blocks","basket_rate","basket_rate_raw","holdings","hotkey"],"title":"Basket","description":"/baskets/{hotkey}: the fund at its newest snapshot, with its holdings."},"BasketHolding":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"alpha":{"type":"number","title":"Alpha"},"spot_tao":{"type":"number","title":"Spot Tao"},"realizable_tao":{"type":"number","title":"Realizable Tao"},"weight_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Pct"}},"type":"object","required":["netuid","alpha","spot_tao","realizable_tao","weight_pct"],"title":"BasketHolding"},"BasketPoint":{"properties":{"block":{"type":"integer","title":"Block"},"nav_tao":{"type":"number","title":"Nav Tao"},"spot_nav_tao":{"type":"number","title":"Spot Nav Tao"},"shares":{"type":"integer","title":"Shares"},"share_price_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Share Price Tao"},"deposited_tao":{"type":"number","title":"Deposited Tao"},"redeemed_tao":{"type":"number","title":"Redeemed Tao"},"basket_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Basket Rate","description":"SubtensorModule.BasketRate: the fund's cumulative shares per TAO of root stake. What a unit of root stake earned between two snapshots is the difference, in TAO: Δbasket_rate x root stake (TAO) x share_price_tao. Null on snapshots written before it was read"},"basket_rate_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Basket Rate Raw","description":"The same rate exactly: the i128 bits of the chain's I96F32, as a decimal string (/ 2^32 = basket_rate). Subtract these for a difference that keeps every bit"}},"type":"object","required":["block","nav_tao","spot_nav_tao","shares","share_price_tao","deposited_tao","redeemed_tao","basket_rate","basket_rate_raw"],"title":"BasketPoint","description":"/baskets/{hotkey}/history: one snapshot."},"BasketSummary":{"properties":{"as_of_block":{"type":"integer","title":"As Of Block"},"nav_tao":{"type":"number","title":"Nav Tao"},"spot_nav_tao":{"type":"number","title":"Spot Nav Tao"},"shares":{"type":"integer","title":"Shares"},"share_price_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Share Price Tao"},"deposited_tao":{"type":"number","title":"Deposited Tao"},"redeemed_tao":{"type":"number","title":"Redeemed Tao"},"lifetime_return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lifetime Return Pct"},"return_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Return 30D Pct"},"apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apy 30D Pct"},"return_window_blocks":{"type":"integer","title":"Return Window Blocks"},"basket_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Basket Rate","description":"SubtensorModule.BasketRate: the fund's cumulative shares per TAO of root stake. What a unit of root stake earned between two snapshots is the difference, in TAO: Δbasket_rate x root stake (TAO) x share_price_tao. Null on snapshots written before it was read"},"basket_rate_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Basket Rate Raw","description":"The same rate exactly: the i128 bits of the chain's I96F32, as a decimal string (/ 2^32 = basket_rate). Subtract these for a difference that keeps every bit"},"hotkey":{"type":"string","title":"Hotkey"}},"type":"object","required":["as_of_block","nav_tao","spot_nav_tao","shares","share_price_tao","deposited_tao","redeemed_tao","lifetime_return_pct","return_30d_pct","apy_30d_pct","return_window_blocks","basket_rate","basket_rate_raw","hotkey"],"title":"BasketSummary","description":"/baskets: one fund of the newest snapshot, without its holdings."},"Block":{"properties":{"block_num":{"type":"integer","title":"Block Num"},"depth":{"type":"integer","title":"Depth"},"ts":{"type":"string","format":"date-time","title":"Ts"},"extrinsic_count":{"type":"integer","title":"Extrinsic Count"},"hash":{"type":"string","title":"Hash"},"parent_hash":{"type":"string","title":"Parent Hash"},"state_root":{"type":"string","title":"State Root"},"extrinsics_root":{"type":"string","title":"Extrinsics Root"}},"type":"object","required":["block_num","depth","ts","extrinsic_count","hash","parent_hash","state_root","extrinsics_root"],"title":"Block","description":"One block header, the raw bittensor/finney dataset's `blocks` table:\namp_dtao.blocks for /blocks, Amp over Flight for /blocks/latest. `ts` is\n`_ts`, the block's own timestamp. The four hashes are 0x-prefixed hex."},"Candle":{"properties":{"time":{"type":"string","format":"date-time","title":"Time"},"open":{"type":"number","title":"Open"},"high":{"type":"number","title":"High"},"low":{"type":"number","title":"Low"},"close":{"type":"number","title":"Close"},"volume_tao":{"type":"number","title":"Volume Tao"},"volume_alpha":{"type":"number","title":"Volume Alpha"},"trades":{"type":"integer","title":"Trades"},"first_block":{"type":"integer","title":"First Block"},"last_block":{"type":"integer","title":"Last Block"},"alpha_in":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha In"},"alpha_out":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Out"}},"type":"object","required":["time","open","high","low","close","volume_tao","volume_alpha","trades","first_block","last_block"],"title":"Candle"},"ColdkeySwap":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx"},"event":{"type":"string","enum":["ColdkeySwapAnnounced","ColdkeySwapped","ColdkeySwapReset","ColdkeySwapDisputed","ColdkeySwapCleared","AllBalanceUnstakedAndTransferredToNewColdkey"],"title":"Event"},"old_coldkey":{"type":"string","title":"Old Coldkey"},"new_coldkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Coldkey"},"new_coldkey_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Coldkey Hash"},"tao_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao Amount"}},"type":"object","required":["block","time","extrinsic_idx","event","old_coldkey","new_coldkey","new_coldkey_hash","tao_amount"],"title":"ColdkeySwap","description":"One event of a coldkey swap's lifecycle. `new_coldkey` is set only where\nthe chain names it (Swapped, AllBalance...); an announcement names only the\nhash of the new key, which is `new_coldkey_hash`."},"EmissionPoint":{"properties":{"block":{"type":"integer","title":"Block"},"ts":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ts"},"subnets":{"anyOf":[{"items":{"$ref":"#/components/schemas/EmissionSubnet"},"type":"array"},{"type":"null"}],"title":"Subnets"}},"type":"object","required":["block","ts","subnets"],"title":"EmissionPoint"},"EmissionSubnet":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"emission_alpha":{"type":"number","title":"Emission Alpha"},"alpha":{"type":"number","title":"Alpha"},"apr_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apr Pct"}},"type":"object","required":["netuid","emission_alpha","alpha","apr_pct"],"title":"EmissionSubnet"},"ExportWatermark":{"properties":{"table":{"type":"string","title":"Table"},"block":{"type":"integer","title":"Block"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["table","block","updated_at"],"title":"ExportWatermark","description":"One exported table's newest commit: every row up to `block` is in."},"Extrinsic":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"extrinsic_idx":{"type":"integer","title":"Extrinsic Idx"},"pallet":{"type":"string","title":"Pallet"},"call":{"type":"string","title":"Call"},"signer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer","description":"SS58; null for an inherent (Timestamp.set, Drand.write_pulse, Ethereum.transact, MevShield.announce_next_key). Through Proxy.proxy, the proxy"},"nonce":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nonce"},"tip_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tip Tao"},"success":{"type":"boolean","title":"Success"}},"type":"object","required":["block","time","extrinsic_idx","pallet","call","signer","nonce","tip_tao","success"],"title":"Extrinsic","description":"One extrinsic, its outermost call only: a call made through Proxy.proxy,\na Utility batch or MevShield.submit_encrypted shows as that wrapper, and\nits inner call and arguments are not exported."},"Freshness":{"properties":{"source_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Block"},"indexed_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Indexed Block"},"cache_ttl_secs":{"type":"integer","title":"Cache Ttl Secs"},"exports":{"items":{"$ref":"#/components/schemas/ExportWatermark"},"type":"array","title":"Exports"}},"type":"object","required":["source_block","indexed_block","cache_ttl_secs","exports"],"title":"Freshness","description":"/meta/freshness: how far behind the chain each store is. A store's lag\nis source_block minus its block; Amp itself trails the chain ~2-3 s."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Holder":{"properties":{"coldkey":{"type":"string","title":"Coldkey"},"alpha":{"type":"number","title":"Alpha"},"cost_basis_tao":{"type":"number","title":"Cost Basis Tao"},"last_change_block":{"type":"integer","title":"Last Change Block"}},"type":"object","required":["coldkey","alpha","cost_basis_tao","last_change_block"],"title":"Holder"},"HolderStats":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"holders":{"type":"integer","title":"Holders"},"alpha":{"type":"number","title":"Alpha"},"validator_holders":{"type":"integer","title":"Validator Holders"},"validator_alpha":{"type":"number","title":"Validator Alpha"},"miner_holders":{"type":"integer","title":"Miner Holders"},"miner_alpha":{"type":"number","title":"Miner Alpha"},"owner_holders":{"type":"integer","title":"Owner Holders"},"owner_alpha":{"type":"number","title":"Owner Alpha"},"trader_holders":{"type":"integer","title":"Trader Holders"},"trader_alpha":{"type":"number","title":"Trader Alpha"},"primary_validator_holders":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Primary Validator Holders"},"primary_validator_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Primary Validator Alpha"},"primary_miner_holders":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Primary Miner Holders"},"primary_miner_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Primary Miner Alpha"}},"type":"object","required":["netuid","block","time","holders","alpha","validator_holders","validator_alpha","miner_holders","miner_alpha","owner_holders","owner_alpha","trader_holders","trader_alpha","primary_validator_holders","primary_validator_alpha","primary_miner_holders","primary_miner_alpha"],"title":"HolderStats","description":"Holders of a subnet's alpha by their role on it (/subnets/{netuid}/holder-stats).\nRoles overlap -- one coldkey can hold a validator and a miner uid -- so the\nrole figures can add up to more than the totals. A trader holds no uid on\nthe subnet. For a split that adds up (a pie), count each coldkey under its\nfirst role in the order owner, validator, miner: owner_ + primary_validator_\n+ primary_miner_ + trader_ = the totals."},"HolderStatsHistory":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"items":{"items":{"$ref":"#/components/schemas/HolderStats"},"type":"array","title":"Items"}},"type":"object","required":["netuid","start","end","items"],"title":"HolderStatsHistory"},"HolderStatsList":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"items":{"items":{"$ref":"#/components/schemas/HolderStats"},"type":"array","title":"Items"}},"type":"object","required":["block","time","items"],"title":"HolderStatsList"},"HotkeyLink":{"properties":{"hotkey":{"type":"string","title":"Hotkey"},"proportion":{"type":"number","title":"Proportion"}},"type":"object","required":["hotkey","proportion"],"title":"HotkeyLink","description":"One childkey link on a subnet: the other hotkey, and the share of the\nparent's stake there routed to the child."},"HotkeySwap":{"properties":{"id":{"type":"string","title":"Id"},"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx"},"event":{"type":"string","enum":["HotkeySwapped","HotkeySwappedOnSubnet"],"title":"Event"},"coldkey":{"type":"string","title":"Coldkey"},"old_hotkey":{"type":"string","title":"Old Hotkey"},"new_hotkey":{"type":"string","title":"New Hotkey"},"netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Netuid"}},"type":"object","required":["id","block","time","extrinsic_idx","event","coldkey","old_hotkey","new_hotkey","netuid"],"title":"HotkeySwap"},"LastNetworkRegistration":{"properties":{"block":{"type":"integer","title":"Block"},"lock_tao":{"type":"number","title":"Lock Tao"},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx","description":"this and the fields below come from /subnets/registration/attempts; null in the few blocks it trails the chain"},"time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Time"},"coldkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coldkey"},"hotkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hotkey"},"netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Netuid"},"pruned_netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pruned Netuid"},"queued":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Queued"}},"type":"object","required":["block","lock_tao"],"title":"LastNetworkRegistration","description":"The last register_network that locked TAO: what starts the rate limit\nand sets the next lock cost."},"LimitOrder":{"properties":{"id":{"type":"string","title":"Id"},"time":{"type":"string","format":"date-time","title":"Time"},"block":{"type":"integer","title":"Block"},"event":{"type":"string","enum":["OrderExecuted","OrderCancelled","OrderSkipped","LimitOrdersPalletStatusChanged"],"title":"Event"},"order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Id"},"signer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer"},"netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Netuid"},"order_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Type"},"amount_in":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount In"},"amount_out":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount Out"},"skip_reason":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Skip Reason"},"skip_pallet":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Skip Pallet"},"skip_error":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Skip Error"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"link":{"anyOf":[{"$ref":"#/components/schemas/LimitOrderLink"},{"type":"null"}]}},"type":"object","required":["id","time","block","event","order_id","signer","netuid","order_type","amount_in","amount_out","skip_reason","skip_pallet","skip_error","enabled"],"title":"LimitOrder"},"LimitOrderArgs":{"properties":{"version":{"type":"integer","title":"Version"},"hotkey":{"type":"string","title":"Hotkey"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount"},"linked_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linked Provider"},"linked_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Linked Pct"},"limit_price":{"type":"integer","title":"Limit Price"},"expiry":{"type":"integer","title":"Expiry"},"fee_rate":{"type":"number","title":"Fee Rate"},"fee_recipient":{"type":"string","title":"Fee Recipient"},"relayer":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Relayer"},"max_slippage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Slippage"},"chain_id":{"type":"integer","title":"Chain Id"},"partial_fills_enabled":{"type":"boolean","title":"Partial Fills Enabled"},"has_linked_order":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Linked Order"},"partial_fill":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Partial Fill"}},"type":"object","required":["version","hotkey","amount","linked_provider","linked_pct","limit_price","expiry","fee_rate","fee_recipient","relayer","max_slippage","chain_id","partial_fills_enabled","has_linked_order","partial_fill"],"title":"LimitOrderArgs","description":"The signed order as submitted. Amounts in TAO or alpha, following the\nside; rates are fractions (Perbill / 1e9)."},"LimitOrderCall":{"properties":{"name":{"type":"string","enum":["execute_orders","execute_batched_orders","cancel_order"],"title":"Name"},"path":{"type":"string","title":"Path"},"wrappers":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wrappers"},"signer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"},"netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Netuid"},"should_fail":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Fail"},"n_orders":{"type":"integer","title":"N Orders"},"extrinsic_success":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Extrinsic Success"}},"type":"object","required":["name","path","wrappers","signer","origin","netuid","should_fail","n_orders","extrinsic_success"],"title":"LimitOrderCall","description":"The LimitOrders call that carried the order, found inside any batch or\nproxy around it (scripts/sync_limit_order_calls.py)."},"LimitOrderEvent":{"properties":{"id":{"type":"string","title":"Id"},"time":{"type":"string","format":"date-time","title":"Time"},"block":{"type":"integer","title":"Block"},"event":{"type":"string","enum":["OrderExecuted","OrderCancelled","OrderSkipped","LimitOrdersPalletStatusChanged"],"title":"Event"},"order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Id"},"signer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer"},"netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Netuid"},"order_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Type"},"amount_in":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount In"},"amount_out":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount Out"},"skip_reason":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Skip Reason"},"skip_pallet":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Skip Pallet"},"skip_error":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Skip Error"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"link":{"anyOf":[{"$ref":"#/components/schemas/LimitOrderLink"},{"type":"null"}]},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx"},"call":{"anyOf":[{"$ref":"#/components/schemas/LimitOrderCall"},{"type":"null"}]},"order":{"anyOf":[{"$ref":"#/components/schemas/LimitOrderArgs"},{"type":"null"}]},"state":{"anyOf":[{"$ref":"#/components/schemas/LimitOrderState"},{"type":"null"}]},"latest_state":{"anyOf":[{"$ref":"#/components/schemas/LimitOrderState"},{"type":"null"}]}},"type":"object","required":["id","time","block","event","order_id","signer","netuid","order_type","amount_in","amount_out","skip_reason","skip_pallet","skip_error","enabled","extrinsic_idx","call","order","state","latest_state"],"title":"LimitOrderEvent","description":"A limit-order event with the call behind it and the order's state. `call`,\n`order` and both states are null past `synced_block`, and on\nLimitOrdersPalletStatusChanged, which names no order. `signer`, `netuid`\nand `order_type` fall back to the decoded order, so OrderSkipped has them."},"LimitOrderEventPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/LimitOrderEvent"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"},"start_block":{"type":"integer","title":"Start Block"},"end_block":{"type":"integer","title":"End Block"},"synced_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Synced Block"}},"type":"object","required":["items","limit","start_block","end_block","synced_block"],"title":"LimitOrderEventPage"},"LimitOrderLink":{"properties":{"output":{"anyOf":[{"$ref":"#/components/schemas/LinkedOutput"},{"type":"null"}]},"drew_from":{"anyOf":[{"$ref":"#/components/schemas/LinkedDraw"},{"type":"null"}]}},"type":"object","required":["output","drew_from"],"title":"LimitOrderLink"},"LimitOrderState":{"properties":{"block":{"type":"integer","title":"Block"},"status":{"anyOf":[{"type":"string","enum":["fulfilled","partially_filled","cancelled"]},{"type":"null"}],"title":"Status"},"filled":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Filled"}},"type":"object","required":["block","status","filled"],"title":"LimitOrderState","description":"LimitOrders.Orders(order_id) at the end of a block. `status` null means no\nentry: the order was never filled or cancelled (a skipped order stays so)."},"LinkedDraw":{"properties":{"provider":{"type":"string","title":"Provider"},"amount":{"type":"number","title":"Amount"},"undrawn":{"type":"number","title":"Undrawn"},"block":{"type":"integer","title":"Block"}},"type":"object","required":["provider","amount","undrawn","block"],"title":"LinkedDraw","description":"The output this order drew on (LinkedOutputConsumed, consumer = this order)."},"LinkedOutput":{"properties":{"asset":{"type":"string","enum":["tao","alpha"],"title":"Asset"},"netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Netuid"},"hotkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hotkey"},"total":{"type":"number","title":"Total"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"recorded_block":{"type":"integer","title":"Recorded Block"},"status":{"type":"string","enum":["open","consumed","pruned"],"title":"Status"},"consumed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consumed By"},"consumed_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Consumed Amount"},"undrawn":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Undrawn"},"closed_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Closed Block"}},"type":"object","required":["asset","netuid","hotkey","total","expires_at","recorded_block","status","consumed_by","consumed_amount","undrawn","closed_block"],"title":"LinkedOutput","description":"What the order's execution left for a linked order to draw on\n(LinkedOutputRecorded) and what has become of it since."},"LinkedOutputEvent":{"properties":{"id":{"type":"string","title":"Id"},"time":{"type":"string","format":"date-time","title":"Time"},"block":{"type":"integer","title":"Block"},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx"},"event":{"type":"string","enum":["LinkedOutputRecorded","LinkedOutputConsumed","LinkedOutputPruned"],"title":"Event"},"order_id":{"type":"string","title":"Order Id"},"consumer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consumer"},"signer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer"},"asset":{"anyOf":[{"type":"string","enum":["tao","alpha"]},{"type":"null"}],"title":"Asset"},"netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Netuid"},"hotkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hotkey"},"total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount"},"undrawn":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Undrawn"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["id","time","block","extrinsic_idx","event","order_id","consumer","signer","asset","netuid","hotkey","total","amount","undrawn","expires_at"],"title":"LinkedOutputEvent","description":"One LimitOrders.LinkedOutput* event (OrderV2 linked orders). Which fields\nare set follows `event`:\n\n    LinkedOutputRecorded  order_id (provider), signer, asset, netuid + hotkey (alpha), total, expires_at\n    LinkedOutputConsumed  order_id (provider), consumer, amount, undrawn\n    LinkedOutputPruned    order_id, total"},"LongApy":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"hotkey":{"type":"string","title":"Hotkey"},"epochs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Epochs","description":"Epochs it earned dividends in, within the window; null on root rows"},"take_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Take Pct"},"net_apy_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Apy Pct","description":"Alpha per alpha; null on root rows"},"gross_apy_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Apy Pct"},"net_root_apy_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Apy Pct","description":"TAO per TAO: the root dividend at the subnet's price at each epoch"},"gross_root_apy_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Apy Pct"},"since_block":{"type":"integer","title":"Since Block","description":"Where the window starts: a year back, the subnet's registration or the start of the indexed history, whichever is latest -- shorter than a year of data, 1y is the same as all"},"to_block":{"type":"integer","title":"To Block","description":"Where it ends: the subnet's newest epoch the sync has read"},"direct_root_live":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Direct Root Live","description":"Root rows: root stake now, TAO"},"subnets":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subnets","description":"Root rows: subnets it has a root rate on"}},"type":"object","required":["netuid","hotkey","take_pct","since_block","to_block"],"title":"LongApy","description":"A validator's yield over a long window (/…/validators/apy, /validators/{hotkey}/apy),\nfrom validator_yield_daily, annualised by time: return over the window x\n365 days / its length. Simple, not compounded. Null on dust (average stake\nunder 1 alpha / 1 TAO per epoch)."},"MarketPoint":{"properties":{"time":{"type":"string","format":"date-time","title":"Time"},"block":{"type":"integer","title":"Block"},"price_tao":{"type":"number","title":"Price Tao"},"alpha_in":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha In"},"alpha_out":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Out"},"total_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Alpha"},"market_cap_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Market Cap Tao"},"fdv_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fdv Tao"}},"type":"object","required":["time","block","price_tao","alpha_in","alpha_out","total_alpha","market_cap_tao","fdv_tao"],"title":"MarketPoint","description":"A subnet's market at the close of one candle (/subnets/{netuid}/statistics)."},"MempoolTx":{"properties":{"hash":{"type":"string","title":"Hash","description":"blake2_256 of the extrinsic: the hash a wallet or polkadot.js returns on submit"},"status":{"type":"string","enum":["pending","included","replaced","dropped"],"title":"Status","description":"pending: in the pool, not yet in a block. included: in `block` at `extrinsic_idx`. replaced: a block holds another extrinsic with its signer and nonce (`replaced_by`), a resubmission with a higher tip or a cancel. dropped: missing from 60 pool reads in a row (~60 s) without reaching a block -- invalid, expired or evicted; pending again if seen again, included if found in a block after all"},"signer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer","description":"SS58; null when unsigned (an EVM Ethereum.transact) or undecodable"},"nonce":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nonce"},"tip_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tip Tao"},"length":{"type":"integer","title":"Length","description":"bytes"},"call":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call","description":"the outermost call, 'Proxy.proxy'; null when it does not decode"},"calls":{"items":{"type":"string"},"type":"array","title":"Calls","description":"the calls that run, through proxies, batches, multisig and sudo, each once: ['SubtensorModule.add_stake_limit', 'System.remark']. A MevShield.submit_encrypted shows only itself: its call is encrypted until included, as an extrinsic of its own"},"registration":{"type":"boolean","title":"Registration","description":"a SubtensorModule.register_network* among `calls`"},"encrypted":{"type":"boolean","title":"Encrypted","description":"a MevShield.submit_encrypted"},"first_seen":{"type":"string","format":"date-time","title":"First Seen"},"first_seen_block":{"type":"integer","title":"First Seen Block","description":"the chain's head when first seen"},"status_at":{"type":"string","format":"date-time","title":"Status At","description":"included or replaced: that block's timestamp; dropped: when last seen in the pool; pending: when first seen, or seen again after a drop"},"wait_seconds":{"type":"number","title":"Wait Seconds","description":"first seen to `status_at`; while pending, to now"},"block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Block","description":"included: its block; replaced: the replacement's"},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx","description":"included only: its position in the block"},"replaced_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replaced By","description":"replaced only: the hash of the extrinsic that took its nonce"},"seen_pending":{"type":"boolean","title":"Seen Pending","description":"false: never in the pool, found in its block -- sent to a block producer directly (signed only). Then `first_seen` is the block's time and `wait_seconds` 0"}},"type":"object","required":["hash","status","signer","nonce","tip_tao","length","call","calls","registration","encrypted","first_seen","first_seen_block","status_at","wait_seconds","block","extrinsic_idx","replaced_by","seen_pending"],"title":"MempoolTx","description":"/mempool/txs: an extrinsic seen waiting in the transaction pool, and\nwhat became of it."},"MetagraphRow":{"properties":{"uid":{"type":"integer","title":"Uid"},"hotkey":{"type":"string","title":"Hotkey"},"coldkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coldkey"},"role":{"anyOf":[{"type":"string","enum":["owner","validator","miner"]},{"type":"null"}],"title":"Role"},"validator_trust":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Validator Trust"},"consensus":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Consensus"},"incentive":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Incentive"},"dividends":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dividends"},"emission":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission"},"alpha_stake":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Stake"},"own_stake":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Own Stake"},"root_stake":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Root Stake"},"total_staked":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Staked"},"inherited_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Inherited Alpha"},"inherited_root":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Inherited Root"},"weighted_stake":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weighted Stake"},"reg_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reg Block"}},"type":"object","required":["uid","hotkey","coldkey","role","validator_trust","consensus","incentive","dividends","emission","alpha_stake","own_stake","root_stake","total_staked","inherited_alpha","inherited_root","weighted_stake","reg_block"],"title":"MetagraphRow"},"NativeTransfer":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx"},"from_account":{"type":"string","title":"From Account"},"to_account":{"type":"string","title":"To Account"},"amount":{"type":"number","title":"Amount"}},"type":"object","required":["block","time","extrinsic_idx","from_account","to_account","amount"],"title":"NativeTransfer","description":"One Balances.Transfer. No id: the table holds nothing unique per event --\ntwo identical transfers in one extrinsic are indistinguishable here."},"NetworkRegistrationAttempt":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Time"},"extrinsic_idx":{"type":"integer","title":"Extrinsic Idx","description":"position of the extrinsic in its block"},"call_path":{"type":"string","title":"Call Path","description":"where the call sits in the extrinsic: '0' called directly, '0.0' inside a proxy, '0.0.0' proxy > proxy, '0.2' item 2 of a batch"},"wrappers":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wrappers","description":"the calls around it, outermost first: 'Proxy.proxy > Proxy.proxy'; null when called directly"},"call":{"type":"string","enum":["register_network","register_network_with_identity"],"title":"Call"},"signer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signer","description":"SS58, the extrinsic's signer"},"coldkey":{"type":"string","title":"Coldkey","description":"SS58, the account the call ran as: a proxy's real account or a multisig's account, not its signer"},"hotkey":{"type":"string","title":"Hotkey"},"has_identity":{"type":"boolean","title":"Has Identity"},"status":{"type":"string","enum":["ok","failed","not_executed","unknown"],"title":"Status","description":"ok: it registered. failed: it returned an error, or was reverted with the batch_all, proxy or multisig around it. not_executed: a Utility.batch stopped at an earlier item, or a multisig approval fell short of its threshold. unknown: under a wrapper not followed (Sudo, as_derivative), or the extrinsic's events could not be matched to its calls (none by 2026-11-26)"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"'Pallet.Error' from the runtime's metadata, e.g. 'SubtensorModule.NetworkTxRateLimitExceeded'; null unless failed"},"netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Netuid","description":"the subnet it registered; null unless ok, and null when queued"},"pruned_netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pruned Netuid","description":"the subnet removed to make room for it; null when none was"},"queued":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Queued","description":"ok only: the registration waits for the pruned subnet's cleanup and registers ~20 blocks later (NetworkRegistrationQueued, since spec 432); /subnets/events has that block"},"lock_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lock Tao","description":"the lock paid; ok rows only"}},"type":"object","required":["block","time","extrinsic_idx","call_path","wrappers","call","signer","coldkey","hotkey","has_identity","status","error","netuid","pruned_netuid","queued","lock_tao"],"title":"NetworkRegistrationAttempt","description":"/subnets/registration/attempts: one register_network call, failed ones\nincluded. A call made through a proxy or a batch is its own row."},"NetworkRegistrationReadiness":{"properties":{"block":{"type":"integer","title":"Block","description":"the block the figures are for: the newest block Amp holds"},"as_of_block":{"type":"integer","title":"As Of Block","description":"where the parameters were read from the chain, a few blocks earlier; the cost is carried forward from there"},"lock_cost_tao":{"type":"number","title":"Lock Cost Tao","description":"what a registration at `block` would lock"},"min_lock_cost_tao":{"type":"number","title":"Min Lock Cost Tao"},"rate_limit_blocks":{"type":"integer","title":"Rate Limit Blocks","description":"blocks from the last registration to the next window"},"lock_reduction_interval_blocks":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lock Reduction Interval Blocks","description":"blocks over which the lock decays from twice the last one: NetworkLockReductionInterval scaled by the halving; null until the chain's cost has been seen above the minimum"},"last_registration":{"$ref":"#/components/schemas/LastNetworkRegistration"},"next_window_block":{"type":"integer","title":"Next Window Block"},"window_open":{"type":"boolean","title":"Window Open","description":"true from next_window_block until someone registers"},"blocks_until_window":{"type":"integer","title":"Blocks Until Window","description":"0 once open"},"expected_lock_cost_at_window_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expected Lock Cost At Window Tao","description":"the cost at next_window_block if no one registers before it; with the window open, what it cost when it opened. Registering then pays 1.25x the last lock"},"subnets":{"type":"integer","title":"Subnets","description":"subnets registered, root left out"},"subnet_limit":{"type":"integer","title":"Subnet Limit","description":"at the limit, a registration prunes a subnet and is queued"}},"type":"object","required":["block","as_of_block","lock_cost_tao","min_lock_cost_tao","rate_limit_blocks","lock_reduction_interval_blocks","last_registration","next_window_block","window_open","blocks_until_window","expected_lock_cost_at_window_tao","subnets","subnet_limit"],"title":"NetworkRegistrationReadiness","description":"/subnets/registration: what registering a subnet costs now and when the\nnext one can.\n\ncost(b) = max(min_lock, 2 x last lock - floor(last lock / interval) x (b - last block)),\nthe runtime's get_network_lock_cost; the next window opens at last block +\nrate_limit_blocks."},"OwnedHotkey":{"properties":{"hotkey":{"type":"string","title":"Hotkey"},"free_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Free Tao"},"subnets":{"items":{"$ref":"#/components/schemas/AccountRole"},"type":"array","title":"Subnets","default":[]}},"type":"object","required":["hotkey","free_tao"],"title":"OwnedHotkey"},"Page_AlphaChange_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AlphaChange"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[AlphaChange]"},"Page_BasketPoint_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BasketPoint"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[BasketPoint]"},"Page_Block_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Block"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[Block]"},"Page_ColdkeySwap_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ColdkeySwap"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[ColdkeySwap]"},"Page_Extrinsic_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Extrinsic"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[Extrinsic]"},"Page_Holder_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Holder"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[Holder]"},"Page_HotkeyLink_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/HotkeyLink"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[HotkeyLink]"},"Page_HotkeySwap_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/HotkeySwap"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[HotkeySwap]"},"Page_LimitOrder_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/LimitOrder"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[LimitOrder]"},"Page_LinkedOutputEvent_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/LinkedOutputEvent"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[LinkedOutputEvent]"},"Page_MempoolTx_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MempoolTx"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[MempoolTx]"},"Page_NativeTransfer_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NativeTransfer"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[NativeTransfer]"},"Page_NetworkRegistrationAttempt_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NetworkRegistrationAttempt"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[NetworkRegistrationAttempt]"},"Page_PositionDay_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PositionDay"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[PositionDay]"},"Page_RankedValidator_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RankedValidator"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[RankedValidator]"},"Page_StakeMovement_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StakeMovement"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[StakeMovement]"},"Page_StakingAction_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StakingAction"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[StakingAction]"},"Page_SubnetEvent_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SubnetEvent"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[SubnetEvent]"},"Page_Trade_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[Trade]"},"Page_Transfer_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Transfer"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[Transfer]"},"Page_ValidatorStaker_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ValidatorStaker"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[ValidatorStaker]"},"Page_WalletTransaction_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WalletTransaction"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[WalletTransaction]"},"Page_WeightEvent_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WeightEvent"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["items","limit"],"title":"Page[WeightEvent]"},"PendingColdkeySwap":{"properties":{"block":{"type":"integer","title":"Block"},"extrinsicIndex":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsicindex"},"timestamp":{"type":"integer","title":"Timestamp"},"executionBlock":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Executionblock"}},"type":"object","required":["block","extrinsicIndex","timestamp"],"title":"PendingColdkeySwap"},"PnlPoint":{"properties":{"block":{"type":"integer","title":"Block"},"ts":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ts","description":"Time of the block the figures are read at: the interval's last, or synced_block for the newest, still running point"},"realized":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Realized","description":"Realized PnL in TAO, running total since since_block; null before it"},"unrealized":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unrealized","description":"Σ alpha × price − cost basis then, in TAO; an estimated cost (cost_estimated) is priced at its seed block, as /positions' avg_cost"},"emission_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Income"},"adjustment":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Adjustment"},"total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total"},"cost_estimated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cost Estimated"}},"type":"object","required":["block","ts","realized","unrealized","emission_income","adjustment","total","cost_estimated"],"title":"PnlPoint"},"PositionChange":{"properties":{"address":{"type":"string","title":"Address"},"amountInTAO":{"type":"string","title":"Amountintao"},"amountInUSD":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amountinusd"}},"type":"object","required":["address","amountInTAO","amountInUSD"],"title":"PositionChange"},"PositionChangeList":{"properties":{"success":{"type":"boolean","title":"Success"},"body":{"$ref":"#/components/schemas/PositionChanges"}},"type":"object","required":["success","body"],"title":"PositionChangeList"},"PositionChanges":{"properties":{"topGainers":{"items":{"$ref":"#/components/schemas/PositionChange"},"type":"array","title":"Topgainers"},"topLosers":{"items":{"$ref":"#/components/schemas/PositionChange"},"type":"array","title":"Toplosers"},"blockNumber":{"type":"integer","title":"Blocknumber"},"fromBlockNumber":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fromblocknumber"}},"type":"object","required":["topGainers","topLosers","blockNumber","fromBlockNumber"],"title":"PositionChanges"},"PositionDay":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Time"},"netuid":{"type":"integer","title":"Netuid"},"hotkey":{"type":"string","title":"Hotkey"},"alpha":{"type":"number","title":"Alpha"},"shares":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Shares"},"cost_basis_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cost Basis Tao"},"alpha_earned":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Earned"},"alpha_earned_by":{"anyOf":[{"type":"string","enum":["engine","single_hotkey","no_leg"]},{"type":"null"}],"title":"Alpha Earned By"},"subnet_alpha_earned":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Subnet Alpha Earned"}},"type":"object","required":["block","time","netuid","hotkey","alpha","shares","cost_basis_tao","alpha_earned","alpha_earned_by","subnet_alpha_earned"],"title":"PositionDay","description":"/wallets/{coldkey}/positions/history: one (subnet, validator hotkey) position at one day."},"PriceMove":{"properties":{"id":{"type":"string","title":"Id"},"interval":{"type":"string","enum":["15min","1hour"],"title":"Interval"},"timestamp":{"type":"string","title":"Timestamp"},"pctChange":{"type":"string","title":"Pctchange"},"isEmergency":{"type":"boolean","title":"Isemergency"},"subnetId":{"type":"integer","title":"Subnetid"},"oldPrice":{"type":"string","title":"Oldprice"},"newPrice":{"type":"string","title":"Newprice"},"newBlockNumber":{"type":"integer","title":"Newblocknumber"},"oldBlockNumber":{"type":"integer","title":"Oldblocknumber"},"volumeInPeriod":{"type":"string","title":"Volumeinperiod"}},"type":"object","required":["id","interval","timestamp","pctChange","isEmergency","subnetId","oldPrice","newPrice","newBlockNumber","oldBlockNumber","volumeInPeriod"],"title":"PriceMove"},"PriceMoveList":{"properties":{"success":{"type":"boolean","title":"Success"},"body":{"items":{"$ref":"#/components/schemas/PriceMove"},"type":"array","title":"Body"}},"type":"object","required":["success","body"],"title":"PriceMoveList"},"PricePoint":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"price_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Tao"}},"type":"object","required":["block","time","price_tao"],"title":"PricePoint"},"PriceSnapshot":{"properties":{"subnet_id":{"type":"integer","title":"Subnet Id"},"block_number":{"type":"integer","title":"Block Number"},"price_tao":{"type":"number","title":"Price Tao"},"price_1h_ago":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price 1H Ago"},"price_24h_ago":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price 24H Ago"},"price_7d_ago":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price 7D Ago"}},"type":"object","required":["subnet_id","block_number","price_tao","price_1h_ago","price_24h_ago","price_7d_ago"],"title":"PriceSnapshot","description":"One subnet's price now and back then, from /subnets/prices. The past\nprices are exact blocks before block_number, null when the subnet is\nyounger than that."},"RankedValidator":{"properties":{"rank":{"type":"integer","title":"Rank"},"hotkey":{"type":"string","title":"Hotkey"},"coldkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coldkey"},"global_weighted_stake_tao":{"type":"number","title":"Global Weighted Stake Tao"},"global_alpha_stake_as_tao":{"type":"number","title":"Global Alpha Stake As Tao"},"root_stake_tao":{"type":"number","title":"Root Stake Tao"},"weighted_root_stake_tao":{"type":"number","title":"Weighted Root Stake Tao"},"dominance_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dominance Pct"},"active_subnets":{"type":"integer","title":"Active Subnets"},"synced_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Synced Block"}},"type":"object","required":["rank","hotkey","coldkey","global_weighted_stake_tao","global_alpha_stake_as_tao","root_stake_tao","weighted_root_stake_tao","dominance_pct","active_subnets","synced_block"],"title":"RankedValidator","description":"One validator ranked by global weighted stake. All stake in TAO."},"RootBasket":{"properties":{"as_of_block":{"type":"integer","title":"As Of Block"},"nav_tao":{"type":"number","title":"Nav Tao"},"spot_nav_tao":{"type":"number","title":"Spot Nav Tao"},"shares":{"type":"integer","title":"Shares"},"share_price_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Share Price Tao"},"deposited_tao":{"type":"number","title":"Deposited Tao"},"redeemed_tao":{"type":"number","title":"Redeemed Tao"},"lifetime_return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lifetime Return Pct"},"return_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Return 30D Pct"},"apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apy 30D Pct"},"return_window_blocks":{"type":"integer","title":"Return Window Blocks"},"basket_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Basket Rate","description":"SubtensorModule.BasketRate: the fund's cumulative shares per TAO of root stake. What a unit of root stake earned between two snapshots is the difference, in TAO: Δbasket_rate x root stake (TAO) x share_price_tao. Null on snapshots written before it was read"},"basket_rate_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Basket Rate Raw","description":"The same rate exactly: the i128 bits of the chain's I96F32, as a decimal string (/ 2^32 = basket_rate). Subtract these for a difference that keeps every bit"},"holdings":{"items":{"$ref":"#/components/schemas/BasketHolding"},"type":"array","title":"Holdings"}},"type":"object","required":["as_of_block","nav_tao","spot_nav_tao","shares","share_price_tao","deposited_tao","redeemed_tao","lifetime_return_pct","return_30d_pct","apy_30d_pct","return_window_blocks","basket_rate","basket_rate_raw","holdings"],"title":"RootBasket"},"Sparkline":{"properties":{"start":{"type":"integer","title":"Start","description":"Unix seconds of the first point; 0 with none"},"step":{"type":"integer","title":"Step","description":"Seconds between points; 0 with fewer than 2"},"values":{"items":{"type":"number"},"type":"array","title":"Values","description":"Hour-candle open prices in TAO, every 4 hours over 8 days"},"times":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Times","description":"Every point's unix seconds, only when unevenly spaced"},"end":{"type":"integer","title":"End","description":"Now, rounded to the hour"}},"type":"object","required":["start","step","values","end"],"title":"Sparkline"},"StakeMovement":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"extrinsic_idx":{"type":"integer","title":"Extrinsic Idx"},"event":{"type":"string","enum":["StakeMoved","StakeTransferred","StakeSwapped","StakeAndHotkeyTransferred"],"title":"Event"},"from_coldkey":{"type":"string","title":"From Coldkey"},"to_coldkey":{"type":"string","title":"To Coldkey"},"from_hotkey":{"type":"string","title":"From Hotkey"},"to_hotkey":{"type":"string","title":"To Hotkey"},"from_netuid":{"type":"integer","title":"From Netuid"},"to_netuid":{"type":"integer","title":"To Netuid"},"tao_amount":{"type":"number","title":"Tao Amount"},"mev":{"type":"boolean","title":"Mev","description":"An MEV victim: this move between two subnets traded against a pool between the two legs of another wallet's MEV pair (the pairs flagged `mev` on /subnets/trades). Always false within one subnet, which never touches a pool"}},"type":"object","required":["block","time","extrinsic_idx","event","from_coldkey","to_coldkey","from_hotkey","to_hotkey","from_netuid","to_netuid","tao_amount","mev"],"title":"StakeMovement","description":"One StakeMoved / StakeTransferred / StakeSwapped / StakeAndHotkeyTransferred, both sides spelled out.\nA side the event leaves unchanged has the same value in from_ and to_."},"StakingAction":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx"},"action":{"type":"string","enum":["stake","unstake","move","transfer","swap","burn","recycle","claim_root"],"title":"Action"},"direction":{"anyOf":[{"type":"string","enum":["in","out","self"]},{"type":"null"}],"title":"Direction"},"netuid":{"type":"integer","title":"Netuid"},"hotkey":{"type":"string","title":"Hotkey"},"to_netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"To Netuid"},"to_hotkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Hotkey"},"counterparty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counterparty"},"alpha_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Amount"},"tao_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao Amount"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"swap_fee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Swap Fee"},"swap_fee_asset":{"anyOf":[{"type":"string","enum":["tao","alpha"]},{"type":"null"}],"title":"Swap Fee Asset"},"tx_fee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tx Fee"}},"type":"object","required":["block","time","extrinsic_idx","action","direction","netuid","hotkey","to_netuid","to_hotkey","counterparty","alpha_amount","tao_amount","price","swap_fee","swap_fee_asset","tx_fee"],"title":"StakingAction","description":"One thing a coldkey did to its stake. See repositories/wallets.py for\nwhich chain event each action is."},"SubnetAlpha":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"alpha_in":{"type":"number","title":"Alpha In"},"alpha_out":{"type":"number","title":"Alpha Out"},"total_alpha":{"type":"number","title":"Total Alpha"}},"type":"object","required":["netuid","block","time","alpha_in","alpha_out","total_alpha"],"title":"SubnetAlpha","description":"One subnet's alpha at its newest block, in alpha (not rao)."},"SubnetCandles":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"interval":{"type":"string","title":"Interval"},"items":{"items":{"$ref":"#/components/schemas/Candle"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["netuid","interval","items","limit","next"],"title":"SubnetCandles"},"SubnetEmissions":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"requested_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Requested Block"},"requested_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested Timestamp"},"epoch_block":{"type":"integer","title":"Epoch Block"},"epoch_time":{"type":"string","format":"date-time","title":"Epoch Time"},"uids":{"items":{"$ref":"#/components/schemas/UidEmission"},"type":"array","title":"Uids"}},"type":"object","required":["netuid","requested_block","requested_timestamp","epoch_block","epoch_time","uids"],"title":"SubnetEmissions"},"SubnetEvent":{"properties":{"kind":{"type":"string","enum":["registered","removed"],"title":"Kind"},"netuid":{"type":"integer","title":"Netuid"},"block":{"type":"integer","title":"Block"},"time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Time","description":"the block's timestamp; null on the 64 registrations from before dTAO (block 4,920,351), where the block table begins"},"cleanup_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cleanup Block","description":"removed only (null on registered): NetworkDissolveCleanupCompleted, when the refunds are done; the removal's own block before spec 432, when a dissolve took one block; null while it is still running"},"registered_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Registered Block","description":"removed only (null on registered): when the subnet it removed was registered"},"replaces_removed_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Replaces Removed Block","description":"registered only (null on removed): the removal that freed the netuid; null for a netuid's first subnet, which replaced nothing (SN1, for one)"},"refunded_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Refunded Tao","description":"removed only (null on registered): TAO the runtime paid the stakers back from the subnet's account, removal to cleanup; null before spec 411 (block 8,283,784), when refunds left no transfer to read"},"refunded_wallets":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Refunded Wallets","description":"removed only (null on registered): accounts paid; null when refunded_tao is"},"owner_hotkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Hotkey","description":"the subnet's owner: at registration the first holder of its owner uid, at removal the last; null before block 9,135,450, where the uid history begins -- not the current owner, which may have changed since"},"owner_coldkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Coldkey","description":"owner_hotkey's coldkey; null when it is"}},"type":"object","required":["kind","netuid","block","time"],"title":"SubnetEvent","description":"/subnets/events: a subnet registered on a netuid, or removed from it.\nEvery field is always present, so the shape is the same for both kinds; a\nfield that belongs to the other kind is null. Null otherwise means the\nvalue predates the data it comes from, as each field says -- never that it\nis still loading, except `cleanup_block` on a removal in progress."},"SubnetFlow":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"buy_tao_1h":{"type":"number","title":"Buy Tao 1H"},"sell_tao_1h":{"type":"number","title":"Sell Tao 1H"},"net_tao_1h":{"type":"number","title":"Net Tao 1H"},"buyers_1h":{"type":"integer","title":"Buyers 1H"},"sellers_1h":{"type":"integer","title":"Sellers 1H"},"traders_1h":{"type":"integer","title":"Traders 1H"},"trades_1h":{"type":"integer","title":"Trades 1H"},"buys_1h":{"type":"integer","title":"Buys 1H"},"sells_1h":{"type":"integer","title":"Sells 1H"},"buy_tao_24h":{"type":"number","title":"Buy Tao 24H"},"sell_tao_24h":{"type":"number","title":"Sell Tao 24H"},"net_tao_24h":{"type":"number","title":"Net Tao 24H"},"buyers_24h":{"type":"integer","title":"Buyers 24H"},"sellers_24h":{"type":"integer","title":"Sellers 24H"},"traders_24h":{"type":"integer","title":"Traders 24H"},"trades_24h":{"type":"integer","title":"Trades 24H"},"buys_24h":{"type":"integer","title":"Buys 24H"},"sells_24h":{"type":"integer","title":"Sells 24H"}},"type":"object","required":["netuid","buy_tao_1h","sell_tao_1h","net_tao_1h","buyers_1h","sellers_1h","traders_1h","trades_1h","buys_1h","sells_1h","buy_tao_24h","sell_tao_24h","net_tao_24h","buyers_24h","sellers_24h","traders_24h","trades_24h","buys_24h","sells_24h"],"title":"SubnetFlow","description":"One subnet's trading over the last hour (300 blocks) and day (7,200),\nto the block of /subnets/flow. The trades are /pools' volume_24h_tao's:\nbuys, sells and cross-subnet swap legs, MEV pairs and same-subnet stake\ntransfers left out. A coldkey that bought and sold counts as a buyer and a\nseller, and once as a trader."},"SubnetFlowList":{"properties":{"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"items":{"items":{"$ref":"#/components/schemas/SubnetFlow"},"type":"array","title":"Items"}},"type":"object","required":["block","time","items"],"title":"SubnetFlowList"},"SubnetHyperparameters":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"updated_block":{"type":"integer","title":"Updated Block"},"tempo":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tempo"},"activity_cutoff":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Activity Cutoff"},"activity_cutoff_factor_milli":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Activity Cutoff Factor Milli"},"weights_set_rate_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Weights Set Rate Limit"},"commit_reveal_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Commit Reveal Enabled"},"reveal_period_epochs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reveal Period Epochs"},"network_registered_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Network Registered At"},"first_emission_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"First Emission Block"}},"type":"object","required":["netuid","updated_block","tempo","activity_cutoff","activity_cutoff_factor_milli","weights_set_rate_limit","commit_reveal_enabled","reveal_period_epochs","network_registered_at","first_emission_block"],"title":"SubnetHyperparameters","description":"One subnet's parameters as of `updated_block` -- the first 25-block\nsnapshot showing these values, up to 24 blocks after they took effect.\n`network_registered_at` and `first_emission_block` are exact.\n\nEvery value is optional, and null means the subnet has no entry for that\nparameter so the chain uses its own default. It does not mean unknown.\nMeasured at block 9128500, of 129 subnets: `weights_set_rate_limit` is set\nfor 13, `reveal_period_epochs` for 37, `commit_reveal_enabled` for 78.\n\n`activity_cutoff` and `activity_cutoff_factor_milli` are two encodings of\nthe same idea and both storage items still exist. On runtimes that honour\nthe factor, the effective cutoff is `(factor * tempo) / 1000` clamped to\n>= 1 -- so a tempo change moves the cutoff with the factor unchanged."},"SubnetIdentity":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"subnet_name":{"type":"string","title":"Subnet Name"},"github_repo":{"type":"string","title":"Github Repo"},"subnet_contact":{"type":"string","title":"Subnet Contact"},"subnet_url":{"type":"string","title":"Subnet Url"},"discord":{"type":"string","title":"Discord"},"description":{"type":"string","title":"Description"},"logo_url":{"type":"string","title":"Logo Url"},"additional":{"type":"string","title":"Additional"},"block_updated":{"type":"integer","title":"Block Updated","description":"first hourly read that saw these values: up to an hour after the change"}},"type":"object","required":["netuid","subnet_name","github_repo","subnet_contact","subnet_url","discord","description","logo_url","additional","block_updated"],"title":"SubnetIdentity","description":"SubtensorModule.SubnetIdentitiesV3, the owner's free text about the\nsubnet. Any field may be \"\" -- the owner left it empty -- and none is\nchecked: `discord` is a link on some subnets and a handle on others."},"SubnetInfo":{"properties":{"block":{"type":"integer","title":"Block"},"ts":{"type":"string","format":"date-time","title":"Ts"},"tao_emission_per_block":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao Emission Per Block"},"tao_emission_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao Emission Pct"},"demand_share_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Demand Share Pct"},"emission_share_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Share Pct"},"alpha_emission_per_block":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Emission Per Block"},"price_tao":{"type":"number","title":"Price Tao"},"liquidity_tao":{"type":"number","title":"Liquidity Tao"},"liquidity_alpha":{"type":"number","title":"Liquidity Alpha"},"total_alpha":{"type":"number","title":"Total Alpha"},"mcap_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mcap Tao"},"fdv_tao":{"type":"number","title":"Fdv Tao"},"volume_24h_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume 24H Tao","description":"What traders did: TAO in user buys (StakeAdded) plus user sells (StakeRemoved) on this subnet over the last ~24h, both legs of cross-subnet stake swaps included. Excludes stake transferred between hotkeys or coldkeys on one subnet (never touches the pool) and both legs of every detected MEV sandwich. Summed in 300-block buckets, so it covers 6,900-7,199 blocks (data_from_block says where it starts). Lower than pool_volume_24h_tao, which counts everything the pool swapped: 0.85x summed over all subnets, median 0.91x per subnet, from 0.19x to 1.13x (measured 2026-10-13; above 1 only where the two windows differ)."},"trades_24h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Trades 24H","description":"Number of trades and swap legs in volume_24h_tao."},"data_from_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Data From Block"},"pool_volume_24h_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pool Volume 24H Tao","description":"Everything that went through the pool: TAO swapped over exactly the last 7,200 blocks, read off the chain's SubnetVolume counter. Includes stake moves that swap, MEV, and the protocol's own swaps -- the 24h volume other explorers show -- use this one to compare with them. For a subnet registered less than 24h ago, its volume since registration."},"pool_volume_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pool Volume Tao","description":"All TAO swapped through the pool since the subnet was registered (SubnetVolume)."},"change_1h_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change 1H Pct"},"change_24h_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change 24H Pct"},"change_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change 7D Pct"}},"type":"object","required":["block","ts","tao_emission_per_block","tao_emission_pct","demand_share_pct","emission_share_pct","alpha_emission_per_block","price_tao","liquidity_tao","liquidity_alpha","total_alpha","mcap_tao","fdv_tao","volume_24h_tao","trades_24h","data_from_block","pool_volume_24h_tao","pool_volume_tao","change_1h_pct","change_24h_pct","change_7d_pct"],"title":"SubnetInfo"},"SubnetOverview":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"networkRegisteredAtTimestamp":{"type":"integer","title":"Networkregisteredattimestamp"},"taoInPool":{"type":"string","title":"Taoinpool"},"alphaInPool":{"type":"string","title":"Alphainpool"},"alphaOutPool":{"type":"string","title":"Alphaoutpool"},"circulatingSupply":{"type":"string","title":"Circulatingsupply"},"isColdkeySwapScheduled":{"type":"boolean","title":"Iscoldkeyswapscheduled"},"coldkeySwapScheduledExtrinsic":{"anyOf":[{"$ref":"#/components/schemas/PendingColdkeySwap"},{"type":"null"}]},"age":{"type":"string","title":"Age"},"taoEmissionPct":{"type":"number","title":"Taoemissionpct"},"priceChange1H":{"type":"string","title":"Pricechange1H"},"priceChange24H":{"type":"string","title":"Pricechange24H"},"priceChange7D":{"type":"string","title":"Pricechange7D"},"sparkline":{"$ref":"#/components/schemas/Sparkline"},"priceInTAO":{"type":"string","title":"Priceintao"},"fdvInTAO":{"type":"number","title":"Fdvintao"},"mcapInTAO":{"type":"string","title":"Mcapintao"},"volume24h":{"type":"string","title":"Volume24H"},"priceVolumeMetrics":{"additionalProperties":{"$ref":"#/components/schemas/TradingActivity"},"propertyNames":{"enum":["7d","1d","1h"]},"type":"object","title":"Pricevolumemetrics"},"marketCapTAO7d":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Marketcaptao7D"},"marketCapTAO1d":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Marketcaptao1D"},"marketCapTAO1h":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Marketcaptao1H"},"fdvTAO7d":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fdvtao7D"},"fdvTAO1d":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fdvtao1D"},"fdvTAO1h":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fdvtao1H"},"isActive":{"type":"boolean","title":"Isactive"}},"type":"object","required":["id","networkRegisteredAtTimestamp","taoInPool","alphaInPool","alphaOutPool","circulatingSupply","isColdkeySwapScheduled","coldkeySwapScheduledExtrinsic","age","taoEmissionPct","priceChange1H","priceChange24H","priceChange7D","sparkline","priceInTAO","fdvInTAO","mcapInTAO","volume24h","priceVolumeMetrics","isActive"],"title":"SubnetOverview"},"SubnetOverviewList":{"properties":{"success":{"type":"boolean","title":"Success"},"body":{"items":{"$ref":"#/components/schemas/SubnetOverview"},"type":"array","title":"Body"}},"type":"object","required":["success","body"],"title":"SubnetOverviewList"},"SubnetPrices":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"start_block":{"type":"integer","title":"Start Block"},"end_block":{"type":"integer","title":"End Block"},"prices":{"items":{"$ref":"#/components/schemas/PricePoint"},"type":"array","title":"Prices"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"Cursor for the page before this one (older blocks); null at the range's start"}},"type":"object","required":["netuid","start_block","end_block","prices","limit","next"],"title":"SubnetPrices"},"SubnetStatistics":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"interval":{"type":"string","title":"Interval"},"holders":{"anyOf":[{"$ref":"#/components/schemas/HolderStats"},{"type":"null"}]},"items":{"items":{"$ref":"#/components/schemas/MarketPoint"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["netuid","interval","holders","items","limit","next"],"title":"SubnetStatistics"},"SubnetSummary":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"block":{"type":"integer","title":"Block"},"ts":{"type":"string","format":"date-time","title":"Ts"},"price_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Tao"},"change_24h_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change 24H Pct"},"liquidity_tao":{"type":"number","title":"Liquidity Tao"},"tao_reserve":{"type":"number","title":"Tao Reserve"},"alpha_reserve":{"type":"number","title":"Alpha Reserve"},"total_alpha":{"type":"number","title":"Total Alpha"},"mcap_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mcap Tao"},"emission_share_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Share Pct"},"demand_share_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Demand Share Pct"},"tao_emission_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao Emission Pct"},"tao_emission_per_block":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao Emission Per Block"},"alpha_emission_per_block":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Emission Per Block"},"volume_24h_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume 24H Tao","description":"What traders did: TAO in user buys (StakeAdded) plus user sells (StakeRemoved) on this subnet over the last ~24h, both legs of cross-subnet stake swaps included. Excludes stake transferred between hotkeys or coldkeys on one subnet (never touches the pool) and both legs of every detected MEV sandwich. Summed in 300-block buckets, so it covers 6,900-7,199 blocks (data_from_block says where it starts). Lower than pool_volume_24h_tao, which counts everything the pool swapped: 0.85x summed over all subnets, median 0.91x per subnet, from 0.19x to 1.13x (measured 2026-10-13; above 1 only where the two windows differ)."},"trades_24h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Trades 24H","description":"Number of trades and swap legs in volume_24h_tao."},"pool_volume_24h_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pool Volume 24H Tao","description":"Everything that went through the pool: TAO swapped over exactly the last 7,200 blocks, read off the chain's SubnetVolume counter. Includes stake moves that swap, MEV, and the protocol's own swaps -- the 24h volume other explorers show -- use this one to compare with them. For a subnet registered less than 24h ago, its volume since registration."},"pool_volume_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pool Volume Tao","description":"All TAO swapped through the pool since the subnet was registered (SubnetVolume)."}},"type":"object","required":["netuid","block","ts","price_tao","change_24h_pct","liquidity_tao","tao_reserve","alpha_reserve","total_alpha","mcap_tao","emission_share_pct","demand_share_pct","tao_emission_pct","tao_emission_per_block","alpha_emission_per_block","volume_24h_tao","trades_24h","pool_volume_24h_tao","pool_volume_tao"],"title":"SubnetSummary","description":"One row per subnet for the comparison table. A subset of SubnetInfo --\nsee LIST_SQL for why it is narrower rather than the same shape."},"SwapQuote":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"block":{"type":"integer","title":"Block"},"time":{"type":"string","format":"date-time","title":"Time"},"direction":{"type":"string","enum":["tao_to_alpha","alpha_to_tao"],"title":"Direction"},"input_amount":{"type":"number","title":"Input Amount"},"output_amount":{"type":"number","title":"Output Amount","description":"What the swap returns, net of the pool fee (fee_rate_pct) and of price impact -- the chain's own figure to the rao"},"expected_output":{"type":"number","title":"Expected Output","description":"input_amount at the spot price, no fee, no price impact"},"diff":{"type":"number","title":"Diff","description":"expected_output - output_amount: fee and price impact together, in the output token"},"slippage_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Slippage Pct","description":"diff / expected_output x 100. Includes the pool fee, so it never falls below fee_rate_pct: a tiny swap reads ~0.05%, all of it fee"},"fee":{"type":"number","title":"Fee","description":"The pool fee on this swap, in the input token: input_amount x fee_rate_pct / 100"},"fee_rate_pct":{"type":"number","title":"Fee Rate Pct","description":"The pool's fee rate, Swap.FeeRate / 65535 x 100: 0.0504% (33/65535) on every subnet as of 2026-10-13, unless a subnet sets its own"},"alpha_price":{"type":"number","title":"Alpha Price"},"pool_weight":{"type":"number","title":"Pool Weight"}},"type":"object","required":["netuid","block","time","direction","input_amount","output_amount","expected_output","diff","slippage_pct","fee","fee_rate_pct","alpha_price","pool_weight"],"title":"SwapQuote","description":"What swapping `input_amount` on the subnet's pool returns at `block`, and\nhow far that falls short of the spot price. Amounts in TAO / alpha."},"TaoPrice":{"properties":{"symbol":{"type":"string","title":"Symbol"},"price_usd":{"type":"number","title":"Price Usd"},"source":{"type":"string","title":"Source","default":"coingecko"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["symbol","price_usd"],"title":"TaoPrice","description":"TAO in USD, from /prices/tao-usd."},"TopTrade":{"properties":{"address":{"type":"string","title":"Address"},"inAmt":{"type":"string","title":"Inamt"},"outAmt":{"type":"string","title":"Outamt"},"id":{"type":"string","title":"Id"},"blockNumber":{"type":"integer","title":"Blocknumber"},"kind":{"type":"string","enum":["trade","swap"],"title":"Kind"},"mev":{"type":"boolean","title":"Mev"}},"type":"object","required":["address","inAmt","outAmt","id","blockNumber","kind","mev"],"title":"TopTrade"},"TopTradeList":{"properties":{"success":{"type":"boolean","title":"Success"},"body":{"$ref":"#/components/schemas/TopTrades"}},"type":"object","required":["success","body"],"title":"TopTradeList"},"TopTrades":{"properties":{"topBuyTrades":{"items":{"$ref":"#/components/schemas/TopTrade"},"type":"array","title":"Topbuytrades"},"topSellTrades":{"items":{"$ref":"#/components/schemas/TopTrade"},"type":"array","title":"Topselltrades"},"fromBlockNumber":{"type":"integer","title":"Fromblocknumber"},"toBlockNumber":{"type":"integer","title":"Toblocknumber"}},"type":"object","required":["topBuyTrades","topSellTrades","fromBlockNumber","toBlockNumber"],"title":"TopTrades"},"Trade":{"properties":{"id":{"type":"string","title":"Id","description":"block-extrinsic_index-event_index, unique per row"},"netuid":{"type":"integer","title":"Netuid"},"time":{"type":"string","format":"date-time","title":"Time"},"address":{"type":"string","title":"Address"},"validator":{"type":"string","title":"Validator"},"type":{"type":"string","enum":["buy","sell"],"title":"Type","description":"Direction against this subnet's pool"},"kind":{"type":"string","enum":["trade","swap"],"title":"Kind","description":"trade: a buy or sell. swap: one leg of stake moving to another subnet (swap_stake / swap_stake_limit / move_stake, or transfer_stake to another coldkey), which sells into one pool and buys into the other, so it moves both prices"},"mev":{"type":"boolean","title":"Mev","description":"A leg of a detected MEV pair: consecutive opposing trades by one wallet on one pool in one block, in profit, with another wallet's pool event between them. Only ever true with include_mev=true"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"tao_amount":{"type":"number","title":"Tao Amount"},"alpha_amount":{"type":"number","title":"Alpha Amount"}},"type":"object","required":["id","netuid","time","address","validator","type","kind","mev","price","tao_amount","alpha_amount"],"title":"Trade"},"TradeFile":{"properties":{"name":{"type":"string","title":"Name"},"start_block":{"type":"integer","title":"Start Block"},"end_block":{"type":"integer","title":"End Block"},"last_block":{"type":"integer","title":"Last Block"},"first_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Time"},"last_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Time"},"rows":{"type":"integer","title":"Rows"},"bytes":{"type":"integer","title":"Bytes"},"complete":{"type":"boolean","title":"Complete"}},"type":"object","required":["name","start_block","end_block","last_block","first_time","last_time","rows","bytes","complete"],"title":"TradeFile","description":"One Parquet file of /exports/trades: every pool trade in blocks\nstart_block..end_block, the rows of /subnets/trades?include_mev=true."},"TradeFileUrl":{"properties":{"url":{"type":"string","title":"Url"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["url","expires_at"],"title":"TradeFileUrl","description":"/exports/trades/{start_block}?redirect=false: the signed URL, for a client to fetch itself."},"TradeFilesPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TradeFile"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"},"version":{"type":"string","title":"Version"},"window_blocks":{"type":"integer","title":"Window Blocks"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"watermark":{"type":"integer","title":"Watermark"}},"type":"object","required":["items","limit","version","window_blocks","updated_at","watermark"],"title":"TradeFilesPage","description":"/exports/trades: the manifest a page at a time, newest file first."},"TradingActivity":{"properties":{"subnetId":{"type":"integer","title":"Subnetid"},"distinctStakers":{"type":"integer","title":"Distinctstakers"},"distinctUnstakers":{"type":"integer","title":"Distinctunstakers"},"distinctStakersOrUnstakers":{"type":"integer","title":"Distinctstakersorunstakers"},"stakingTransactions":{"type":"integer","title":"Stakingtransactions"},"unstakingTransactions":{"type":"integer","title":"Unstakingtransactions"},"totalBuyVolumeTao":{"type":"string","title":"Totalbuyvolumetao"},"totalSellVolumeTao":{"type":"string","title":"Totalsellvolumetao"}},"type":"object","required":["subnetId","distinctStakers","distinctUnstakers","distinctStakersOrUnstakers","stakingTransactions","unstakingTransactions","totalBuyVolumeTao","totalSellVolumeTao"],"title":"TradingActivity"},"Transfer":{"properties":{"id":{"type":"string","title":"Id"},"time":{"type":"string","format":"date-time","title":"Time"},"kind":{"type":"string","enum":["internal","external","cross_subnet_swap"],"title":"Kind","description":"First match wins: external = the coldkey changed; internal = same coldkey, same subnet (another hotkey); cross_subnet_swap = same coldkey, another subnet"},"tao_amount":{"type":"number","title":"Tao Amount"},"from_netuid":{"type":"integer","title":"From Netuid"},"to_netuid":{"type":"integer","title":"To Netuid"},"from_coldkey":{"type":"string","title":"From Coldkey"},"to_coldkey":{"type":"string","title":"To Coldkey"},"from_hotkey":{"type":"string","title":"From Hotkey"},"to_hotkey":{"type":"string","title":"To Hotkey"}},"type":"object","required":["id","time","kind","tao_amount","from_netuid","to_netuid","from_coldkey","to_coldkey","from_hotkey","to_hotkey"],"title":"Transfer"},"UidEmission":{"properties":{"uid":{"type":"integer","title":"Uid"},"hotkey":{"type":"string","title":"Hotkey"},"coldkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coldkey"},"consensus":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Consensus"},"incentive":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Incentive"},"dividends":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dividends"},"emission_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Alpha"},"replaced_after_epoch":{"type":"boolean","title":"Replaced After Epoch"}},"type":"object","required":["uid","hotkey","coldkey","consensus","incentive","dividends","emission_alpha","replaced_after_epoch"],"title":"UidEmission"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Validator":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"tempo":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tempo","description":"Blocks per epoch on this subnet (Tempo), the APY annualisation divisor"},"latest_epoch_block":{"type":"integer","title":"Latest Epoch Block"},"uid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Uid"},"hotkey":{"type":"string","title":"Hotkey"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"has_validator_permit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Validator Permit"},"direct_alpha_last_epoch":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Direct Alpha Last Epoch"},"inherited_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Inherited Alpha"},"direct_root_live":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Direct Root Live"},"inherited_root":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Inherited Root"},"stake_weight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Stake Weight"},"validator_trust":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Validator Trust"},"take_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Take Pct"},"net_apy_1h_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Apy 1H Pct"},"gross_apy_1h_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Apy 1H Pct"},"net_apy_1d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Apy 1D Pct"},"gross_apy_1d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Apy 1D Pct"},"net_apy_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Apy 7D Pct"},"gross_apy_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Apy 7D Pct"},"net_apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Apy 30D Pct"},"gross_apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Apy 30D Pct"},"net_root_apy_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Apy 7D Pct"},"gross_root_apy_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Apy 7D Pct"},"net_root_apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Apy 30D Pct"},"gross_root_apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Apy 30D Pct"},"net_root_apy_1h_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Apy 1H Pct"},"gross_root_apy_1h_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Apy 1H Pct"},"net_root_apy_1d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Apy 1D Pct"},"gross_root_apy_1d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Apy 1D Pct"},"epochs_1h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Epochs 1H"},"epochs_1d":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Epochs 1D"},"epochs_7d":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Epochs 7D"},"epochs_30d":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Epochs 30D","description":"Epochs the validator earned dividends in, within the window back from the subnet's newest epoch. The subnet itself runs about window / tempo of them -- in 30 days 2,182 on SN1 (tempo 99), 600 at tempo 360. Fewer means the validator did not earn in every one (it joined, left, lost its permit, or history starts later), and its APY is scaled down accordingly: missed epochs count as 0"},"net_alpha_ppe_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Alpha Ppe 7D Pct"},"net_alpha_ppe_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Alpha Ppe 30D Pct"},"gross_alpha_ppe_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Alpha Ppe 7D Pct"},"gross_alpha_ppe_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Alpha Ppe 30D Pct"},"net_root_ppe_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Ppe 7D Pct"},"net_root_ppe_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Ppe 30D Pct"},"gross_root_ppe_7d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Ppe 7D Pct"},"gross_root_ppe_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Ppe 30D Pct"},"parents":{"items":{"$ref":"#/components/schemas/HotkeyLink"},"type":"array","title":"Parents","description":"The largest 10 parents by proportion; parents_total counts all, /validators/{hotkey}/parents?netuid= pages through them","default":[]},"parents_total":{"type":"integer","title":"Parents Total","default":0},"children":{"items":{"$ref":"#/components/schemas/HotkeyLink"},"type":"array","title":"Children","description":"Every child: the chain allows a parent at most 5 on a subnet","default":[]}},"type":"object","required":["netuid","tempo","latest_epoch_block","uid","hotkey","role","has_validator_permit","direct_alpha_last_epoch","inherited_alpha","direct_root_live","inherited_root","stake_weight","validator_trust","take_pct","net_apy_1h_pct","gross_apy_1h_pct","net_apy_1d_pct","gross_apy_1d_pct","net_apy_7d_pct","gross_apy_7d_pct","net_apy_30d_pct","gross_apy_30d_pct","net_root_apy_7d_pct","gross_root_apy_7d_pct","net_root_apy_30d_pct","gross_root_apy_30d_pct","net_root_apy_1h_pct","gross_root_apy_1h_pct","net_root_apy_1d_pct","gross_root_apy_1d_pct","epochs_1h","epochs_1d","epochs_7d","epochs_30d","net_alpha_ppe_7d_pct","net_alpha_ppe_30d_pct","gross_alpha_ppe_7d_pct","gross_alpha_ppe_30d_pct","net_root_ppe_7d_pct","net_root_ppe_30d_pct","gross_root_ppe_7d_pct","gross_root_ppe_30d_pct"],"title":"Validator"},"ValidatorApyDay":{"properties":{"day":{"type":"integer","title":"Day","description":"Block-day, epoch_block // 7200, not a UTC date: blocks day x 7200 to (day + 1) x 7200"},"from_block":{"type":"integer","title":"From Block"},"to_block":{"type":"integer","title":"To Block"},"epochs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Epochs","description":"Epochs it earned dividends in that day; null on root rows"},"subnets":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subnets","description":"Root rows: subnets it has a root rate on that day"},"take_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Take Pct"},"net_apy_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Apy Pct","description":"Alpha per alpha; null on root rows and on dust"},"gross_apy_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Apy Pct"},"net_root_apy_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Apy Pct","description":"TAO per TAO; on root rows summed over every subnet"},"gross_root_apy_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Apy Pct"},"alpha_dividends":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Dividends","description":"Net of take, alpha"},"avg_alpha_stake":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Alpha Stake","description":"Direct alpha stake, averaged over its epochs"},"root_dividends_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Root Dividends Tao","description":"Root dividends at the subnet's price at each epoch, TAO"},"avg_root_stake":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Root Stake","description":"Root stake, TAO, averaged over its epochs"}},"type":"object","required":["day","from_block","to_block","take_pct"],"title":"ValidatorApyDay","description":"One block-day of a validator's yield (/validators/{hotkey}/apy/history):\nLongApy's formula over that day alone. The sums let a client rebuild any\nwindow: Σ alpha_dividends / Σ (avg_alpha_stake x epochs) x Σ epochs x\n2,628,000 / its blocks -- never the mean of the daily APYs."},"ValidatorApyHistory":{"properties":{"hotkey":{"type":"string","title":"Hotkey"},"netuid":{"type":"integer","title":"Netuid"},"window":{"type":"string","enum":["30d","90d","1y","all"],"title":"Window"},"points":{"items":{"$ref":"#/components/schemas/ValidatorApyDay"},"type":"array","title":"Points"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["hotkey","netuid","window","points","limit"],"title":"ValidatorApyHistory"},"ValidatorLongApyProfile":{"properties":{"hotkey":{"type":"string","title":"Hotkey"},"window":{"type":"string","enum":["1y","all"],"title":"Window"},"subnets":{"items":{"$ref":"#/components/schemas/LongApy"},"type":"array","title":"Subnets"},"net_root_apy_pct_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Apy Pct Total"},"gross_root_apy_pct_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Apy Pct Total"}},"type":"object","required":["hotkey","window","subnets","net_root_apy_pct_total","gross_root_apy_pct_total"],"title":"ValidatorLongApyProfile"},"ValidatorProfile":{"properties":{"hotkey":{"type":"string","title":"Hotkey"},"subnets":{"items":{"$ref":"#/components/schemas/ValidatorSubnet"},"type":"array","title":"Subnets"},"net_root_apy_30d_pct_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Apy 30D Pct Total"},"gross_root_apy_30d_pct_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Apy 30D Pct Total"},"root_basket":{"anyOf":[{"$ref":"#/components/schemas/RootBasket"},{"type":"null"}]}},"type":"object","required":["hotkey","subnets","net_root_apy_30d_pct_total","gross_root_apy_30d_pct_total","root_basket"],"title":"ValidatorProfile"},"ValidatorStaker":{"properties":{"coldkey":{"type":"string","title":"Coldkey"},"alpha":{"type":"number","title":"Alpha"},"shares":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Shares"},"cost_basis_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cost Basis Tao"}},"type":"object","required":["coldkey","alpha","shares","cost_basis_tao"],"title":"ValidatorStaker","description":"/validators/{hotkey}/stakers: one coldkey's stake through the hotkey on a subnet at one day."},"ValidatorSubnet":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"uid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Uid"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"has_validator_permit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Validator Permit"},"direct_alpha_last_epoch":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Direct Alpha Last Epoch"},"inherited_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Inherited Alpha"},"direct_root_live":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Direct Root Live"},"inherited_root":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Inherited Root"},"stake_weight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Stake Weight"},"validator_trust":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Validator Trust"},"take_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Take Pct"},"tempo":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tempo"},"net_apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Apy 30D Pct"},"gross_apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Apy 30D Pct"},"net_root_apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Root Apy 30D Pct"},"gross_root_apy_30d_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gross Root Apy 30D Pct"},"epochs_30d":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Epochs 30D","description":"Epochs the validator earned dividends in, within the window back from the subnet's newest epoch. The subnet itself runs about window / tempo of them -- in 30 days 2,182 on SN1 (tempo 99), 600 at tempo 360. Fewer means the validator did not earn in every one (it joined, left, lost its permit, or history starts later), and its APY is scaled down accordingly: missed epochs count as 0"},"latest_epoch_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Epoch Block"},"parents":{"items":{"$ref":"#/components/schemas/HotkeyLink"},"type":"array","title":"Parents","default":[]},"parents_total":{"type":"integer","title":"Parents Total","default":0},"children":{"items":{"$ref":"#/components/schemas/HotkeyLink"},"type":"array","title":"Children","default":[]}},"type":"object","required":["netuid","uid","role","has_validator_permit","direct_alpha_last_epoch","inherited_alpha","direct_root_live","inherited_root","stake_weight","validator_trust","take_pct","tempo","net_apy_30d_pct","gross_apy_30d_pct","net_root_apy_30d_pct","gross_root_apy_30d_pct","epochs_30d","latest_epoch_block"],"title":"ValidatorSubnet"},"ValidatorWeightActivity":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"uid":{"type":"integer","title":"Uid"},"hotkey":{"type":"string","title":"Hotkey"},"coldkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coldkey"},"tempo":{"type":"integer","title":"Tempo"},"commit_reveal":{"type":"boolean","title":"Commit Reveal"},"cutoff_blocks":{"type":"integer","title":"Cutoff Blocks"},"last_update_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Update Block"},"last_update_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Update Time"},"blocks_since_update":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Blocks Since Update"},"last_weights_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Weights Block"},"last_weights_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Weights Time"},"last_commit_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Commit Block"},"last_commit_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Commit Time"},"last_reveal_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Reveal Block"},"last_reveal_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Reveal Time"},"offline":{"type":"boolean","title":"Offline"},"as_of_block":{"type":"integer","title":"As Of Block"}},"type":"object","required":["netuid","uid","hotkey","coldkey","tempo","commit_reveal","cutoff_blocks","last_update_block","last_update_time","blocks_since_update","last_weights_block","last_weights_time","last_commit_block","last_commit_time","last_reveal_block","last_reveal_time","offline","as_of_block"],"title":"ValidatorWeightActivity","description":"One validator-permit holder on one subnet. Every *_block is null when\nnothing of that kind has happened since the export began. Mechanism 0 only;\nsee sql/view/weights.sql."},"ValidatorsLongApy":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"window":{"type":"string","enum":["1y","all"],"title":"Window"},"validators":{"items":{"$ref":"#/components/schemas/LongApy"},"type":"array","title":"Validators"}},"type":"object","required":["netuid","window","validators"],"title":"ValidatorsLongApy"},"WalletBalance":{"properties":{"coldkey":{"type":"string","title":"Coldkey"},"free_tao":{"type":"number","title":"Free Tao","description":"System.Account.free in TAO as of synced_block; 0 for an account holding none"},"last_change_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Change Block"},"synced_block":{"type":"integer","title":"Synced Block"}},"type":"object","required":["coldkey","free_tao","last_change_block","synced_block"],"title":"WalletBalance"},"WalletBalanceHistory":{"properties":{"coldkey":{"type":"string","title":"Coldkey"},"window":{"type":"string","title":"Window"},"interval":{"type":"string","title":"Interval"},"synced_block":{"type":"integer","title":"Synced Block"},"since_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Since Block","description":"Where this account's free-TAO history starts: the deployment's snapshot, or its first change after it; null when it has none (free TAO 0 throughout)"},"staked_since_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Staked Since Block","description":"Where every account's staked history starts: the engine's a0, PNL_START_BLOCK rounded up to 300, never before 8,765,683"},"points":{"items":{"$ref":"#/components/schemas/BalancePoint"},"type":"array","title":"Points"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["coldkey","window","interval","synced_block","since_block","staked_since_block","points","limit"],"title":"WalletBalanceHistory"},"WalletEmissionHistory":{"properties":{"coldkey":{"type":"string","title":"Coldkey"},"window":{"type":"string","title":"Window"},"interval":{"type":"string","title":"Interval"},"synced_block":{"type":"integer","title":"Synced Block"},"since_block":{"type":"integer","title":"Since Block"},"points":{"items":{"$ref":"#/components/schemas/EmissionPoint"},"type":"array","title":"Points"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["coldkey","window","interval","synced_block","since_block","points","limit"],"title":"WalletEmissionHistory"},"WalletPnl":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"window":{"type":"string","title":"Window"},"source":{"type":"string","enum":["engine","alltime"],"title":"Source","default":"engine"},"subnet_generation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subnet Generation"},"from_block":{"type":"integer","title":"From Block"},"to_block":{"type":"integer","title":"To Block"},"from_ts":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From Ts"},"to_ts":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"To Ts"},"partial":{"type":"boolean","title":"Partial"},"realized":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Realized"},"unrealized_change":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unrealized Change"},"trading_pnl":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Trading Pnl"},"emission_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Alpha"},"emission_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Income"},"adjustment":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Adjustment"},"total":{"type":"number","title":"Total"},"cost_estimated":{"type":"boolean","title":"Cost Estimated"}},"type":"object","required":["netuid","window","from_block","to_block","from_ts","to_ts","partial","realized","unrealized_change","trading_pnl","emission_alpha","emission_income","adjustment","total","cost_estimated"],"title":"WalletPnl","description":"One subnet's PnL over a window, in TAO (API.md, /pnl). `source` engine:\nthe difference of the engine's running totals between `from_block` and\n`to_block`. `source` alltime (window=all, once sync_wallet_alltime has\ncaught up): value now less the value at from_block (the dTAO launch) less\nthe TAO put in plus the TAO taken out -- no cost basis, so the split\nfields are null."},"WalletPnlHistory":{"properties":{"coldkey":{"type":"string","title":"Coldkey"},"window":{"type":"string","title":"Window"},"interval":{"type":"string","title":"Interval"},"synced_block":{"type":"integer","title":"Synced Block"},"since_block":{"type":"integer","title":"Since Block","description":"The engine's a0, where the running totals start; points before it are null"},"points":{"items":{"$ref":"#/components/schemas/PnlPoint"},"type":"array","title":"Points"},"limit":{"type":"integer","title":"Limit"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["coldkey","window","interval","synced_block","since_block","points","limit"],"title":"WalletPnlHistory"},"WalletPosition":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"alpha_held":{"type":"number","title":"Alpha Held"},"avg_buy_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Buy Price"},"avg_buy_price_source":{"anyOf":[{"type":"string","enum":["cost_basis","alltime_buys"]},{"type":"null"}],"title":"Avg Buy Price Source"},"avg_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Cost"},"cost_since_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cost Since Block"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"realized_pnl_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Realized Pnl Tao"},"unrealized_pnl_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unrealized Pnl Tao"},"cost_estimated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cost Estimated"},"emission_alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Alpha"},"emission_value_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Value Tao"},"last_updated_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Updated Block"},"last_change_block":{"type":"integer","title":"Last Change Block"},"synced_block":{"type":"integer","title":"Synced Block"}},"type":"object","required":["netuid","alpha_held","avg_buy_price","price","realized_pnl_tao","unrealized_pnl_tao","cost_estimated","emission_alpha","emission_value_tao","last_updated_block","last_change_block","synced_block"],"title":"WalletPosition"},"WalletTransaction":{"properties":{"id":{"type":"string","title":"Id"},"time":{"type":"string","format":"date-time","title":"Time"},"block":{"type":"integer","title":"Block"},"kind":{"type":"string","enum":["buy","sell","transfer_internal","transfer_external","cross_subnet_swap","deposit","withdraw","dissolve_refund","fee","burn","recycle","auto_stake","root_claim","coldkey_swap","hotkey_swap","subnet_registration"],"title":"Kind"},"direction":{"type":"string","enum":["in","out","self"],"title":"Direction"},"netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Netuid"},"to_netuid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"To Netuid"},"alpha_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha Amount"},"tao_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tao Amount"},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"hotkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hotkey"},"to_hotkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Hotkey"},"counterparty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counterparty"},"swap_fee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Swap Fee"},"swap_fee_asset":{"anyOf":[{"type":"string","enum":["tao","alpha"]},{"type":"null"}],"title":"Swap Fee Asset"}},"type":"object","required":["id","time","block","kind","direction","netuid","to_netuid","alpha_amount","tao_amount","price","hotkey","to_hotkey","counterparty","swap_fee","swap_fee_asset"],"title":"WalletTransaction"},"WalletValidator":{"properties":{"netuid":{"type":"integer","title":"Netuid"},"v_hotkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"V Hotkey"},"alpha":{"type":"number","title":"Alpha"},"cost_basis_tao":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cost Basis Tao"},"last_change_block":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Change Block"},"synced_block":{"type":"integer","title":"Synced Block"},"shares":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Shares"}},"type":"object","required":["netuid","v_hotkey","alpha","cost_basis_tao","last_change_block","synced_block"],"title":"WalletValidator"},"WeightEvent":{"properties":{"id":{"type":"string","title":"Id"},"time":{"type":"string","format":"date-time","title":"Time"},"block":{"type":"integer","title":"Block"},"event":{"type":"string","enum":["WeightsSet","TimelockedWeightsCommitted","WeightsCommitted","TimelockedWeightsRevealed","WeightsRevealed","WeightsBatchRevealed"],"title":"Event"},"kind":{"type":"string","enum":["set","commit","reveal"],"title":"Kind"},"hotkey":{"type":"string","title":"Hotkey"},"netuid":{"type":"integer","title":"Netuid"},"mechanism":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mechanism"},"uid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Uid"},"extrinsic_idx":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Extrinsic Idx"},"commit_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Hash"},"reveal_round":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reveal Round"}},"type":"object","required":["id","time","block","event","kind","hotkey","netuid","mechanism","uid","extrinsic_idx","commit_hash","reveal_round"],"title":"WeightEvent"}}},"tags":[{"name":"pools","description":"Each subnet's pool: price, reserves, market cap, emission, volume."},{"name":"subnets","description":"Per-subnet resources: metagraph, validators, trades, transfers, prices, candles, slippage."},{"name":"validators","description":"Validators across subnets: ranking, per-subnet yield, childkey parents."},{"name":"baskets","description":"Root validators' beta baskets (Root Reborn): NAV, share price, return and BasketRate per 500-block snapshot."},{"name":"accounts","description":"One SS58 key as a coldkey and as a hotkey."},{"name":"wallets","description":"A coldkey's positions, balance, staking and transactions."},{"name":"limit-orders","description":"LimitOrders pallet events, their calls and linked outputs."},{"name":"stake-movements","description":"Stake moved, transferred or swapped between keys and subnets."},{"name":"native-transfers","description":"Balances.Transfer of free TAO."},{"name":"extrinsics","description":"Extrinsics by signer, pallet or call, last 31 days."},{"name":"alpha-changes","description":"Alpha burned and recycled."},{"name":"key-swaps","description":"Coldkey and hotkey swaps."},{"name":"weights","description":"Validator weight setting."},{"name":"hyperparameters","description":"Subnet hyperparameters and their changes."},{"name":"blocks","description":"Block headers."},{"name":"mempool","description":"Extrinsics waiting in the transaction pool, and what became of them: included, replaced or dropped."},{"name":"prices","description":"TAO in USD, from CoinGecko."},{"name":"exports","description":"Bulk files: every pool trade as Parquet, a file per 7,200 blocks."},{"name":"meta","description":"How fresh the data is: Amp's head, PostgreSQL's, and each exported table's watermark."},{"name":"sse","description":"Server-sent event streams (text/event-stream)."}]}