Skip to content

lotusBlsPrivateKeyToBytes

function lotusBlsPrivateKeyToBytes(priv: string): Uint8Array<ArrayBufferLike>

Defined in: packages/iso-filecoin/src/wallet.js:302

Lotus BLS base64 private key to bytes Lotus BLS private key is little endian so you need to reverse the byte order.

Parameters

ParameterTypeDescription
privstring

Returns

Uint8Array<ArrayBufferLike>