def estimate_fee(estimated_size: int, fee_kb: int) -> int:
	"""
	Calculate fee based in the transaction size and the price per KiB.
	:param estimated_size: Estimated size for the transaction.
	:param fee_kb: Price of the transaction by KiB.
	:return: The estimated fee.
	"""
	return int(estimated_size * fee_kb / 1024.0 + 0.5)