Class: Staking
api/entities/Account/Staking.Staking
Handles Account staking related functionality
Hierarchy
-
Namespace
<Account
>↳
Staking
Methods
getCommission
▸ getCommission(): Promise
<null
| StakingCommission
>
Returns
Promise
<null
| StakingCommission
>
null unless the account is seeking nominations as a validator
Defined in
api/entities/Account/Staking/index.ts:245
getController
▸ getController(): Promise
<null
| Account
>
Fetch the controller associated to this account if there is one