Display wei values
format_ether is format_units with decimals fixed at 18. Use it when a raw ETH or WETH balance should be shown to a human.
- The returned VARCHAR is for display; keep UINT256 wei values for calldata, simulation, and comparisons.
- Use parse_ether when converting a human ETH string back to wei.
Local SQL