Trust

Storage Map v101 → current

Trust scores for neurons on a subnet .

Explore chain
Queried by: validatorsminersanalytics

The Big Picture

Trust measures how much validators agree about a neuron. A neuron with high trust is consistently rated well by many validators. High trust with low rank might mean validators agree the neuron is mediocre. Trust + Rank together paint the full picture.

Why This Matters

Is this neuron's performance consistent across validators, or controversial? Trust shows consensus agreement. High trust means validators agree on this neuron's quality (good or bad).

Example Scenario

Query Trust(netuid=1, uid=47) returns 0.85 (normalized). 85% trust means strong agreement among validators about this neuron's ratings. Low trust (~0.3) means validators disagree significantly.

Common Questions

High trust but low rank - what does that mean?
Validators agree this neuron performs poorly. Consistent mediocrity. Low trust means validators disagree - some rate high, others low.
How does trust affect emissions?
Trust is one input to the consensus mechanism. It affects how reliably a neuron's rank translates to emissions.

Use Cases

  • Evaluate how trusted a neuron is by validators
  • Identify neurons with high consensus agreement
  • Build trust-based filtering for delegation choices
  • Research network trust dynamics

Purpose & Usage

Purpose

Track trust from consensus mechanism.

Common Query Patterns

  • Query by netuid-uid
Part of: Yuma Consensus

Query Keys

#NameTypeDescription
1
key1
u16 key1 (u16)

Stored Value

value (Vec<u16>)

Relationships

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 Trust storage
const key1 = 0;

const result = await api.query
  [stringCamelCase("SubtensorModule")]
  [stringCamelCase("Trust")](
  key1
);

console.log("Trust:", result.toHuman());

On-Chain Activity

Write Frequency
●●●●○○ Medium 100K–1M est. writes

100K–1M estimated writes

#32 most written storage item

Write Source Calls + Hooks

Modified by both user extrinsics and runtime hooks

As of block 7,429,232

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v101
Current Version
v393