Decoding
Decoding Hexadecimal Strings To Integers
To turn hex values into decimals, use our UDF:
If the number is known to be little-endian formatted, use:
Since blockchain numbers can be really big and exceed the size limit of a numerical column on Snowflake, our UDF returns strings.
But you can convert it by casting the return value to int: