public static class WireTransaction.Companion
@CordaInternal @Deprecated @NotNull public java.util.List<net.corda.core.transactions.ComponentGroup> createComponentGroups(@NotNull java.util.List<net.corda.core.contracts.StateRef> inputs, @NotNull java.util.List<? extends net.corda.core.contracts.TransactionState<? extends net.corda.core.contracts.ContractState>> outputs, @NotNull java.util.List<? extends net.corda.core.contracts.Command<?>> commands, @NotNull java.util.List<? extends net.corda.core.crypto.SecureHash> attachments, @Nullable Party notary, @Nullable TimeWindow timeWindow)
@CordaInternal @Nullable public SerializedBytes<net.corda.core.contracts.TransactionState> resolveStateRefBinaryComponent(@NotNull StateRef stateRef, @NotNull ServicesForResolution services)
This is the main logic that knows how to retrieve the binary representation of class StateRef
s.
For class ContractUpgradeWireTransaction
or class NotaryChangeWireTransaction
it knows how to recreate the output state in the
correct classloader independent of the node's classpath.