@gala-chain/api ∙ API
API > UserAlias
Type alias: UserAlias
UserAlias:
string
&object
Description
Type for user alias. Technically it is a string, but it has an additional marker (tag) to distinguish it from other strings at the compilation level, and mark that it was actually validated as a user alias.
You should not cast any string to this type, but instead use resolveUserAlias
function to get the user alias.
Type declaration
__userAlias__
__userAlias__:
void