Skip to content

@gala-chain/apiAPI


API > validateUserAlias

Function: validateUserAlias()

validateUserAlias(value): UserAliasValidationResult

Parameters

value: unknown

Returns

UserRefValidationResult

Description

Validates a provided user alias. 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.

Source

chain-api/src/validators/IsUserAlias.ts:54