Return values
A script’s return value is encoded as JSON under thereturnValue key:
Large or very precise numbers are returned as strings so that no digits are lost:
72.00 is returned as 72.
Contract parameters
Contract parameters are converted from JSON to their declared types:
Send
int64 and decimal values as strings when they have more digits than a JSON number can safely carry. Integer parameters larger than 9,007,199,254,740,991 must be sent as strings:
Inferred types
Values without a declared type, such as the properties of anobject parameter or of an object returned by a resource function, get inferred types: