getPublicKey
function getPublicKey( privateKey: Uint8Array<ArrayBufferLike>, network: Network, type: "SECP256K1" | "BLS"): IAccount;
Defined in: packages/iso-filecoin/src/wallet.js:181
Get public key from private key
Parameters
Parameter | Type |
---|---|
privateKey | Uint8Array <ArrayBufferLike > |
network | Network |
type | "SECP256K1" | "BLS" |