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
Typed namespace method (autocomplete, signature help):
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.balances.coldkey_swap_announcement(coldkey_ss58="5F...")Or dispatch by name, as an agent would:
result = await client.read("coldkey_swap_announcement", coldkey_ss58="5F...")