try_mul
Multiplies two UINT256 values using a 512-bit intermediate. Arithmetic overflow produces NULL; independently, ordinary scalar NULL propagation produces NULL when either input is NULL.
Example
Local
{"id":"sample_rksi17","title":"Sample","code":"SELECT try_mul(6::UINT256, 7::UINT256)::VARCHAR AS result;\n-- => [{\"result\":\"42\"}]"}
Notebook ready in readonly mode.
API reference
Exact signatures with descriptions, requirements, inputs, returns, and examples.
try_mul(UINT256, UINT256) #
Related functions
Category and tags
- Category
- EVM utilities
- Tag
- Types
- Tag
- EVM