MaturityRate

Storage Plain v411 → current New

Decay timescale in blocks for lock conviction . ITEM, default ~90 days.

Explore chain
Queried by: analyticsdevelopers

The Big Picture

Locks build conviction continuously up to a cap; MaturityRate sets the timescale over which that build-up occurs. Slower maturity means it takes longer for new locks to challenge existing ones.

Use Cases

  • Model expected conviction trajectory for a planned lock
  • Compare current rate against the original default

From Chain Metadata

ITEM( maturity_rate ) | Decay timescale in blocks for lock conviction.

Purpose & Usage

Purpose

Controls how fast conviction accrues toward maximum from a given locked mass.

Common Query Patterns

  • Single-value query
Part of: Lock & Conviction

Stored Value

maturity_rate (u64)

RAO -> TAO (/ 10^9)

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 MaturityRate storage (no keys - plain value)
const result = await api.query.SubtensorModule.MaturityRate.getValue();
console.log("MaturityRate:", result);

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v411
Current Version
v411