This call was removed in v212

This call is no longer available in the current runtime. Existed from v142 to v212. Shown here for historical reference.

sudo_set_weights_min_stake

Call Removed v142 → v212 (removed) #42

sudo_set_weights_min_stake call from AdminUtils pallet .

Click items to navigate. Pan and zoom to explore.

Input Parameters

#NameTypeDescription
0
min_stake
u64 min_stake (u64) (RAO -> TAO (/ 10^9))

Permissions

Origin
Root
Required Role

Permission data inferred from metadata. May be incomplete.

Requirements

  • Caller authorized to make changes
  • Sufficient balance for staking operation

Effects

Postconditions

  • Value successfully updated
  • Stake updated successfully

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);

// Build sudo_set_weights_min_stake call (typed, named args)
const min_stake = 1_000_000_000n;

const tx = api.tx.AdminUtils.sudo_set_weights_min_stake({
  min_stake,
});

Runtime Info

View Source
Pallet Index
19
Call Index
42
First Version
v142
Removed In
v212