Safe Haskell | None |
---|---|
Language | Haskell2010 |
Interface to the transaction types from 'cardano-api'
Synopsis
- fromCardanoBlock :: BlockInMode CardanoMode -> [ChainIndexTx]
- fromCardanoTx :: IsCardanoEra era => EraInMode era CardanoMode -> Tx era -> ChainIndexTx
- setValidity :: Bool -> Tx era -> Tx era
- fromCardanoTxOut :: IsCardanoEra era => TxOut CtxTx era -> ChainIndexTxOut
- fromCardanoTxOutRefScript :: ReferenceScript era -> ReferenceScript
Documentation
fromCardanoBlock :: BlockInMode CardanoMode -> [ChainIndexTx] Source #
fromCardanoTx :: IsCardanoEra era => EraInMode era CardanoMode -> Tx era -> ChainIndexTx Source #
Convert a Cardano API tx of any given era to a Plutus chain index tx.
setValidity :: Bool -> Tx era -> Tx era Source #
fromCardanoTxOut :: IsCardanoEra era => TxOut CtxTx era -> ChainIndexTxOut Source #
fromCardanoTxOutRefScript :: ReferenceScript era -> ReferenceScript Source #