LiquidUnstakeQuote
Defined in: protocol-staking-liquid-near/src/types.ts:199
Extended by
Section titled “Extended by”Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:206
NEAR moving to unstaked: what unstake(amount) is called with (shares × price, rounded down).
fee:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:200
id:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:208
The request id: poolRequestId(contract).
relocks
Section titled “relocks”relocks:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:212
Unlocked NEAR that locks again because the contract cannot pay it now (only with allowRelock).
resetsTimer
Section titled “resetsTimer”resetsTimer:
boolean
Defined in: protocol-staking-liquid-near/src/types.ts:210
shares
Section titled “shares”shares:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:204
Tokens burnt (for ‘all’: the whole balance).
transactions
Section titled “transactions”transactions:
NearTransaction[]
Defined in: protocol-staking-liquid-near/src/types.ts:215
unlock
Section titled “unlock”unlock:
UnlockEstimate
Defined in: protocol-staking-liquid-near/src/types.ts:214
earliest = current + 4; latestEpoch null (the contract decides); exact via getAccountDetails once the unstake is final.
upfront
Section titled “upfront”upfront:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:202
See LiquidStakeQuote.upfront: the account must hold this much NEAR to send the unstake.
warnings
Section titled “warnings”warnings:
LiquidStakingWarning[]
Defined in: protocol-staking-liquid-near/src/types.ts:216
withdrawsFirst
Section titled “withdrawsFirst”withdrawsFirst:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:209