Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Transaction.type
Members list
Type members
Classlikes
Pretty prints Transaction with inlined body and witness fields
Pretty prints Transaction with inlined body and witness fields
Attributes
- Supertypes
- Self type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Create a transaction with the given body and empty witness set, assuming valid and no auxiliary data
Create a transaction with the given body and empty witness set, assuming valid and no auxiliary data
Attributes
Create a transaction with the given body and witness set, assuming valid and no auxiliary data
Create a transaction with the given body and witness set, assuming valid and no auxiliary data
Attributes
Create a transaction with the given body, witness set, and auxiliary data, assuming valid
Create a transaction with the given body, witness set, and auxiliary data, assuming valid
Attributes
An empty transaction
An empty transaction
Attributes
Decodes a transaction, [body, witnesses, isValid, auxiliary data] or, without the flag, [body, witnesses, auxiliary data].
Decodes a transaction, [body, witnesses, isValid, auxiliary data] or, without the flag, [body, witnesses, auxiliary data].
The result keeps bytes, so Transaction.toCbor returns them until the transaction is changed.
Attributes
Givens
Givens
Decodes a transaction as cardano-ledger's AlonzoTx decoder does (Alonzo to Conway).
Decodes a transaction as cardano-ledger's AlonzoTx decoder does (Alonzo to Conway).
Since cardano-ledger-alonzo 1.16.0.0 (cardano-node 11.1.3) the isValid flag is optional, so that a transaction built for an era before Alonzo can be submitted later: when the element after the witnesses is a CBOR bool it is the flag, otherwise it is the auxiliary data, isValid is true, and the record has 3 elements instead of 4. As in the ledger, the length is checked after the elements are read.
Attributes
CBOR codec for Transaction
CBOR codec for Transaction
Attributes
Pretty prints Transaction with inlined body and witness fields
Pretty prints Transaction with inlined body and witness fields