Skip to content
docs

GasCost

Defined in: protocol-staking-liquid-near/src/fees.ts:19

What a plan costs in NEAR, yoctoNEAR.

fee: bigint

Defined in: protocol-staking-liquid-near/src/fees.ts:21

Upper bound of the network fee: every gas unit burnt at GasPrices.gasPrice. Works as maxFee.


upfront: bigint

Defined in: protocol-staking-liquid-near/src/fees.ts:23

NEAR held back from the account when the node accepts the transactions (deposits excluded); the unburnt part is refunded.