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

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

Runtime Info

Pallet
System
Storage Kind
Plain
First Version
v151
Current Version
v411