le var account = Account.NewAccount(); &lt;static&gt; isValidAddress(addr, type) Address validation method. Parameters: Name Type Description addr String/Hash Account address. type Number NormalType / ContractType Returns: Is address has correct format. Type Boolean Example if ( Account.isValidAddress(\"n1QZMXSZtW7BUerroSms4axNfyBGyFGkrh5\") ) { // some code }; &lt;static&gt; fromAddress(addr) Restore account from address. Receive addr or Account instance. If addr is Account instance return new Account inst