fromObject
scrypt-ts-opcat / HDPrivateKey / fromObject
Function: fromObject()
fromObject(
arg
):HDPrivateKey
Defined in: node_modules/@opcat-labs/opcat/types/hdprivatekey.d.cts:199
Creates an HDPrivateKey instance from a plain object.
Parameters
arg
any
The object containing HDPrivateKey properties.
Returns
A new HDPrivateKey instance.
Throws
Throws if argument is not a valid object.