UnlockEstimate
Defined in: protocol-staking-native-near/src/types.ts:177
When an unstaked balance becomes withdrawable.
Properties
Section titled “Properties”at:
number|null
Defined in: protocol-staking-native-near/src/types.ts:185
Unix ms estimates of the epochs above.
earliestAt
Section titled “earliestAt”earliestAt:
number
Defined in: protocol-staking-native-near/src/types.ts:186
earliestEpoch
Section titled “earliestEpoch”earliestEpoch:
bigint
Defined in: protocol-staking-native-near/src/types.ts:181
Earliest possible unlock epoch.
epoch:
bigint|null
Defined in: protocol-staking-native-near/src/types.ts:179
Exact unlock epoch when known (from history, or from the contract for liquid staking).
latestAt
Section titled “latestAt”latestAt:
number|null
Defined in: protocol-staking-native-near/src/types.ts:187
latestEpoch
Section titled “latestEpoch”latestEpoch:
bigint|null
Defined in: protocol-staking-native-near/src/types.ts:183
Latest possible unlock epoch; null when no upper bound is known.
source
Section titled “source”source:
"history"|"contract"|"estimate"
Defined in: protocol-staking-native-near/src/types.ts:189
‘history’: dated by the account’s last unstake; ‘contract’: read from the contract; ‘estimate’: bounds only.