outRefsOfType

Helper to simplify getting all output StateAndRef items of a particular state class, interface, or base class.

Return

the possibly empty list of output StateAndRef states matching the clazz restriction.

Parameters

clazz

The class type used for filtering via an Class.isInstance check. Clazz must be an extension of ContractState.