Interface: PlainStaker
JSON-compatible and human-readable format of a staker. E.g. delegation addresses are presented in their human-readable format.
Table of contents
Properties
Properties
balance
• balance: number
The staker's active balance.
Defined in
web.d.ts:58
delegation
• delegation: string
The address of the validator for which the staker is delegating its stake for. If it is not delegating to any validator, this will be set to None.
Defined in
web.d.ts:63
inactiveBalance
• inactiveBalance: number
The staker's inactive balance. Only released inactive balance can be withdrawn from the staking contract. Stake can only be re-delegated if the whole balance of the staker is inactive and released (or if there was no prior delegation). For inactive balance to be released, the maximum of the inactive and the validator's jailed periods must have passed.
Defined in
web.d.ts:70
inactiveFrom
• inactiveFrom: number
The block number from which the staker's inactive_balance
becomes inactive. Stake can only effectively become inactive on the next election block. Thus, this may contain a future block height. Re-delegation requires the whole balance of the staker to be inactive and released, as well as its delegated validator to not currently be jailed.
Defined in
web.d.ts:78
inactiveRelease
• inactiveRelease: number
The block number from which the staker's inactive_balance
gets released, e.g. for unstaking. Re-delegation requires the whole balance of the staker to be inactive and released, as well as its delegated validator to not currently be jailed.
Defined in
web.d.ts:84