com.r3corda.core.node / ServiceHub / loadState

loadState

open fun loadState(stateRef: StateRef): TransactionState<*>

Given a StateRef loads the referenced transaction and looks up the specified output ContractState.

Exceptions

TransactionResolutionException - if the StateRef points to a non-existent transaction.