LiquidStakeResult
Defined in: protocol-staking-liquid-near/src/types.ts:182
Extends
Section titled “Extends”Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:166
Inherited from
Section titled “Inherited from”apr:
number|null
Defined in: protocol-staking-liquid-near/src/types.ts:175
Inherited from
Section titled “Inherited from”fee:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:158
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-liquid-near/src/types.ts:183
hashes
Section titled “hashes”hashes:
string[]
Defined in: protocol-staking-liquid-near/src/types.ts:184
maxStakeable
Section titled “maxStakeable”maxStakeable:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:177
available − reserve − upfront (never below 0).
Inherited from
Section titled “Inherited from”price:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:174
Inherited from
Section titled “Inherited from”reserve
Section titled “reserve”reserve:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:165
NEAR the stake leaves on the account: the configured reserve, but at least one unstake’s upfront.
Inherited from
Section titled “Inherited from”shares
Section titled “shares”shares:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:173
Tokens expected for amount − storageFee at the current price (rounded down).
Inherited from
Section titled “Inherited from”storageFee
Section titled “storageFee”storageFee:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:171
NEAR the contract keeps from amount for the account’s NEP-145 registration: storage_balance_bounds.min
(0.00125 NEAR) on a first stake into rNEAR, else 0. Warning ‘pays-storage’ when above 0.
Inherited from
Section titled “Inherited from”transactions
Section titled “transactions”transactions:
NearTransaction[]
Defined in: protocol-staking-liquid-near/src/types.ts:179
One transaction: a single deposit_and_stake (it registers the account itself; no storage_deposit).
Inherited from
Section titled “Inherited from”upfront
Section titled “upfront”upfront:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:163
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:
LiquidStakingWarning[]
Defined in: protocol-staking-liquid-near/src/types.ts:180