IdentityDissolved

Event v136 → current #1

Emitted when a user removes their on-chain identity and reclaims their deposit.

View events on chain
Useful for: validatorsanalyticswalletsdevelopers

The Big Picture

Identity dissolution is often a precursor to account changes. Validators might clear identity before retiring or migrating to a new account. This event signals that an account has opted out of public visibility - any systems displaying their identity should update accordingly.

Why This Matters

When a validator clears their identity, it might signal they're retiring or experiencing issues. Delegators should be notified so they can review their stake positions. It's also important for data hygiene - don't display stale identity info for accounts that have cleared it.

Example Scenario

A validator you're staking to clears their identity. IdentityDissolved fires with their account. Your wallet should remove their display name and show just the address. This might be a signal to review your delegation.

Common Questions

Should I be concerned if my validator clears their identity?
Not necessarily - they might be updating to a new identity, or migrating accounts. But it's worth investigating if they don't re-register soon.
Does the account still work after clearing identity?
Yes, the account functions normally. Only the attached metadata is removed. They can still validate, stake, and do everything else - just without public identity info.

Use Cases

  • Track when validators or accounts remove their identities
  • Update validator directories when identities are cleared
  • Monitor for accounts preparing for migration or retirement
  • Build analytics on identity lifecycle and retention

How to Use This Event

  • Update directories to remove dissolved identities
  • Trigger alerts when monitored validators clear their identity
  • Track identity dissolution patterns for ecosystem health
  • Clean up cached identity data when this event fires
Part of: Identity Registry

Triggers

Emitted by

Preconditions

  • Account has a registered identity
  • Signer is the identity owner

Effects

Storage Modified

Postconditions

  • Identity metadata removed from IdentityOf
  • Deposit returned to account's free balance
  • Account no longer has registered identity

Side Effects

  • Account becomes anonymous again (no metadata)
  • Any systems depending on this identity should update

Event Data

#NameTypeDescription
0
who
AccountId Account that cleared their identity (hex -> SS58)

Code Examples

import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";

const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });

// Subscribe to IdentityDissolved events
api.query.system.events((events) => {
  events
    .filter(({ event }) =>
      event.section === stringCamelCase("Registry") &&
      event.method === "IdentityDissolved"
    )
    .forEach(({ event }) => {
      console.log("IdentityDissolved:", event.data.toHuman());
    });
});

Runtime Info

View Source
Pallet Index
17
Event Index
1
First Version
v136
Current Version
v393