This constant was removed in v219
This constant is no longer available in the current runtime. Existed from v146 to v219. Shown here for historical reference.
Runtime configuration value.
Current Value
0.000000001 TAO (1 raw)
Conversion: ÷ 10^9 (RAO → TAO)
Use Cases
- Genesis configuration
- Default value initialization
- Time-based operations
Value History
| Version | Block | Change | Value |
|---|---|---|---|
| v146 | #2,848,978 | Added | 0.000000001 TAO |
| v233 | #4,920,350 | Removed | 0.000000001 TAO |
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 InitialTargetStakesPerInterval constant
const value = await api.constants.SubtensorModule.InitialTargetStakesPerInterval();
console.log("InitialTargetStakesPerInterval:", value);
// Balance: divide by 10^9 for TAO
const tao = value / 1_000_000_000n;Type Information
- Type
- u64
- Byte Size
- 8 bytes
- Encoding
- fixed
- Raw Hex
- 0x0100000000000000
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v146
- Latest Version
- v219
- Removed In
- v219