plutus-chain-index-core-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.Contract.CardanoAPI

Description

Interface to the transaction types from 'cardano-api'

Synopsis

Documentation

fromCardanoTx :: IsCardanoEra era => EraInMode era CardanoMode -> Tx era -> Either FromCardanoError ChainIndexTx Source #

Convert a Cardano API tx of any given era to a Plutus chain index tx.