corda / net.corda.core.transactions / BaseTransaction / getOutput

getOutput

fun getOutput(index: Int): ContractState

Helper to simplify getting an indexed output.

Parameters

index - the position of the item in the output.

Return
The ContractState at the requested index