Skip to content

fromPublicKey

fromPublicKey(bytes, network, type): AddressSecp256k1 | AddressBLS

Defined in: packages/iso-filecoin/src/address.js:272

Create address from public key bytes Only for f1 SECP256K1 and f3 BLS

ParameterType
bytesUint8Array<ArrayBufferLike>
networkNetwork
type"SECP256K1" | "BLS"

AddressSecp256k1 | AddressBLS

IAddress