Represent a measure of computational resources, specifically, how much memory and CPU a Plutus script will use when executed. It's an essential component to estimate the cost of running a Plutus script on the Cardano blockchain.

The two resources measured by ExUnits are memory and CPU. When a Plutus script is executed, it consumes both these resources. The ExUnits system quantifies this consumption, helping to ensure that scripts don't overrun the system and that they terminate in a reasonable amount of time.

Hierarchy

  • ExUnits

Constructors

Properties

#mem: bigint
#originalBytes: undefined | HexBlob = undefined
#steps: bigint

Methods

Generated using TypeDoc