Skip to main content

parse_ether_or_wei

Function parse_ether_or_wei 

Source
fn parse_ether_or_wei(s: &str) -> Result<U256>
Expand description

Parse a value string that can be in ether notation (e.g., “0.1ether”) or raw wei.