NearStakeResult
Defined in: protocol-staking-native-near/src/types.ts:272
Extends
Section titled “Extends”Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: protocol-staking-native-near/src/types.ts:262
Inherited from
Section titled “Inherited from”apr:
number|null
Defined in: protocol-staking-native-near/src/types.ts:265
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”hash:
string
Defined in: protocol-staking-native-near/src/types.ts:273
hashes
Section titled “hashes”hashes:
string[]
Defined in: protocol-staking-native-near/src/types.ts:274
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).
Inherited from
Section titled “Inherited from”pool:
NearPoolInfo
Defined in: protocol-staking-native-near/src/types.ts:264
The pool, read live (details: true).
Inherited from
Section titled “Inherited from”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]).
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”warnings
Section titled “warnings”warnings:
NearStakingWarning[]
Defined in: protocol-staking-native-near/src/types.ts:270