NearStakeQuote
Defined in: protocol-staking-native-near/src/types.ts:252
Extended by
Section titled “Extended by”Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: protocol-staking-native-near/src/types.ts:262
apr:
number|null
Defined in: protocol-staking-native-near/src/types.ts:265
fee:
bigint
Defined in: protocol-staking-native-near/src/types.ts:254
Upper bound of the network fee, yoctoNEAR (all gas burnt, at the gas price + 10 %). Passes as maxFee.
maxStakeable
Section titled “maxStakeable”maxStakeable:
bigint
Defined in: protocol-staking-native-near/src/types.ts:267
What stake can send now: available − reserve − upfront (never below 0).
pool:
NearPoolInfo
Defined in: protocol-staking-native-near/src/types.ts:264
The pool, read live (details: true).
reserve
Section titled “reserve”reserve:
bigint
Defined in: protocol-staking-native-near/src/types.ts:261
NEAR the stake leaves on the account: the configured reserve, but at least the upfront of the largest exit ([withdraw_all, unstake]).
transactions
Section titled “transactions”transactions:
NearTransaction[]
Defined in: protocol-staking-native-near/src/types.ts:269
Exactly what stake sends: receiverId + actions, no signer / nonce / block hash.
upfront
Section titled “upfront”upfront:
bigint
Defined in: protocol-staking-native-near/src/types.ts:259
NEAR the node holds back when it accepts the transaction, beside the deposit: the prepaid gas, bought at min_gas_purchase_price. The unburnt part comes back a few blocks later.
warnings
Section titled “warnings”warnings:
NearStakingWarning[]
Defined in: protocol-staking-native-near/src/types.ts:270