Function isValidHexAddress

  • Validate that the passed prefixed hex string is an all-lowercase hex address, or a valid mixed-case checksum address.

    Returns

    Whether or not the input is a valid hex address.

    Parameters

    • possibleAddress: `0x${string}`

      Input parameter to check against.

    Returns boolean