plutus-chain-index-core-1.2.0.0
Safe Haskell None
Language Haskell2010

Plutus.Contract.CardanoAPI

Description

Interface to the transaction types from 'cardano-api'

Synopsis

Documentation

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.