Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RPC component for minimum active stake #4487

Merged
merged 1 commit into from
Feb 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/general/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ functionalities on Polkadot.
- {{ polkadot: __<RPC network="polkadot" path="query.nominationPools.minCreateBond" defaultValue={2000000000000} filter="humanReadable"/>:__ :polkadot }}
you can create your own [nomination pool](../learn/learn-nomination-pools.md).

- {{ polkadot: __<RPC network="polkadot" path="query.staking.minimumActiveStake" defaultValue={2937000000000} filter="humanReadable"/>:__ :polkadot }}
the minimum amount of DOT required to become an active nominator and earn rewards.

DOT has utility in [Polkadot's democracy](../maintain/maintain-guides-democracy.md). Bonding DOT is
a requirement to create proposals, to endorse them and to vote on them when they become referendums.
Bonding
Expand Down
3 changes: 3 additions & 0 deletions docs/general/kusama/kusama-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ governance, acquisition of a parachain slot and for enabling several key functio
- {{ kusama: __<RPC network="kusama" path="query.nominationPools.minCreateBond" defaultValue={1000000000000} filter="humanReadable"/>:__ :kusama }}
you can create your own [nomination pool](../../learn/learn-nomination-pools.md).

- {{ kusama: __<RPC network="kusama" path="query.staking.minimumActiveStake" defaultValue={0} filter="humanReadable"/>:__ :kusama }}
the minimum amount of KSM required to become an active nominator and earn rewards.

KSM has utility in [Kusama's democracy](../../maintain/maintain-guides-democracy.md). Bonding KSM is
a requirement to create proposals, to endorse them and to vote on them when they become referendums.
Bonding
Expand Down
1 change: 1 addition & 0 deletions tests/rpc.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const paths = [
{ path: 'query.nominationPools.maxPools', network: 'kusama' },
{ path: 'query.nominationPools.maxPoolMembersPerPool', network: 'kusama' },
{ path: 'query.nominationPools.minJoinBond', network: 'kusama' },
{ path: 'query.staking.minimumActiveStake', network: 'polkadot' },
{ path: 'consts.assets.assetDeposit', network: 'statemint' },
]

Expand Down