fix: call get_amount from get_outputs