cooked-validators
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cooked.MockChain.GenerateTx.Input

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 TxSkelIn, into a TxIn, together with the appropriate witness.