Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cooked.MockChain.GenerateTx.Body
Synopsis
- txSkelToTxBody :: MonadBlockChainBalancing m => TxSkel -> Integer -> Maybe (Set TxOutRef, Wallet) -> m (TxBody ConwayEra)
- txBodyContentToTxBody :: MonadBlockChainBalancing m => TxBodyContent BuildTx ConwayEra -> TxSkel -> m (TxBody ConwayEra)
- txSkelToTxBodyContent :: MonadBlockChainBalancing m => TxSkel -> Integer -> Maybe (Set TxOutRef, Wallet) -> m (TxBodyContent BuildTx ConwayEra)
Documentation
txSkelToTxBody :: MonadBlockChainBalancing m => TxSkel -> Integer -> Maybe (Set TxOutRef, Wallet) -> m (TxBody ConwayEra) Source #
txBodyContentToTxBody :: MonadBlockChainBalancing m => TxBodyContent BuildTx ConwayEra -> TxSkel -> m (TxBody ConwayEra) Source #
txSkelToTxBodyContent Source #
Arguments
:: MonadBlockChainBalancing m | |
=> TxSkel | The skeleton from which the body is created |
-> Integer | The fee to set in the body |
-> Maybe (Set TxOutRef, Wallet) | The collaterals to set in the body |
-> m (TxBodyContent BuildTx ConwayEra) | Returns a Cardano body content |
Generates a body content from a skeleton