getUndepositAmount

abstract fun getUndepositAmount(): Long
Amount undeposited in this TX. Should be 2 ADA (2000000). If not set correctly, TX will be rejected. See also RegisterStakingKey.deposit_amount.
uint64 undeposit_amount = 2;

Return

The undepositAmount.