getAmount

abstract fun getAmount(): Long
coins in the output UTXO
uint64 amount = 2;

Return

The amount.