<p>The input for &quot;assetClass&quot; excepts a paired hex value. I simply turned &quot;67890&quot; into an even number of digits -&gt; 678900.</p>
<p>Then it works-</p>

CC BY-SA 4.0
2024-02-12T19:24:37.997Z
2024-02-13T18:52:49.843Z
2024-02-13T18:52:49.843Z
Basho
<p>Attempting to use function : assetClassValue (assetClass &quot;67890&quot; &quot;PussToken&quot;) 100
Value (Map [(678900,Map [(&quot;PussToken&quot;,100)])])</p>
<p>Getting error -&gt; Value (Map [(*** Exception: unpaired digit
CallStack (from HasCallStack): error, called at src/Data/Either/Extras.hs:6:34 in plutus-ledger-api-1.0.0.1 a5376ffff9bcd7feae2f904cd9bf193d5371c9e71ecc491aed0dbf5d6852f891:Data.Either.Extras</p>

<native-assets>
What does "Exception: unpaired digit" digit mean when trying to use the "assetClassValue" function?
# What does "Exception: unpaired digit" digit mean when trying to use the "assetClassValue" function?

(Asked by: username_0 on 2024-02-12)

Attempting to use function : assetClassValue (assetClass "67890" "PussToken") 100
Value (Map [(678900,Map [("PussToken",100)])])

Getting error -> Value (Map [(\*\*\* Exception: unpaired digit
CallStack (from HasCallStack): error, called at src/Data/Either/Extras.hs:6:34 in plutus-ledger-api-1.0.0.1 a5376ffff9bcd7feae2f904cd9bf193d5371c9e71ecc491aed0dbf5d6852f891:Data.Either.Extras

**Tags:** native-assets

---

## 1 answers

### Answer by username_0 on 2024-02-12. Score: 0

The input for "assetClass" excepts a paired hex value. I simply turned "67890" into an even number of digits -> 678900.

Then it works-


---

