@gala-chain/api ∙ API
API > IsUserAlias
Function: IsUserAlias()
IsUserAlias(
options
?): (object
,propertyName
) =>void
Parameters
▪ options?: ValidationOptions
Returns
(
object
,propertyName
):void
Parameters
▪ object:
object
▪ propertyName:
string
Source
Description
Used to register a decorator for class validation. Validates against IsUserAliasConstraint. See also IsUserAliasConstraint, validateUserAlias. As of 2024-10, The following alias types are supported: legacy client| and service| prefixed aliases, eth| and ton| prefixed addresses, and internally reserved identities.