corda / net.corda.core.transactions / TraversableTransaction / <init>

<init>

TraversableTransaction(componentGroups: List<ComponentGroup>)

Old version of TraversableTransaction constructor for ABI compatibility.

TraversableTransaction(componentGroups: List<ComponentGroup>, digestService: DigestService)

Implemented by WireTransaction and FilteredTransaction. A TraversableTransaction allows you to iterate over the flattened components of the underlying transaction structure, taking into account that some may be missing in the case of this representing a "torn" transaction. Please see the user guide section "Transaction tear-offs" to learn more about this feature.