Questions tagged [types]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
10 views

How can I avoid sp.TOption type when using sp.unpack()?

Within my smartpy contract, I want to convert from one type into another using sp.pack() and sp.unpack. Below is an example of the method I am trying to use, converting a string to bytes. ...