Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- mkTxOutDatum :: forall era a. (ToScriptData a, IsAlonzoBasedEra era) => a -> TxOutDatum CtxTx era
- mkTxOutDatumHash :: forall era a ctx. (ToScriptData a, IsAlonzoBasedEra era) => a -> TxOutDatum ctx era
- mkTxOutDatumInline :: forall era a ctx. (ToScriptData a, IsBabbageBasedEra era) => a -> TxOutDatum ctx era
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.