corda / net.corda.core.transactions / WireTransaction / resolveStateRefBinaryComponent

resolveStateRefBinaryComponent

@CordaInternal fun resolveStateRefBinaryComponent(stateRef: StateRef, services: ServicesForResolution): SerializedBytes<TransactionState<ContractState>>?

This is the main logic that knows how to retrieve the binary representation of StateRefs.

For ContractUpgradeWireTransaction or NotaryChangeWireTransaction it knows how to recreate the output state in the correct classloader independent of the node's classpath.