getIndex

open fun getIndex(): Int
The index of the specific output in the transaction.
uint32 index = 2;

Return

The index.