Static
validateValidates a single Ethereum-style address. Checks if the address is a valid 40-character (excluding '0x') hexadecimal string.
The address to validate
True if the address is valid, false otherwise
Static
validateValidates an array of Ethereum-style addresses. Checks each address in the array and returns true only if all addresses are valid.
Array of addresses to validate
True if all addresses are valid, false if any address is invalid
Utility class for validating Ethereum-style addresses used in Conflux eSpace. Provides methods for validating both single addresses and arrays of addresses.
AddressValidator