How to get currency symbol by store Magento 2?

Retrieve Currency symbol for the current store or any specific store currency symbol by store id or name.

Use Interface to fetch symbol Magento\Framework\Pricing\PriceCurrencyInterface with getCurrencySymbol() method.

Base Syntax:

/**
 * @param null|string|bool|int|\Magento\Framework\App\ScopeInterface $scope
 * @param \Magento\Framework\Model\AbstractModel|string|null $currency
 * @return string
 */
public function getCurrencySymbol($scope = null, $currency = null);

Create Block or Model Class to call function,

<?php
namespace Jesadiya\Currency\Model;

use Magento\Framework\Pricing\PriceCurrencyInterface;

class CurrencySymbol
{
    /**
     * @var PriceCurrencyInterface
     */
    private $priceCurrency;

    public function __construct(
        PriceCurrencyInterface $priceCurrency
    ) {
        $this->priceCurrency = $priceCurrency;  
    }

    /**
     * result
     *
     * @return string
     */
    public function getCurrencySymbol()
    {
        $currencySymbol = $this->priceCurrency->getCurrencySymbol(); // DEFAULT STORE CURRENCY SYMBOL

        $currencySymbol = $this->priceCurrency->getCurrencySymbol(1); // CURRENCY SYMBOL by store id

        $currencySymbol = $this->priceCurrency->getCurrencySymbol('default'); // CURRENCY SYMBOL by store code

        return $currencySymbol;
    }
}

Call method,
echo $currencySymbol = $this->getCurrencySymbol();

You can pass the store id, store code as the first parameter in the method or if you have the first parameter with an empty value, the result will be the default store currency code.

Output:
$ (string)