getDepositAmount

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

Return

The depositAmount.