Skip to main content

isAddress

Callable

  • isAddress(value: ValidInputTypes, checkChecksum?: boolean): boolean

  • Checks if a given string is a valid Ethereum address. It will also check the checksum, if the address has upper and lowercase letters.

    @deprecated

    Will be removed in next release. Please use web3-validator package instead.


    Parameters

    • value: ValidInputTypes
    • optionalcheckChecksum: boolean

    Returns boolean