Try it Live
Run Uint examples in the interactive playground
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Convert Uint256 to string with configurable radix
Uint.toString(Uint(12345n)) // "12345"
Uint.toString(Uint(255n), 16) // "ff" (no 0x prefix)
0x prefix, use toHex() instead.Uint.toString(Uint(15n), 2) // "1111"
Uint.toString(Uint(64n), 8) // "100"
Was this page helpful?
