corda / net.corda.core.transactions / LedgerTransaction / inRef

inRef

fun <T : ContractState> inRef(index: Int): StateAndRef<T>

Returns the typed input StateAndRef at the specified index

Parameters

index - The index into the inputs.

Return
The StateAndRef