corda / net.corda.core.transactions / LedgerTransaction / getInput

getInput

fun getInput(index: Int): ContractState

Helper to simplify getting an indexed input ContractState.

Parameters

index - the position of the item in the inputs.

Return
The StateAndRef at the requested index