Authorities

Storage Plain v151 → current

List of current GRANDPA authorities (public keys with voting weights ).

Explore chain
Queried by: validatorsdevelopersanalytics

The Big Picture

This is the definitive list of who can vote on finality right now. Each entry is a public key (ed25519) and a weight. Votes are weighted - higher weight means more influence in finalization. Updated at session changes via NewAuthorities event.

Use Cases

  • Get the current finality voter set
  • Calculate total voting weight
  • Verify if a specific validator is in the authority set
  • Build validator monitoring tools

From Chain Metadata

The current list of authorities.

Purpose & Usage

Purpose

The active set of validators who vote on block finality.

Common Query Patterns

  • Single value query returns Vec of (AuthorityId, Weight)

Stored Value

value (WeakBoundedVec)

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 Authorities storage (no keys - plain value)
const result = await api.query
  [stringCamelCase("Grandpa")]
  [stringCamelCase("Authorities")]();
console.log("Authorities:", result.toHuman());

Runtime Info

Pallet
Grandpa
Storage Kind
Plain
First Version
v151
Current Version
v393