Skip to content
docs

NearStakeOptions

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

Options every write shares.

amount: number | bigint

Defined in: core/dist/index-i6xtgDlq.d.ts:710

StakeOptions.amount


optional expected?: NearTransaction[]

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

The transactions of the quote the user confirmed. The write re-plans with fresh reads and refuses with quote-changed when the result differs, so the signer signs what was shown.

NearWriteOptions.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.

NearWriteOptions.maxFee


optional pool?: string

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

Pool id; default defaultPool.