Function pallet_capacity::pallet::dispatchables::claim_staking_rewards
source · pub fn claim_staking_rewards<T: Config>()
Expand description
Claim all outstanding Provider Boost rewards, up to ProviderBoostHistoryLimit Reward Eras in the past. Accounts should check for unclaimed rewards before calling this extrinsic to avoid needless transaction fees. Errors: - NotAProviderBoostAccount: if Origin has nothing staked for ProviderBoost - NoRewardsEligibleToClaim: if Origin has no unclaimed rewards to pay out.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::claim_staking_rewards
.