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

Hydra.Cardano.Api.UTxO

Synopsis

Documentation

renderUTxO :: IsString str => UTxO -> str Source #

Get a human-readable pretty text representation of a UTxO.

utxoFromTx :: Tx Era -> UTxO Source #

Construct a UTxO from a transaction. This constructs artificial TxIn (a.k.a output reference) from the transaction itself, zipping them to the outputs they correspond to.

resolveInputsUTxO :: UTxO -> Tx Era -> UTxO Source #

Resolve tx inputs in a given UTxO

Type Conversions