LiquidUnstakeOptions
Defined in: protocol-staking-liquid-near/src/types.ts:187
Options every write shares.
Extends
Section titled “Extends”Omit<WithdrawalRequestOptions,"amount"|"token">LiquidWriteOptions
Properties
Section titled “Properties”allowRelock?
Section titled “allowRelock?”
optionalallowRelock?:boolean
Defined in: protocol-staking-liquid-near/src/types.ts:191
Accept that an unlocked balance the contract cannot pay now locks again (default false: refused).
allowTimerReset?
Section titled “allowTimerReset?”
optionalallowTimerReset?:boolean
Defined in: protocol-staking-liquid-near/src/types.ts:196
Accept that an unstaked balance still unbonding restarts its wait (4+ epochs) together with this amount (default false: refused with ‘timer-reset-refused’). Never accepted below MIN_STAKE.
amount
Section titled “amount”amount:
number|bigint|"all"
Defined in: protocol-staking-liquid-near/src/types.ts:189
Token base units to unstake, or 'all' (unstake_all).
expected?
Section titled “expected?”
optionalexpected?:NearTransaction[]
Defined in: protocol-staking-liquid-near/src/types.ts:151
The transactions of the confirmed quote; the write refuses with quote-changed when the fresh plan differs.
Inherited from
Section titled “Inherited from”maxFee?
Section titled “maxFee?”
optionalmaxFee?:bigint
Defined in: core/dist/index-i6xtgDlq.d.ts:120
Cap on this write’s worst-case network fee, in native base units. Checked by the chain
package on the transaction it is about to sign (EVM: its gas limit × its own gas price), with
the tighter of this and the account’s configured cap winning. The kit’s policies.maxFee
passes it down.