Skip to content

Commit

Permalink
add RPC component for minimum active stake (w3f#4487)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfarok authored Feb 17, 2023
1 parent 070faa4 commit 7dd8846
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
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

0 comments on commit 7dd8846

Please sign in to comment.