Queries

commitments

Every commitment on a subnet, newest first: hotkey, uid, content, block, age, reveal state.

View as Markdown

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

ParameterTypeDescription
netuidintegerSubnet whose commitments to list.

CLI

btcli query commitments --netuid <integer> --json

Python

import bittensor as sub

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