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
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.read("commitments", netuid=1)