clear_coldkey_swap_announcement

Call v385 → current #133

Clears a coldkey swap announcement after the reannouncement delay if

View calls on chain

Click items to navigate. Pan and zoom to explore.

From Chain Metadata

Clears a coldkey swap announcement after the reannouncement delay if it has not been disputed. The `ColdkeySwapCleared` event is emitted on successful clear.

This call takes no parameters.

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 clear_coldkey_swap_announcement call (no parameters)
const tx = api.tx.SubtensorModule.clear_coldkey_swap_announcement();

Runtime Info

View Source
Pallet Index
7
Call Index
133
First Version
v385
Current Version
v411