fun getOutput(index: Int): ContractState
Helper to simplify getting an indexed output.
index - the position of the item in the output.
index
Return The ContractState at the requested index