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) #0Sets the target minimum gas price for dynamic fee adjustment.
Call Workflow
This diagram shows the call execution flow: starting with note_min_gas_price_target, passing through validation
(signature, nonce, mortality, fee payment), then pre-dispatch checks, followed by dispatch and modifies storage: TargetMinGasPrice, and finally post-dispatch where ExtrinsicSuccess is emitted and fees are settled.
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
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
| # | Name | Type | Description |
|---|---|---|---|
| 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