<p>You can use <code>Plutus.Script.Utils.V2.Scripts.scriptCurrencySymbol</code></p>

CC BY-SA 4.0
2022-12-13T06:11:40.417Z
2022-12-13T06:11:40.417Z
james
<p>I'd like to get the <code>CurrencySymbol</code> of a <code>PlutusV2</code> <code>MintingPolicy</code>. There's a function defined in <code>Plutus.Script.Utils.Scripts</code> with the following signature:</p>
<p><code>scriptCurrencySymbol :: Versioned MintingPolicy -&gt; CurrencySymbol</code></p>
<p>But I have no idea how get the <code>Versioned MintingPolicy</code> of a <code>MintingPolicy</code></p>

<plutus><mintingpolicy>
Getting the CurrencySymbol of PlutusV2 MintingPolicy
# Getting the CurrencySymbol of PlutusV2 MintingPolicy

(Asked by: username_0 on 2022-12-12)

I'd like to get the `CurrencySymbol` of a `PlutusV2` `MintingPolicy`. There's a function defined in `Plutus.Script.Utils.Scripts` with the following signature:

`scriptCurrencySymbol :: Versioned MintingPolicy -> CurrencySymbol`

But I have no idea how get the `Versioned MintingPolicy` of a `MintingPolicy`

**Tags:** plutus, mintingpolicy

---

## 1 answers

### Answer by username_1 on 2022-12-13. Score: 2 | Accepted answer

You can use `Plutus.Script.Utils.V2.Scripts.scriptCurrencySymbol`


---

