Queries
pending-children
Proposed child hotkeys of a parent still in cooldown, and when they apply.
set_children normally does not take effect immediately: the proposal is
parked here until cooldown_block, then promoted to the finalized set
that the children read returns. On subnets whose subtoken is not yet
enabled the cooldown is skipped and children apply immediately, so
nothing lingers here. children is (proportion, child_ss58) pairs with
u64-normalized proportions, matching the children read.
Category: Delegation
Parameters
| Parameter | Type | Description |
|---|---|---|
hotkey_ss58 | string | Parent hotkey whose pending children to list. |
netuid | integer | Subnet to query. |
CLI
btcli query pending-children --hotkey <ss58|name> --netuid <integer> --jsonPython
Namespace method (autocomplete, signature help):
import bittensor as bt
sub = bt.Subtensor()
result = sub.delegation.pending_children(hotkey_ss58="5F...", netuid=1)Or dispatch by name, as an agent would:
result = sub.read("pending_children", hotkey_ss58="5F...", netuid=1)Async is the same surface awaited: async with bt.Subtensor() as client:.
On-chain implementation
- Storage
SubtensorModule.PendingChildKeys
Every file is browsable under /code exactly as built into the runtime.