hydra-cardano-api-0.19.0: A Haskell API for Cardano, tailored to the Hydra project.
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Cardano.Api.TxOutDatum

Synopsis

Documentation

mkTxOutDatum :: forall era a. (ToScriptData a, IsAlonzoBasedEra era) => a -> TxOutDatum CtxTx era Source #

Construct a TxOutDatum to be included in the tx from some serialisable data.

mkTxOutDatumHash :: forall era a ctx. (ToScriptData a, IsAlonzoBasedEra era) => a -> TxOutDatum ctx era Source #

Construct a TxOutDatum as a ScriptData hash from some serialisable data.

mkTxOutDatumInline :: forall era a ctx. (ToScriptData a, IsBabbageBasedEra era) => a -> TxOutDatum ctx era Source #

Construct an inline TxOutDatum from some serialisable data.