Search
Preparing search index...
The search index is not available
API Reference | Injective - Powering the future of decentralized finance.
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
API Reference | Injective - Powering the future of decentralized finance.
@injectivelabs/wallet-ts
internal
HDNode
Class HDNode
Hierarchy
HDNode
Index
Constructors
constructor
Properties
chain
Code
private
Extended
Key
private
Key
public
Extended
Key
public
Key
Methods
derive
sign
toJSON
verify
wipe
Private
Data
from
Extended
Key
fromJSON
from
Master
Seed
Constructors
constructor
new HDNode
(
)
:
HDNode
Returns
HDNode
Properties
chain
Code
chain
Code
:
Buffer
private
Extended
Key
private
Extended
Key
:
string
private
Key
private
Key
:
Buffer
public
Extended
Key
public
Extended
Key
:
string
public
Key
public
Key
:
Buffer
Methods
derive
derive
(
path
:
string
)
:
HDNode
Parameters
path:
string
Returns
HDNode
sign
sign
(
hash
:
Buffer
)
:
Buffer
Parameters
hash:
Buffer
Returns
Buffer
toJSON
toJSON
(
)
:
{
xpriv
:
string
;
xpub
:
string
}
Returns
{
xpriv
:
string
;
xpub
:
string
}
xpriv
:
string
xpub
:
string
verify
verify
(
hash
:
Buffer
, signature
:
Buffer
)
:
boolean
Parameters
hash:
Buffer
signature:
Buffer
Returns
boolean
wipe
Private
Data
wipe
Private
Data
(
)
:
HDNode
Returns
HDNode
Static
from
Extended
Key
from
Extended
Key
(
xpriv
:
string
)
:
HDNode
Parameters
xpriv:
string
Returns
HDNode
Static
fromJSON
fromJSON
(
obj
:
{
xpriv
:
string
;
xpub
:
string
}
)
:
HDNode
Parameters
obj:
{
xpriv
:
string
;
xpub
:
string
}
xpriv
:
string
xpub
:
string
Returns
HDNode
Static
from
Master
Seed
from
Master
Seed
(
seed
:
Buffer
, versions
?:
{
private
:
number
;
public
:
number
}
)
:
HDNode
Parameters
seed:
Buffer
Optional
versions:
{
private
:
number
;
public
:
number
}
private
:
number
public
:
number
Returns
HDNode
Modules
@injectivelabs/sdk-
ts
@injectivelabs/wallet-
ts
Utils
Wallets
internal
Event
Emitter
HDNode
constructor
chain
Code
private
Extended
Key
private
Key
public
Extended
Key
public
Key
derive
sign
toJSON
verify
wipe
Private
Data
from
Extended
Key
fromJSON
from
Master
Seed
Generated using
TypeDoc