utils • Docs
near-sdk-js v2.0.0 / utils / validateAccountId
validateAccountId(accountId): boolean
accountId
boolean
Validates the Account ID according to the NEAR protocol Account ID rulesarrow-up-right.
• accountId: string
string
The Account ID string you want to validate.
packages/near-sdk-js/src/utils.ts:287arrow-up-right
Last updated 1 year ago