Get URL of Featured Image

If you want to get the URL of the featured image, use the function below:

get_the_post_thumbnail_url()

Another solution would be:

wp_get_attachment_url( get_post_thumbnail_id() );