ETH and WETH input
parse_ether is parse_units with decimals fixed at 18. It is intended for human ETH amounts before building calldata, simulation value fields, or balance comparisons.
- Use parse_ether('1.25') for exact decimal parsing.
- Use format_ether when converting raw wei back to a display string.
- Do not pass FLOAT or DOUBLE values for capital-moving ETH amounts.
Local SQL