Type Alias Datum

Datum: { datumHash?: string; inlineDatum?: PlutusData; type: DatumType }

Interface representing a datum in the Cardano blockchain.

Type declaration

  • OptionaldatumHash?: string

    The hash of the datum if the datum is of type DataHash in the form of a hex string.

  • OptionalinlineDatum?: PlutusData

    The inline data if the datum is of type InlineData.

  • type: DatumType

    The type of the datum, indicating whether it is a data hash or inline data.