corda / net.corda.core.transactions / LedgerTransaction / getReferenceInput

getReferenceInput

fun getReferenceInput(index: Int): ContractState

Helper to simplify getting an indexed reference input ContractState.

Parameters

index - the position of the item in the references.

Return
The StateAndRef at the requested index.