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

// Build sudo_set_weights_min_stake call
const min_stake = 1_000_000_000n;

const call = api.tx[stringCamelCase("AdminUtils")][stringCamelCase("sudo_set_weights_min_stake")](
  min_stake
);

Runtime Info

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