def calculate_tx_total(tx_cost_constants, num_inputs, num_outputs):
tx_fee = calculate_tx_fee(tx_cost_constants, num_inputs, num_outputs)<EOL>coin_per_output = tx_cost_constants.get_minimum_output_coin()<EOL>total = coin_per_output * num_outputs + tx_fee<EOL>return total<EOL>
:param tx_cost_constants:
:param num_inputs:
:param num_outputs:
:return: