getOutputIndex

open fun getOutputIndex(): Long
The index of this output within the transaction
uint64 output_index = 2;

Return

The outputIndex.