validateAccountId
utils • Docs
near-sdk-js v2.0.0 / utils / validateAccountId
Function: validateAccountId()
validateAccountId(
accountId
):boolean
Validates the Account ID according to the NEAR protocol Account ID rules.
Parameters
• accountId: string
The Account ID string you want to validate.
Returns
boolean
Defined in
Last updated