# Polkadot Pattern (Substrate) SRB

In the Substrate ecosystem, chains follow either a Nominated Proof of Stake (NPoS) or Delegated Proof of Stake (DPoS) consensus model.

> **TL;DR:** Substrate chains use an era-based reward model. NPoS chains (Polkadot, Kusama, Avail) distribute rewards based on each validator's era points, while DPoS chains (Moonbeam, Moonriver) share collator block rewards with delegators. All use direct RPC access for on-chain data.

**NPoS chains** (Polkadot, Kusama, Avail, StaFi, Vara, zkVerify) use the Staking pallet where nominators back validators. At the end of an era, rewards are distributed according to each validator's share of the total era points.

**DPoS chains** (Moonbeam, Moonriver) use the ParachainStaking pallet where delegators back collators. Collators produce blocks on their respective parachains and share rewards with delegators.

**Compute-based chains** (Phala) use a custom model where stakers delegate to stake pools that bind compute workers. Rewards are tied to compute performance rather than block production.

All chains use `py-substrate-interface` for direct RPC access to on-chain staking data.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stakingrewards.com/staking-data/methodologies/polkadot-pattern-substrate-srb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
