This call was removed in v165

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

sudo_hotfix_swap_coldkey_delegates

Call Removed v164 → v165 (removed) #64

Sets values for liquid alpha

Click items to navigate. Pan and zoom to explore.

From Chain Metadata

Sets values for liquid alpha

Input Parameters

#NameTypeDescription
0
old_coldkey
AccountId old_coldkey: Account address (32 bytes, SS58-encoded) (hex -> SS58)
1
new_coldkey
AccountId new_coldkey: Account address (32 bytes, SS58-encoded) (hex -> SS58)

Permissions

Origin
Unknown
Required Role

Permission data inferred from metadata. May be incomplete.

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_hotfix_swap_coldkey_delegates call (typed, named args)
const old_coldkey = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const new_coldkey = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";

const tx = api.tx.SubtensorModule.sudo_hotfix_swap_coldkey_delegates({
  old_coldkey,
  new_coldkey,
});

Runtime Info

View Source
Pallet Index
7
Call Index
64
First Version
v164
Removed In
v165