Class FixedMode

Represents the fixed pricing mode, including a parameter for gas price tolerance.

Hierarchy

  • FixedMode

Constructors

Properties

additionalComputationFactor: number

User-specified additional computation factor (minimum 0).

  • If 0 is provided, no additional logic is applied to the computation limit.
  • Each value above 0 tells the node that it needs to treat the transaction as if it uses more gas than its serialized size indicates.
  • Each increment of 1 increases the "wasm lane" size bucket for this transaction by 1.

For example:

  • If the transaction's size indicates bucket 0 and additionalComputationFactor = 2, the transaction will be treated as if it belongs to bucket 2.
gasPriceTolerance: number

The tolerance for gas price fluctuations in fixed pricing mode.

Methods

Generated using TypeDoc