Github
Preparing search index...
The search index is not available
iso-filecoin - v6.0.0
iso-filecoin
wallet
getPublicKey
Function getPublicKey
getPublicKey
(
privateKey
:
Uint8Array
,
network
:
Network
,
type
:
"SECP256K1"
|
"BLS"
,
)
:
{
address
:
AddressSecp256k1
|
AddressBLS
;
pubKey
:
Uint8Array
}
Get public key from private key
Parameters
privateKey
:
Uint8Array
network
:
Network
type
:
"SECP256K1"
|
"BLS"
Returns
{
address
:
AddressSecp256k1
|
AddressBLS
;
pubKey
:
Uint8Array
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
iso-filecoin - v6.0.0
Loading...
Get public key from private key