| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.V3.Tx
Synopsis
- newtype TxId = TxId {}
- data TxOutRef = TxOutRef {
- txOutRefId :: TxId
- txOutRefIdx :: Integer
Documentation
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 | |
Fields | |
Instances
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.
Constructors
| TxOutRef | |
Fields
| |
Instances
| Generic TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx Associated Types
| |||||
| Show TxOutRef Source # | |||||
| NFData TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx | |||||
| Eq TxOutRef Source # | |||||
| Ord TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx | |||||
| HasBlueprintDefinition TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx Associated Types
Methods definitionId :: DefinitionId | |||||
| Eq TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx | |||||
| FromData TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx Methods fromBuiltinData :: BuiltinData -> Maybe TxOutRef # | |||||
| ToData TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx Methods toBuiltinData :: TxOutRef -> BuiltinData # | |||||
| UnsafeFromData TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx Methods | |||||
| Pretty TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx | |||||
| (HasSchemaDefinition TxId referencedTypes, HasSchemaDefinition Integer referencedTypes) => HasBlueprintSchema TxOutRef referencedTypes Source # | |||||
Defined in PlutusLedgerApi.V3.Tx Methods schema :: Schema referencedTypes | |||||
| Lift DefaultUni TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx | |||||
| Typeable DefaultUni TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx | |||||
| type Rep TxOutRef Source # | |||||
Defined in PlutusLedgerApi.V3.Tx type Rep TxOutRef = D1 ('MetaData "TxOutRef" "PlutusLedgerApi.V3.Tx" "plutus-ledger-api-1.60.0.0-G1HmqwHNllaA7AnJNjAfhP" 'False) (C1 ('MetaCons "TxOutRef" 'PrefixI 'True) (S1 ('MetaSel ('Just "txOutRefId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxId) :*: S1 ('MetaSel ('Just "txOutRefIdx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) | |||||
| type Unroll TxOutRef Source # | |||||