NearUnstakeQuote
Defined in: protocol-staking-native-near/src/types.ts:290
Extended by
Section titled “Extended by”Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: protocol-staking-native-near/src/types.ts:295
yoctoNEAR moving from staked to unstaked (for ‘all’: the current staked balance).
fee:
bigint
Defined in: protocol-staking-native-near/src/types.ts:291
id:
bigint
Defined in: protocol-staking-native-near/src/types.ts:298
The request’s id for claimWithdrawals({ ids }): poolRequestId(pool).
pool:
string
Defined in: protocol-staking-native-near/src/types.ts:296
resetsTimer
Section titled “resetsTimer”resetsTimer:
boolean
Defined in: protocol-staking-native-near/src/types.ts:302
A locked unstaked balance exists and its timer restarts.
transactions
Section titled “transactions”transactions:
NearTransaction[]
Defined in: protocol-staking-native-near/src/types.ts:305
unlock
Section titled “unlock”unlock:
UnlockEstimate|null
Defined in: protocol-staking-native-near/src/types.ts:304
Unlock of the whole unstaked balance after this unstake (epoch = current + 4); null when the epoch could not be read.
upfront
Section titled “upfront”upfront:
bigint
Defined in: protocol-staking-native-near/src/types.ts:293
See NearStakeQuote.upfront: the account must hold this much NEAR to send the unstake.
warnings
Section titled “warnings”warnings:
NearStakingWarning[]
Defined in: protocol-staking-native-near/src/types.ts:306
withdrawsFirst
Section titled “withdrawsFirst”withdrawsFirst:
bigint
Defined in: protocol-staking-native-near/src/types.ts:300
Unlocked unstaked balance withdrawn first in the same transaction (0n when none).