This event was removed in v277

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

AggregatedUnstakeAllAlphaFailed

Event Removed v273 → v277 (removed) #15

aggregated unstake_all_alpha operation has failed

From Chain Metadata

aggregated unstake_all_alpha operation has failed

Triggers

Effects

Event Data

#NameTypeDescription
0
arg0
AccountId Event field #0 (AccountId) (hex -> SS58)
1
arg1
AccountId Event field #1 (AccountId) (hex -> SS58)

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

// Subscribe to AggregatedUnstakeAllAlphaFailed events
api.query.system.events((events) => {
  events
    .filter(({ event }) =>
      event.section === stringCamelCase("SubtensorModule") &&
      event.method === "AggregatedUnstakeAllAlphaFailed"
    )
    .forEach(({ event }) => {
      console.log("AggregatedUnstakeAllAlphaFailed:", event.data.toHuman());
    });
});

Runtime Info

View Source
Pallet Index
7
Event Index
15
First Version
v273
Removed In
v277