Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Transaction input
The input of a UTxO.
Instances
ToJSON TxIn | |
ToJSONKey TxIn | |
Defined in Cardano.Ledger.TxIn | |
Generic TxIn | |
Show TxIn | |
DecCBOR TxIn | |
EncCBOR TxIn | |
NFData TxIn | |
Defined in Cardano.Ledger.TxIn | |
Eq TxIn | |
Ord TxIn | |
HeapWords TxIn | |
NoThunks TxIn | |
type Rep TxIn | |
Defined in Cardano.Ledger.TxIn type Rep TxIn = D1 ('MetaData "TxIn" "Cardano.Ledger.TxIn" "cardano-ledger-core-1.17.0.0-inplace" 'False) (C1 ('MetaCons "TxIn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TxId) :*: S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 TxIx))) |
Transaction ID
A unique ID of a transaction, which is computable from the transaction.
Instances
FromJSON TxId | |
ToJSON TxId | |
Generic TxId | |
Show TxId | |
DecCBOR TxId | |
EncCBOR TxId | |
NFData TxId | |
Defined in Cardano.Ledger.TxIn | |
Eq TxId | |
Ord TxId | |
HeapWords TxId | |
NoThunks TxId | |
type Rep TxId | |
Defined in Cardano.Ledger.TxIn type Rep TxId = D1 ('MetaData "TxId" "Cardano.Ledger.TxIn" "cardano-ledger-core-1.17.0.0-inplace" 'True) (C1 ('MetaCons "TxId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SafeHash EraIndependentTxBody)))) |
mkTxInPartial ∷ HasCallStack ⇒ TxId → Integer → TxIn Source #
Transaction index
Transaction index.
mkTxIxPartial ∷ HasCallStack ⇒ Integer → TxIx Source #