normalizeAddress static method
Implementation
static String normalizeAddress(String address) {
if (!isValidEthereumAddress(address)) {
throw ArgumentError('Invalid Ethereum address: $address');
}
return EthereumAddress.fromHex(address).hex;
}