Transactions

remove-proxies

Revoke every proxy delegation for the signing account at once.

View as Markdown

A cleanup/panic switch: all delegates lose access in one call and all proxy deposits are returned. Careful if this account spawned pure proxies — they are controlled through delegations, so removing everything can strand them permanently (there is no key to recover a pure proxy with).

SignerPalletWraps
coldkeyProxyProxy.remove_proxies

Parameters

This operation takes no parameters.

Address parameters (--hotkey, --coldkey, --dest, ...) accept a raw ss58 address, an address-book or proxy-book name, or a local wallet/hotkey name.

CLI

Preview with --dry-run (shows fee, effects, and policy result without submitting), then submit:

btcli tx remove-proxies --dry-run
btcli tx remove-proxies -w my_coldkey

Python

import bittensor as sub
from bittensor.wallet import Wallet

wallet = Wallet(name="my_coldkey", hotkey="my_hotkey")
intent = sub.RemoveProxies()

async with sub.Client("finney") as client:
    plan = await client.plan(intent, wallet)   # fee, effects, policy — no submission
    result = await client.execute(intent, wallet)
    if not result.success:
        print(result.error.code, result.error.remediation)

Or build it by op name, as an agent would:

await client.execute_tool("remove_proxies", {...}, wallet)