This storage item was removed in v219

This storage item is no longer available in the current runtime. Existed from v210 to v219. Shown here for historical reference.

TargetMinGasPrice

Storage Removed Plain v210 → v219 (removed)

The target minimum gas price.

Queried by: developers

The Big Picture

MinGasPrice gradually trends toward this target, providing smooth fee transitions.

Use Cases

  • Understand fee trajectory
  • Predict future minimums

Purpose & Usage

Purpose

The value MinGasPrice is gradually adjusting toward.

Common Query Patterns

  • Single value query

Stored Value

value (U256)

Relationships

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 TargetMinGasPrice storage (no keys - plain value)
const result = await api.query
  [stringCamelCase("DynamicFee")]
  [stringCamelCase("TargetMinGasPrice")]();
console.log("TargetMinGasPrice:", result.toHuman());

Runtime Info

Pallet
DynamicFee
Storage Kind
Plain
First Version
v210
Removed In
v219