validateAddressAnyChain function
- required String address,
Implementation
(AddressError?, UTXONetworkType?) validateAddressAnyChain({
required String address,
}) {
final AddressError? evmError = validateEVMAddress(address: address);
if (evmError == null) {
return (null, null);
}
final AddressError? tronError = validateTronAddress(address: address);
if (tronError == null) {
return (null, null);
}
return validateUTXOAddress(address: address, token: null);
}