This call was removed in v219

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

note_min_gas_price_target

Call Removed v210 → v219 (removed) #0

Sets the target minimum gas price for dynamic fee adjustment.

Click items to navigate. Pan and zoom to explore.

Used by: developers

The Big Picture

Sets target minimum - fee algorithm gradually adjusts toward this floor.

Use Cases

  • Set floor for gas prices
  • Prevent too-low fees

Input Parameters

#NameTypeDescription
0
target
U256 target (U256)

Permissions

Origin
Unknown
Required Role

Permission data inferred from metadata. May be incomplete.

Requirements

  • Valid U256 target

Effects

Storage Modified

Postconditions

  • TargetMinGasPrice updated

Side Effects

  • Gradual MinGasPrice adjustment over time

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

// Build note_min_gas_price_target call
const target = 0 as any /* U256 */;

const call = api.tx[stringCamelCase("DynamicFee")][stringCamelCase("note_min_gas_price_target")](
  target
);

Runtime Info

Pallet Index
24
Call Index
0
First Version
v210
Removed In
v219