Queried by: developersanalytics
The Big Picture
Higher elasticity = faster fee adjustments = more volatile gas prices.
Use Cases
- Understand fee algorithm
- Predict fee changes
Purpose & Usage
Purpose
Controls how responsive the base fee is to block fullness.
Common Query Patterns
- Single value query
Stored Value
value (Permill)
Relationships
Modified By
Related Events
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 Elasticity storage (no keys - plain value)
const result = await api.query
[stringCamelCase("BaseFee")]
[stringCamelCase("Elasticity")]();
console.log("Elasticity:", result.toHuman());Runtime Info
- Pallet
- BaseFee
- Storage Kind
- Plain
- First Version
- v210
- Current Version
- v393