Preparing search index...
The search index is not available
@multiversx/sdk-core - v13.15.0
@multiversx/sdk-core
UserSigner
Class UserSigner
ed25519 signer
Index
Constructors
constructor
Properties
secret
Key
Methods
get
Address
sign
from
Pem
from
Wallet
Constructors
constructor
new
UserSigner
(
secretKey
:
IUserSecretKey
)
:
UserSigner
Parameters
secretKey
:
IUserSecretKey
Returns
UserSigner
Properties
Protected
Readonly
secret
Key
secretKey
:
IUserSecretKey
Methods
get
Address
getAddress
(
hrp
?:
string
)
:
Address
Gets the address of the signer.
Parameters
Optional
hrp
:
string
Returns
Address
sign
sign
(
data
:
Buffer
|
Uint8Array
<
ArrayBufferLike
>
)
:
Promise
<
Buffer
>
Parameters
data
:
Buffer
|
Uint8Array
<
ArrayBufferLike
>
Returns
Promise
<
Buffer
>
Static
from
Pem
fromPem
(
text
:
string
,
index
?:
number
)
:
UserSigner
Parameters
text
:
string
index
:
number
= 0
Returns
UserSigner
Static
from
Wallet
fromWallet
(
keyFileObject
:
any
,
password
:
string
,
addressIndex
?:
number
,
)
:
UserSigner
Parameters
keyFileObject
:
any
password
:
string
Optional
addressIndex
:
number
Returns
UserSigner
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
secret
Key
Methods
get
Address
sign
from
Pem
from
Wallet
@multiversx/sdk-core - v13.15.0
Loading...
ed25519 signer