remove_proxies

Call v149 → current #3

Remove all proxy registrations for the caller's account.

View calls on chain

Click items to navigate. Pan and zoom to explore.

Used by: stakersvalidatorsdeveloperswallets

The Big Picture

Nuclear option - revoke all proxy permissions at once.

Use Cases

  • Emergency revocation of all proxies
  • Clean slate for credential rotation

From Chain Metadata

See [`Pallet::remove_proxies`].

This call takes no parameters.

Permissions

Origin
Unknown
Required Role

Permission data inferred from metadata. May be incomplete.

Requirements

  • Caller has at least one proxy registered

Effects

Events Emitted

Storage Modified

Postconditions

  • All proxy relationships removed
  • All deposits returned

Side Effects

  • All proxies immediately lose ability to act on caller's behalf

Code Examples

import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Build remove_proxies call (no parameters)
const tx = api.tx.Proxy.remove_proxies();

Runtime Info

Pallet Index
16
Call Index
3
First Version
v149
Current Version
v411