Skip to content

Documentation / react-auth / UseImportWalletInterface

Interface: UseImportWalletInterface

Properties

importWallet

importWallet: (input) => Promise<Wallet>

Imports a private key to be used as an embedded wallet for the user This method will error if the user already has an imported wallet or if they exit in the middle of the flow.

Parameters

input: Object

input.privateKey: string

Returns

Promise<Wallet>

The imported wallet