plutus-ledger-api-1.60.0.0: Interface to the Plutus ledger for the Cardano ledger.
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusLedgerApi.V3.Data.Tx

Synopsis

Documentation

newtype TxId #

A transaction ID, i.e. the hash of a transaction. Hashed with BLAKE2b-256. 32 byte.

This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification.

Constructors

TxId 

Instances

Instances details
RepIsStuckError TxId :: Type -> Type) (Rep TxId)))

data TxOutRef #

A reference to a transaction output. This is a pair of a transaction ID (TxId), and an index indicating which of the outputs of that transaction we are referring to.

Instances

Instances details
RepIsStuckError TxOutRef :: Type -> Type) (Rep TxOutRef)))

pattern TxOutRef :: TxId -> Integer -> TxOutRef #

matchTxOutRef :: forall r. TxOutRef -> (TxId -> Integer -> r) -> r #