Deterministically derives the subnet -owned account that holds SubnetTAO and SubnetLocked balances.
Current Value
0x73756274656e7372Relevant for: developersanalyticssubnet owners
The Big Picture
v411 moves subnet-owned balances out of pure storage maps into derived on-chain accounts. This pallet ID seeds the derivation, so every subnet has a real System.Account holding its TAO.
From Chain Metadata
Pallet account ID
Use Cases
- Compute the on-chain account address for any subnet
- Audit subnet-owned balance flows
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);
// Query SubtensorPalletId constant
const value = await api.constants.SubtensorModule.SubtensorPalletId();
console.log("SubtensorPalletId:", value);Type Information
- Type
- PalletId
- Byte Size
- variable bytes
- Encoding
- composite
- Raw Hex
- 0x73756274656e7372
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v411
- Latest Version
- v411
- Current Runtime
- v411