Transactions
kill-pure-proxy
Close a pure proxy account and return its reserved deposit.
Must be signed by the pure proxy itself (i.e. dispatched through it with
proxy_for=<pure proxy>), and the parameters must reproduce the exact
creation: spawner, type, index, plus the block height and extrinsic index
of the create_pure_proxy call. Irreversible — any funds left in the
account become permanently inaccessible, so empty it first.
| Signer | Pallet | Wraps |
|---|---|---|
coldkey | Proxy | Proxy.kill_pure |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
spawner_ss58 | string | yes | Account that originally created the pure proxy. |
proxy_type | string | no | Type the pure proxy was created with (must match exactly). |
index | integer | no | Index the pure proxy was created with (must match exactly). |
height | integer | no | Block number of the creating create_pure_proxy call. |
ext_index | integer | no | Extrinsic index of the creating call within that block. |
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 kill-pure-proxy \
--spawner <ss58|name> --dry-run
btcli tx kill-pure-proxy \
--spawner <ss58|name> -w my_coldkeyPython
import bittensor as sub
from bittensor.wallet import Wallet
wallet = Wallet(name="my_coldkey", hotkey="my_hotkey")
intent = sub.KillPureProxy(spawner_ss58="5F...")
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("kill_pure_proxy", {...}, wallet)