Closed quocble closed 5 years ago
Each coin will have a new configuration called:
BtcWithdrawMin: 0.00075 BtcWithdrawFee: 0.00025 BchWithdrawMin: 0.0015 BchWithdrawFee: 0.0005 EthWithdrawMin: 0.015 EthWithdrawFee: 0.005 LtcWithdrawFee: 0.0015 LtcWithdrawFee: 0.0005
If withdrawal amount is below the min, bounce it back with reason: too_small When you're withdrawing:
Input -> output 1 - the user (amount minus fee) output 2 - remaining amount
input = output1 + output2 (included withdraw fee) + tx fee
remaining amount contains the withdraw fee, implicitly.
marking as done.
Each coin will have a new configuration called:
If withdrawal amount is below the min, bounce it back with reason: too_small When you're withdrawing:
Input -> output 1 - the user (amount minus fee) output 2 - remaining amount
input = output1 + output2 (included withdraw fee) + tx fee
remaining amount contains the withdraw fee, implicitly.