Queries
basket-trading-status
A validator's `swap_basket` trading status: gates and the turnover bucket.
enabled is the network-wide gate, frozen the per-hotkey governance freeze.
The turnover budget is a token bucket: budget_tao is its capacity
(BasketDailyTurnoverCap share of the fund's guarded NAV — each holding at
the lower of its realizable value and its slow-moving-price value, so a
pumped pool cannot enlarge it), remaining_tao what a trade right
now could push through the fund, used_tao the difference, and the bucket
refills by refill_per_block_tao every block (budget_tao / refill_blocks,
a full refill over refill_blocks = 7200 blocks).
Category: Staking
Parameters
| Parameter | Type | Description |
|---|---|---|
hotkey_ss58 | string | Validator hotkey whose basket trading status to read. |
CLI
btcli query basket-trading-status --hotkey <ss58|name> --jsonPython
Namespace method (autocomplete, signature help):
import bittensor as bt
sub = bt.Subtensor()
result = sub.staking.basket_trading_status(hotkey_ss58="5F...")Or dispatch by name, as an agent would:
result = sub.read("basket_trading_status", hotkey_ss58="5F...")Async is the same surface awaited: async with bt.Subtensor() as client:.