corda / net.corda.testing.node / MockServices / loadStates

loadStates

open fun loadStates(stateRefs: Set<StateRef>): Set<StateAndRef<ContractState>>

Given a Set of StateRef's loads the referenced transaction and looks up the specified output ContractState.

Exceptions

TransactionResolutionException - if stateRef points to a non-existent transaction.