Avalanche SDK Client - v0.0.4-alpha.14
Preparing search index...
accounts
LocalXPAccount
Type Alias LocalXPAccount
LocalXPAccount is a type that represents an X or P chain account. It is a local account.
type
LocalXPAccount
=
{
publicKey
:
string
;
signMessage
:
(
message
:
string
)
=>
Promise
<
string
>
;
signTransaction
:
(
txHash
:
string
|
Uint8Array
)
=>
Promise
<
string
>
;
source
:
"hdKey"
|
"privateKey"
|
"mnemonic"
;
type
:
"local"
;
verify
:
(
message
:
string
,
signature
:
string
)
=>
boolean
;
}
Index
Properties
public
Key
sign
Message
sign
Transaction
source
type
verify
Properties
public
Key
publicKey
:
string
sign
Message
signMessage
:
(
message
:
string
)
=>
Promise
<
string
>
sign
Transaction
signTransaction
:
(
txHash
:
string
|
Uint8Array
)
=>
Promise
<
string
>
source
source
:
"hdKey"
|
"privateKey"
|
"mnemonic"
type
type
:
"local"
verify
verify
:
(
message
:
string
,
signature
:
string
)
=>
boolean
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
public
Key
sign
Message
sign
Transaction
source
type
verify
GitHub
Avalanche Docs
Avalanche SDK Client - v0.0.4-alpha.14
Loading...
LocalXPAccount is a type that represents an X or P chain account. It is a local account.