Queries
difficulty
Current PoW registration difficulty for a subnet.
Category: Hyperparameters
Parameters
| Parameter | Type | Description |
|---|---|---|
netuid | integer | Subnet to query. |
CLI
btcli query difficulty --netuid <integer> --jsonPython
Typed namespace method (autocomplete, signature help):
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.hyperparameters.difficulty(netuid=1)Or dispatch by name, as an agent would:
result = await client.read("difficulty", netuid=1)