scalus.cardano.ledger.ExUnits
See theExUnits companion object
Represents execution units for Plutus scripts in Cardano
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Calculate fee for the execution units given explicit prices.
Calculate fee for the execution units given explicit prices.
Value parameters
- prices
-
The execution unit prices (price per memory unit and price per CPU step)
Attributes
- Returns
-
The calculated fee in Coin (lovelace)
Calculate fee for the execution units using protocol parameters from implicit CardanoInfo.
Calculate fee for the execution units using protocol parameters from implicit CardanoInfo.
Value parameters
- info
-
The CardanoInfo containing protocol parameters with execution unit prices
Attributes
- Returns
-
The calculated fee in Coin (lovelace)
Formats execution units as JSON string
Formats execution units as JSON string
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article