wallet.replaceWallet
Signature
Section titled “Signature”wallet.replaceWallet#d8c72eec flags:# wallet:InputWalletReplacement password:flags.0?InputCheckPasswordSRP = WalletState;Result type
Section titled “Result type”WalletState
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| wallet | InputWalletReplacement | — | — | |
| password | flags.0?InputCheckPasswordSRP | flags.0 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| password | 0 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.functions import WalletReplaceWalletPublic access: miniproto.raw.functions.WalletReplaceWallet.
Result family
Section titled “Result family”RPC errors
Section titled “RPC errors”No RPC errors are mapped to this method by the pinned error database.
Accepted types
Section titled “Accepted types”InputCheckPasswordSRP, InputWalletReplacement
Known selected constructors: inputCheckPasswordEmpty, inputCheckPasswordSRP, inputWalletImported, inputWalletNew
Returned types
Section titled “Returned types”WalletState
Known selected constructors: walletState, walletStateEmpty
Related methods
Section titled “Related methods”account.deleteAccount, account.getPasswordSettings, account.getTmpPassword, account.updatePasswordSettings, auth.checkPassword, messages.editChatCreator, messages.getBotCallbackAnswer, payments.getStarsRevenueWithdrawalUrl, wallet.disableBackup, wallet.enableBackup, wallet.exportSecretPhrase, wallet.getState