SymbolUpdated

Event v290 → v315, v320 → v326, v334 → v367, v372 → v377, v385 → v402, v411 → v422, v423 → v424, v432 → v440, v441 → current #106

Emitted when a subnet 's token symbol is updated.

View events on chain
Useful for: subnet ownersstakersanalyticswalletsdevelopers

The Big Picture

Each subnet has its own Alpha token represented in Liquid Alpha. The symbol is how that token is displayed - like 'α1' for subnet 1's Alpha or 'IMG' for an image generation subnet. Symbols help users identify and distinguish subnet tokens in wallets and dashboards.

Why This Matters

Clear symbols make portfolio management easier. Instead of 'Subnet 47 Alpha', you see 'IMGEN'. As a subnet owner, a good symbol is part of your branding. As a user, symbols help you quickly identify which subnet tokens you hold.

Example Scenario

You launch an image generation subnet and want the Alpha token called 'IMGEN'. You update the symbol from default to 'IMGEN'. SymbolUpdated fires. Now wallets and explorers show your token as IMGEN instead of generic 'Alpha-47'.

Common Questions

Is there a character limit for symbols?
Typically yes, like stock tickers. Check the valid symbol length in the runtime - usually 3-10 characters to keep displays clean.
Can symbols conflict with other subnets?
The chain may or may not enforce uniqueness. Even if duplicates are allowed, choose unique symbols to avoid user confusion.
Does changing the symbol affect the token?
No, it's purely cosmetic. The underlying token, balances, and economics are unchanged. Only the display name updates.

Use Cases

  • Brand your subnet's Alpha token with a unique symbol
  • Track subnet rebranding efforts
  • Display correct symbols in wallets and UIs
  • Build subnet token tracking tools

How to Use This Event

  • → Track symbol changes for UI updates
  • → Monitor subnet branding evolution
  • → Build token display systems with correct symbols

From Chain Metadata

The symbol for a subnet has been updated.

Migration Notes

v424 v432 Breaking

netuid changed from u16 to NetUid

Update decoders: SCALE encoding is positional, so any signature change (added, removed, or type-changed fields, or storage shape changes) shifts byte offsets and existing decoders will misparse this item. Re-derive types from the new metadata.

Triggers

Emitted by

Preconditions

  • Caller is subnet owner or admin
  • Valid symbol provided

Effects

Storage Modified

Postconditions

  • Symbol storage updated

Side Effects

  • UIs display new symbol for subnet tokens

Event Data

#NameTypeDescription
0
netuid
NetUid netuid: Subnet ID (u16, 0-65535)
1
symbol
Vec<u8> Vec symbol (Vec<u8>)

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);

// Subscribe to SymbolUpdated events
client.finalizedBlock$.subscribe(async (block) => {
  const events = await api.event.SubtensorModule.SymbolUpdated.get(block.hash);
  for (const evt of events) {
    console.log("SymbolUpdated:", evt.payload);
  }
});

On-Chain Activity

Emission Frequency
●○○○○○ Rare <10K emissions

Infrequent or specialized

#160 most emitted event

As of block 9,385,000

Version History

v290 block 5,947,548 2 args
v320 block 6,523,566 2 args
v334 block 6,811,690 2 args
v372 block 7,430,358 2 args
v385 block 7,782,670 2 args
v411 block 8,283,784 2 args
v423 block 8,486,593 2 args
v432 block 8,636,190 2 args
v441 block 8,765,683 2 args Current

Runtime Info

View Source
Pallet Index
7
Event Index
106
First Version
v290
Current Version
v490