Queries
timelocked-weight-commits
Pending (still-encrypted) commit-reveal weight commits, grouped by epoch.
Each entry carries the committing hotkey, the commit_block, the drand
reveal_round at which the chain auto-decrypts and applies it, reveals_at
(that round's UTC time, computed locally), and the ciphertext. Entries
disappear from this map once revealed — revealed weights show up in the
weights read.
Category: Weights & bonds
Parameters
| Parameter | Type | Description |
|---|---|---|
netuid | integer | Subnet whose pending weight commits to list. |
mechid | integer | Mechanism index within the subnet; 0 (the default) on ordinary subnets. |
CLI
btcli query timelocked-weight-commits --netuid <integer> --mechid <integer> --jsonPython
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.read("timelocked_weight_commits", netuid=1, mechid=1)