Unit โ
The type of unit values in SmartPy is sp.TUnit.
The corresponding type in Michelson is
Michelson unit.It is the return type of commands and the input types of entrypoints with empty parameters.
sp.unit
The unique value of type sp.TUnit.
Example โ
python
Michelson UNITunitValue = sp.unit