cardano-api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Internal.Plutus

Description

This module provides utilities to render the result of plutus execution.

Synopsis

Documentation

data DebugPlutusFailure Source #

A structured representation of Plutus script validation failures, providing detailed information about the failed execution for debugging purposes. This type contains the same information as the data constructor ValidationFailure but with named fields and fixed crypto parameters for easier debugging and error reporting.

collectPlutusScriptHashes :: AlonzoEraOnwards era -> Tx era -> UTxO era -> Map ScriptWitnessIndex ScriptHash Source #

Collect all plutus script hashes that are needed to validate the given transaction and return them in a map with their corresponding ScriptWitnessIndex as key.