Queries
commitments
Every commitment on a subnet, newest first: hotkey, uid, content, block, age, reveal state.
One row per hotkey that has (or had) a commitment — including sealed
timelocked payloads waiting on drand (is_revealed false, reveals_at
set) and fully-revealed ones whose live storage entry the chain already
dropped. commitment is the currently visible content: the plaintext, or
the latest chain-decrypted payload; null while still sealed.
Category: Identity & commitments
Parameters
| Parameter | Type | Description |
|---|---|---|
netuid | integer | Subnet whose commitments to list. |
CLI
btcli query commitments --netuid <integer> --jsonPython
Namespace method (autocomplete, signature help):
import bittensor as bt
sub = bt.Subtensor()
result = sub.identity.commitments(netuid=1)Or dispatch by name, as an agent would:
result = sub.read("commitments", netuid=1)Async is the same surface awaited: async with bt.Subtensor() as client:.