Queries

timelocked-weight-commits

Pending (still-encrypted) commit-reveal weight commits, grouped by epoch.

View as Markdown

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

ParameterTypeDescription
netuidintegerSubnet whose pending weight commits to list.
mechidintegerMechanism index within the subnet; 0 (the default) on ordinary subnets.

CLI

btcli query timelocked-weight-commits --netuid <integer> --mechid <integer> --json

Python

import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("timelocked_weight_commits", netuid=1, mechid=1)