Back to All

How to format my balance from a hex number

Using alchemy.core.getBalance(address) I receive the balance in hex value. How do I convert this to something more human readable? I can't seem to find anything about it in the docs.

ReadMe