Queries
coldkey-swap-announcement
A coldkey's pending swap announcement (execute block, new-key hash, disputed), or None.
This is the swap-check status: ColdkeySwapAnnouncements stores the block
at which the swap becomes executable and the BlakeTwo256 hash committed to.
Category: Accounts & keys
Parameters
| Parameter | Type | Description |
|---|---|---|
coldkey_ss58 | string | Coldkey whose pending swap announcement to check. |
CLI
btcli query coldkey-swap-announcement --coldkey <ss58|name> --jsonPython
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.read("coldkey_swap_announcement", coldkey_ss58="5F...")