MaturityRate

Storage Plain v411 → current

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)

Default Value

934866 0xd2430e0000000000

Absent keys read as this value — querying a key that has never been written returns this default, not an error or empty result.

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

On-Chain Activity

Write Frequency
●●○○○○ Minimal <10K est. writes

Fewer than 10K writes

#389 most written storage item

Write Source Calls + Hooks

Modified by both user extrinsics and runtime hooks

As of block 9,385,000

Runtime Info

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