Account.deserialize

Deserializes an Account object.

Parameters

Name Type Description
serializedAccount string Serialized data

Return Value

Name Type Description
account Account Account Instance

Usage

Retrieve Account instance from local storage
  var serializedAccount = localStorage.getItem('keystore');
  if (serializedAccount !== null) {
      var account = Account.deserialize(serializedAccount);
  }

results matching ""

    No results matching ""