This constant was removed in v127
This constant is no longer available in the current runtime. Existed from v101 to v127. Shown here for historical reference.
Runtime configuration value.
Current Value
50Use Cases
- Genesis configuration
- Default value initialization
Value History
| Version | Block | Change | Value |
|---|---|---|---|
| v101 | #1 | Added | 50 |
| v133 | #1,404,224 | Removed | 50 |
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 InitialSynergyScalingLawPower constant
const value = await api.constants.SubtensorModule.InitialSynergyScalingLawPower();
console.log("InitialSynergyScalingLawPower:", value);Type Information
- Type
- u16
- Byte Size
- 2 bytes
- Encoding
- fixed
- Raw Hex
- 0x3200
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v101
- Latest Version
- v127
- Removed In
- v127