Represents different ways of associating a Datum with a UTxO in a transaction.

Enumeration Members

Enumeration Members

DataHash: 0

Instead of including the full Datum directly within the transaction, it's possible to include just a hash of the Datum. This is the DatumHash. By referencing the Datum by its hash, the transaction can be more compact, especially if the Datum itself is large. However, when using a DatumHash, the actual Datum value it represents must be provided in the transaction witness set to ensure that users and validators can verify and use it.

InlineData: 1

This represents the actual Datum value being included directly within the transaction output. So, the Datum is "inlined" in the transaction data itself.

Generated using TypeDoc