Add utils.apiUrl func + start transaction retry