plutus-script-utils-1.2.0.0: Helper/utility functions for writing Plutus scripts.
Safe HaskellNone
LanguageHaskell2010

Plutus.Script.Utils.V1.Tx

Synopsis

Documentation

scriptTxOut :: Validator -> Value -> Datum -> TxOut Source #

Create a transaction output locked by a validator script and attach the given data script.

scriptAddressTxOut :: Address -> Value -> Datum -> TxOut Source #

Create a transaction output locked by a validator script hash with the given data script attached.