createRecoverableWallet

suspend fun createRecoverableWallet(config: RecoverableWalletConfig): RecoverableWallet

Create new recoverable wallet using SEP-30. It registers the account with recovery servers, adds recovery servers and device account as new account signers, and sets threshold weights on the account.

Warning: This transaction will lock master key of the account. Make sure you have access to specified RecoverableWalletConfig.deviceAddress

This transaction can be sponsored.

Return

transaction

Parameters

Throws