This constant was removed in v367
This constant is no longer available in the current runtime. Existed from v257 to v367. Shown here for historical reference.
Current Value
50400From Chain Metadata
Block number after a new subnet accept the start call extrinsic.
Use Cases
- Runtime configuration
Value History
| Version | Block | Change | Value |
|---|---|---|---|
| v257 | #5,228,683 | Added | 50400 |
| v372 | #7,430,358 | Removed | 50400 |
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 });
// Query DurationOfStartCall constant
const value = api.consts[stringCamelCase("SubtensorModule")][stringCamelCase("DurationOfStartCall")];
console.log("DurationOfStartCall:", value.toHuman());
// Convert RAO to TAO if this is a balance value
const taoValue = value.toBigInt() / BigInt(1e9);
console.log("TAO:", taoValue.toString());Type Information
- Type
- u64
- Byte Size
- 8 bytes
- Encoding
- fixed
- Raw Hex
- 0xe0c4000000000000
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v257
- Latest Version
- v367
- Removed In
- v367