Skip to content
docs

isValidAccountId

isValidAccountId(id): boolean

Defined in: wallet-near/src/address.ts:8

True for a valid NEAR account id: 2–64 characters of the allowed alphabet, implicit or named.

string

boolean