Gas price units
parse_gwei is parse_units with decimals fixed at 9. Use it when a gas price or fee input is expressed in gwei but downstream EVM fields require wei.
- Use parse_gwei('20') for exact decimal parsing.
- Use parse_units(value, 18) or parse_ether when the input is ETH rather than gwei.
- Do not pass FLOAT or DOUBLE values for capital-moving fee amounts.
Local SQL