InherentsApplied

Storage Plain v151 → current

Whether all inherents have been applied in current block .

Explore chain
Queried by: validatorsdevelopers

The Big Picture

Part of block execution lifecycle. Inherents are system-generated extrinsics.

Use Cases

  • Runtime internal logic

From Chain Metadata

Whether all inherents have been applied.

Purpose & Usage

Purpose

Internal block execution tracking.

Common Query Patterns

  • Query during block execution

Stored Value

value (bool)

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

// Query InherentsApplied storage (no keys - plain value)
const result = await api.query
  [stringCamelCase("System")]
  [stringCamelCase("InherentsApplied")]();
console.log("InherentsApplied:", result.toHuman());

Runtime Info

Pallet
System
Storage Kind
Plain
First Version
v151
Current Version
v393