Recovery
Functions
Link copied to clipboard
suspend fun createRecoverableWallet(config: RecoverableWalletConfig): RecoverableWallet
Content copied to clipboard
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.
Link copied to clipboard
suspend fun getAccountInfo(accountAddress: AccountKeyPair, auth: Map<RecoveryServerKey, AuthToken>): Map<RecoveryServerKey, RecoverableAccountInfo>
Content copied to clipboard
Link copied to clipboard
open suspend override fun replaceDeviceKey(account: AccountKeyPair, newKey: AccountKeyPair, serverAuth: Map<RecoveryServerKey, RecoveryServerSigning>, lostKey: AccountKeyPair?, sponsorAddress: AccountKeyPair?): Transaction
Content copied to clipboard
Link copied to clipboard
Create new auth object to authenticate account with the recovery server using SEP-10.
Link copied to clipboard
open suspend override fun signWithRecoveryServers(transaction: Transaction, accountAddress: AccountKeyPair, serverAuth: Map<RecoveryServerKey, RecoveryServerSigning>): Transaction
Content copied to clipboard