Skip to content
On this page

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.

The unique value of type sp.TUnit.

Example โ€‹

unitValue = sp.unit
Michelson UNIT