Umi — API References - v1.3.0
Preparing search index...
umi
publicKey
Function publicKey
publicKey
<
TAddress
extends
string
>
(
input
:
PublicKeyInput
<
TAddress
>
,
assertValidPublicKey
?:
true
,
)
:
PublicKey
<
TAddress
>
Creates a new public key from the given input.
Type Parameters
TAddress
extends
string
Parameters
input
:
PublicKeyInput
<
TAddress
>
Optional
assertValidPublicKey
:
true
Returns
PublicKey
<
TAddress
>
publicKey
<
TAddress
extends
string
>
(
input
:
SafePublicKeyInput
<
TAddress
>
,
assertValidPublicKey
:
false
,
)
:
PublicKey
<
TAddress
>
Creates a new public key from the given input.
Type Parameters
TAddress
extends
string
Parameters
input
:
SafePublicKeyInput
<
TAddress
>
assertValidPublicKey
:
false
Returns
PublicKey
<
TAddress
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Umi — API References - v1.3.0
Loading...
Creates a new public key from the given input.