This call was removed in v219

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

sudo_set_hotkey_emission_tempo

Call Removed v195 → v219 (removed) #52

Sets the hotkey emission tempo .

Click items to navigate. Pan and zoom to explore.

From Chain Metadata

Sets the hotkey emission tempo. This extrinsic allows the root account to set the hotkey emission tempo, which determines the number of blocks before a hotkey drains accumulated emissions through to nominator staking accounts.

Input Parameters

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

Permissions

Origin
Root
Required Role

Permission data inferred from metadata. May be incomplete.

Requirements

  • Caller authorized to make changes

Effects

Postconditions

  • Value successfully updated

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_hotkey_emission_tempo call
const emission_tempo = 0;

const call = api.tx[stringCamelCase("AdminUtils")][stringCamelCase("sudo_set_hotkey_emission_tempo")](
  emission_tempo
);

Runtime Info

View Source
Pallet Index
19
Call Index
52
First Version
v195
Removed In
v219