Wallets API
Export wallet
- Overview
- Installation
- Create wallet
- Send transaction
- Sign message
- Batch transactions
- External connectors
- Sign-In With Ethereum
- CORS origin
- Overview
Libraries
Authentication
Create Wallet
Send transaction
- Sign message
- Delegate transactions
- Import wallet
- Export wallet
Link
Wallets API
Wallets API
Export wallet
Export wallet’s mnemonic phrase.
Prerequisite: Create Wallet
const exportWalletResp = await wk.wallets.export({
network: Network.Base,
address: "<walelt address>",
userPin: "<user pin>",
});
if (!exportWalletResp.ok) {
// handle error
}
const mnemonicPhrase = exportWalletResp.body.mnemonicPhrase;