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.

DurationOfStartCall

Constant Removed v257 → v367 (removed) u64

Runtime configuration value.

Current Value

50400

From Chain Metadata

Block number after a new subnet accept the start call extrinsic.

Use Cases

  • Runtime configuration

Value History

VersionBlockChangeValue
v257#5,228,683Added50400
v372#7,430,358Removed50400

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