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 { 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