Skip to content
docs

UnlockEstimate

Defined in: protocol-staking-native-near/src/types.ts:177

When an unstaked balance becomes withdrawable.

at: number | null

Defined in: protocol-staking-native-near/src/types.ts:185

Unix ms estimates of the epochs above.


earliestAt: number

Defined in: protocol-staking-native-near/src/types.ts:186


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: number | null

Defined in: protocol-staking-native-near/src/types.ts:187


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: "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.