Module

Ctl.Internal.Transaction

#attachDatum

attachDatum :: PlutusData -> Transaction -> Transaction

Attach a Datum to a transaction by modifying its existing witness set. Fails if either the datum or updated witness set cannot be converted during (de-)serialization

#attachPlutusScript

attachPlutusScript :: PlutusScript -> Transaction -> Transaction

Attach a PlutusScript to a transaction by modifying its existing witness set

#attachNativeScript

attachNativeScript :: NativeScript -> Transaction -> Transaction

Attach a NativeScript to a transaction by modifying its existing witness set

#setScriptDataHash

setScriptDataHash :: Map Language CostModel -> Array Redeemer -> Array PlutusData -> Transaction -> Effect Transaction

Set the Transaction body's script data hash. NOTE: Must include all of the datums and redeemers for the given transaction

Modules