Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Transaction input
The input of a UTxO.
Instances
Crypto c ⇒ ToJSON (TxIn c) | |
Crypto c ⇒ ToJSONKey (TxIn c) | |
Defined in Cardano.Ledger.TxIn toJSONKey ∷ ToJSONKeyFunction (TxIn c) Source # | |
Generic (TxIn c) | |
Show (TxIn c) | |
Crypto c ⇒ DecCBOR (TxIn c) | |
Crypto c ⇒ EncCBOR (TxIn c) | |
Crypto c ⇒ NFData (TxIn c) | |
Defined in Cardano.Ledger.TxIn | |
Eq (TxIn c) | |
Ord (TxIn c) | |
Defined in Cardano.Ledger.TxIn | |
Crypto c ⇒ HeapWords (TxIn c) | |
NoThunks (TxIn c) | |
type Rep (TxIn c) | |
Defined in Cardano.Ledger.TxIn type Rep (TxIn c) = D1 ('MetaData "TxIn" "Cardano.Ledger.TxIn" "cardano-ledger-core-1.16.0.0-inplace" 'False) (C1 ('MetaCons "TxIn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxId c)) :*: 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
Crypto c ⇒ FromJSON (TxId c) | |
Crypto c ⇒ ToJSON (TxId c) | |
Generic (TxId c) | |
Show (TxId c) | |
Crypto c ⇒ DecCBOR (TxId c) | |
Crypto c ⇒ EncCBOR (TxId c) | |
Crypto c ⇒ NFData (TxId c) | |
Defined in Cardano.Ledger.TxIn | |
Eq (TxId c) | |
Ord (TxId c) | |
Defined in Cardano.Ledger.TxIn | |
Crypto c ⇒ HeapWords (TxId c) | |
NoThunks (TxId c) | |
type Rep (TxId c) | |
Defined in Cardano.Ledger.TxIn type Rep (TxId c) = D1 ('MetaData "TxId" "Cardano.Ledger.TxIn" "cardano-ledger-core-1.16.0.0-inplace" 'True) (C1 ('MetaCons "TxId" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SafeHash c EraIndependentTxBody)))) |
mkTxInPartial ∷ HasCallStack ⇒ TxId c → Integer → TxIn c Source #
Transaction index
Transaction index.
mkTxIxPartial ∷ HasCallStack ⇒ Integer → TxIx Source #