formatUnits
Convert blockchain value to readable units using specified decimals or unit names for clearer Ethereum network interactions.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
unit | Yes | The number of decimals or unit name (e.g., 'gwei', 18) | |
value | Yes | The value to format |