Balances and Withdrawals
Query the staking-pool contract for the account’s delegated balance. In the reference pool, the following read-only methods take{"account_id":"<delegator_account_id>"} and return balances in yoctoNEAR:
Unstaking and withdrawing are separate operations. The reference staking pool waits four epochs before withdrawal becomes available; query the selected pool’s withdrawal availability.
Use
unstake or unstake_all to unstake, then withdraw or withdraw_all to return available funds to the delegator’s account. See Validator Staking for commands and Balances & Reconciliation for account balance queries.
Validator Participation
Anyone can become a validator by meeting the network’s stake requirements and following the protocol’s validator selection process. Submit a staking proposal and inspect the current and upcoming validator sets through the network RPC. Selection changes take effect at epoch boundaries. See validators for current requirements.Frequently Asked Questions
How long does a validator remain a validator?
How long does a validator remain a validator?
A validator will stop being a validator for the following reasons:
- Not producing enough blocks or chunks.
- Not getting elected in the auction for next epoch because their stake is not large enough.
What is the penalty for misbehaving validators?
What is the penalty for misbehaving validators?
Validators are not slashed for being offline but they do miss out on the rewards of validating. Validators who miss too many blocks or chunks will be removed from the validation set in the next auction and not get any reward (but, again, without slashing).