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.

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