cooked-validators
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cooked.MockChain.GenerateTx.Input

Description

This module exposes the generation of transaction inputs

Synopsis

Documentation

toTxInAndWitness :: MonadBlockChainBalancing m => (TxOutRef, TxSkelRedeemer) -> m (TxIn, BuildTxWith BuildTx (Witness WitCtxTxIn ConwayEra)) Source #

Converts a TxSkel input, which consists of a TxOutRef and a TxSkelRedeemer, into a TxIn, together with the appropriate witness.