Transactions
remove-proxy
Revoke one proxy delegation.
The (delegate, proxy_type, delay) triple must match the original
add_proxy exactly — a mismatch fails with NotFound rather than removing
a different delegation. The proxy deposit reserved at add time is returned
to the signer. Check current delegations with btcli query proxies.
| Signer | Pallet | Wraps |
|---|---|---|
coldkey | Proxy | Proxy.remove_proxy |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
delegate_ss58 | string | yes | Delegate whose authorization to revoke. |
proxy_type | string | no | Type the delegation was granted with (must match exactly). |
delay | integer | no | Delay the delegation was granted with (must match exactly). |
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-proxy \
--delegate <ss58|name> --dry-run
btcli tx remove-proxy \
--delegate <ss58|name> -w my_coldkeyPython
import bittensor as sub
from bittensor.wallet import Wallet
wallet = Wallet(name="my_coldkey", hotkey="my_hotkey")
intent = sub.RemoveProxy(delegate_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("remove_proxy", {...}, wallet)