Preparing search index...
The search index is not available
XYO Platform SDK - v3.6.9
XYO Platform SDK
@xyo-network/protocol
WalletStatic
Interface WalletStatic<T>
interface
WalletStatic
<
T
extends
WalletInstance
=
WalletInstance
>
{
previousHashStore
?:
PreviousHashStore
;
create
(
config
:
AccountConfig
)
:
Promise
<
T
>
;
fromExtendedKey
(
key
:
string
)
:
Promise
<
T
>
;
fromMnemonic
(
mnemonic
:
Mnemonic
)
:
Promise
<
T
>
;
fromPhrase
(
mnemonic
:
string
,
path
?:
string
)
:
Promise
<
T
>
;
fromPrivateKey
(
key
:
string
|
bigint
|
ArrayBufferLike
,
)
:
Promise
<
AccountInstance
>
;
fromSeed
(
seed
:
string
|
ArrayBufferLike
)
:
Promise
<
T
>
;
random
()
:
any
;
}
Type Parameters
T
extends
WalletInstance
=
WalletInstance
Hierarchy
Omit
<
AccountStatic
<
T
>
,
"create"
>
WalletStatic
Index
Properties
previous
Hash
Store?
Methods
create
from
Extended
Key
from
Mnemonic
from
Phrase
from
Private
Key
from
Seed
random
Properties
Optional
previous
Hash
Store
previousHashStore
?:
PreviousHashStore
Methods
create
create
(
config
:
AccountConfig
)
:
Promise
<
T
>
Parameters
config
:
AccountConfig
Returns
Promise
<
T
>
from
Extended
Key
fromExtendedKey
(
key
:
string
)
:
Promise
<
T
>
Parameters
key
:
string
Returns
Promise
<
T
>
from
Mnemonic
fromMnemonic
(
mnemonic
:
Mnemonic
)
:
Promise
<
T
>
Parameters
mnemonic
:
Mnemonic
Returns
Promise
<
T
>
from
Phrase
fromPhrase
(
mnemonic
:
string
,
path
?:
string
)
:
Promise
<
T
>
Parameters
mnemonic
:
string
Optional
path
:
string
Returns
Promise
<
T
>
from
Private
Key
fromPrivateKey
(
key
:
string
|
bigint
|
ArrayBufferLike
)
:
Promise
<
AccountInstance
>
Parameters
key
:
string
|
bigint
|
ArrayBufferLike
Returns
Promise
<
AccountInstance
>
from
Seed
fromSeed
(
seed
:
string
|
ArrayBufferLike
)
:
Promise
<
T
>
Parameters
seed
:
string
|
ArrayBufferLike
Returns
Promise
<
T
>
random
random
()
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
previous
Hash
Store
Methods
create
from
Extended
Key
from
Mnemonic
from
Phrase
from
Private
Key
from
Seed
random
XYO Platform SDK - v3.6.9
Loading...