Utils
The Utils module in the Zky Toolkit provides utility functions that can help with common tasks when working with wallets and blockchain data. As the toolkit grows, more utilities will be added.
Available Utilities
Currently, the Utils
module includes the following utility:
formatEther
This function is imported from the viem
library and allows you to format values from Wei (the smallest unit of Ether) into readable Ether values.
Example Usage
Here's an example of how to use the formatEther
utility:
Last updated