Function parse_checksummed
Source pub fn parse_checksummed(
addr: &str,
chain_id: Option<u8>,
) -> Result<Address, ConversionError>
Expand description
Parses an EIP-1191 checksum address.
Returns Ok(address)
if the checksummed address is valid, Err()
otherwise.
If chain_id
is None
, falls back to EIP-55 address checksum method