AutoParentDelegationEnabledSet
Event v401 → current New #124A root validator toggled the "auto parent delegation " flag.
View events on chainFrom Chain Metadata
A root validator toggled the "auto parent delegation" flag.
Triggers
Preconditions
- Caller authorized to make changes
Effects
Postconditions
- Value successfully updated
Event Data
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 AutoParentDelegationEnabledSet events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("SubtensorModule") &&
event.method === "AutoParentDelegationEnabledSet"
)
.forEach(({ event }) => {
console.log("AutoParentDelegationEnabledSet:", event.data.toHuman());
});
});Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 124
- First Version
- v401
- Current Version
- v401