Skip to content
docs

NearUnstakeQuote

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

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: boolean

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

A locked unstaked balance exists and its timer restarts.


transactions: NearTransaction[]

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


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: 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: NearStakingWarning[]

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


withdrawsFirst: bigint

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

Unlocked unstaked balance withdrawn first in the same transaction (0n when none).