| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cooked.MockChain.GenerateTx.Input
Description
This module exposes the generation of transaction inputs
Synopsis
- toTxInAndWitness :: MonadBlockChainBalancing m => (TxOutRef, TxSkelRedeemer) -> m (TxIn, BuildTxWith BuildTx (Witness WitCtxTxIn ConwayEra))
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.