retrieveOutputStateAndRef

open override fun <S : ContractState> retrieveOutputStateAndRef(clazz: Class<S>, label: String): StateAndRef<S>

Retrieves an output previously defined by TransactionDSLInterpreter.output with a label passed in.

Return

The output StateAndRef.

Parameters

clazz

The class object holding the type of the output state expected.

label

The label of the to-be-retrieved output state.