hydra-cardano-api-0.20.0: A Haskell API for Cardano, tailored to the Hydra project.
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Cardano.Api.TxBody

Synopsis

Documentation

findRedeemerSpending :: FromData a => Tx Era -> TxIn -> Maybe a Source #

Find and deserialise from ScriptData, a redeemer from the transaction associated to the given input.

findRedeemerMinting :: FromData a => Tx Era -> PolicyId -> Maybe a Source #

findScriptMinting :: forall lang. Tx Era -> PolicyId -> Maybe (PlutusScript lang) Source #

lookupRedeemer :: FromData a => PlutusPurpose AsIx LedgerEra -> TxBodyScriptData Era -> Maybe a Source #