Skip to content
docs

LiquidUnstakeOptions

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

Options every write shares.

optional allowRelock?: 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).


optional allowTimerReset?: 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: number | bigint | "all"

Defined in: protocol-staking-liquid-near/src/types.ts:189

Token base units to unstake, or 'all' (unstake_all).


optional expected?: 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.

LiquidWriteOptions.expected


optional maxFee?: 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.

LiquidWriteOptions.maxFee