corda / net.corda.core.node.services / linearHeadsOfType

linearHeadsOfType

inline fun <reified T : LinearState> VaultService.linearHeadsOfType(): Map<UniqueIdentifier, StateAndRef<T>>

Returns the linearState heads only when the type of the state would be considered an 'instanceof' the given type.