json
using password
.
It is preferred to use the async version instead, which allows a
**ProgressCallback to keep the user informed as to the decryption status.
This method will block the event loop (freezing all UI) until decryption is complete, which can take quite some time,
depending on the wallet paramters and platform.
Parameter | Type | Description |
---|---|---|
json | string | The JSON data to decrypt. |
_password | string | Uint8Array | The password to decrypt the JSON data. |
KeystoreAccount
The decrypted account.