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 { 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 DurationOfStartCall constant
const value = await api.constants.SubtensorModule.DurationOfStartCall();
console.log("DurationOfStartCall:", 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
0xe0c4000000000000

Runtime Info

Pallet
SubtensorModule
First Version
v257
Latest Version
v367
Removed In
v367