This event was removed in v212

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

WeightsMinStake

Event Removed v142 → v148, v149 → v165, v195 → v212 (removed) #47

min stake is set for validators to set weights .

From Chain Metadata

min stake is set for validators to set weights.

Triggers

Event Data

#NameTypeDescription
0
arg0
u64 Event field #0 (u64)

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

// Subscribe to WeightsMinStake events
client.finalizedBlock$.subscribe(async (block) => {
  const events = await api.event.SubtensorModule.WeightsMinStake.get(block.hash);
  for (const evt of events) {
    console.log("WeightsMinStake:", evt.payload);
  }
});

Version History

v142 block 2,543,779 1 args
v149 block 3,014,339 1 args
v195 block 3,791,350 1 args
v212 Removed

Runtime Info

View Source
Pallet Index
7
Event Index
47
First Version
v142
Removed In
v212