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- a5376ffff9bcd7feae2f904cd9bf193d5371c9e71ecc491aed0dbf5d6852f891:Data.Either.Extras

1 Answer 1


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

Then it works-

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.