reference

override fun reference(stateLabel: String): <Error class: unknown class>

Looks up the output label and adds the found state as an reference input state.

Parameters

stateLabel

The label of the output state specified when calling TransactionDSLInterpreter.output and friends.


fun reference(contractClassName: <Error class: unknown class>, state: <Error class: unknown class>)

Creates an LedgerDSLInterpreter._unverifiedTransaction with a single reference input state and adds its reference as in input to the current transaction.

Parameters

state

The state to be added.