filecoin.js > LotusWalletProvider > exportPrivateKey
LotusWalletProvider.exportPrivateKey() method
walletExport returns the private key of an address in the wallet.
Signature:
exportPrivateKey(address: string): Promise<KeyInfo>;
Parameters
Parameter | Type | Description |
---|---|---|
address | string |
Returns:
Promise<KeyInfo>