Github
Preparing search index...
The search index is not available
iso-filecoin - v5.0.0
iso-filecoin
wallet
getPublicKey
Function getPublicKey
get
Public
Key
(
privateKey
,
network
,
type
)
:
{
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
;
}
address
:
AddressSecp256k1
|
AddressBLS
pub
Key
:
Uint8Array
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
iso-filecoin - v5.0.0
Loading...
Get public key from private key