convertScalarValue
Callable
Parameters
value: unknown
value to convert
ethType: string
The type of the value to be parsed
format: DataFormat
The format to be converted to
Returns unknown
- The value converted to the specified format
value to convert
The type of the value to be parsed
The format to be converted to
Converts a value depending on the format