Queries

coldkey-swap-announcement

A coldkey's pending swap announcement (execute block, new-key hash, disputed), or None.

View as Markdown

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

ParameterTypeDescription
coldkey_ss58stringColdkey whose pending swap announcement to check.

CLI

btcli query coldkey-swap-announcement --coldkey <ss58|name> --json

Python

import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("coldkey_swap_announcement", coldkey_ss58="5F...")