Is there a template tag/function for getting the URL (or slug or name or ID) of the blog page when using a “static” front page

<?php $blog_link = get_page_link( get_option( 'page_for_posts' ) ); ?>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)