Advanced Wallets - Recover Assets
Recover assets from an advanced wallet with a balance only in the base address. Works for both multisignature and MPC recoveries.
Retrieves the private keys from KMS using the provided public keys or common keychain, then signs and returns the broadcastable transaction hex.
Note: This endpoint only works when AWM and MBE are running in recovery mode.
To recover assets from an advanced wallet with balances in multiple receive addresses, use Advanced Wallets - Consolidate and Recover Assets.
Use this endpoint only with advanced wallets. For other wallet types, use the Wallet Recovery Wizard.
Path Params
-
coinstring required
Body Params
object
-
isTssRecoverybooleanSet to true to perform a TSS (Threshold Signature Scheme) recovery. -
tssRecoveryParamsobjectParameters specific to TSS recovery. Required when isTssRecovery is true.tssRecoveryParams object
-
commonKeychainstring requiredThe common keychain string used for TSS wallets. Required for TSS recovery.
-
-
multiSigRecoveryParamsobjectParameters specific to standard multisig recovery. Required when isTssRecovery is false (default).multiSigRecoveryParams object
-
backupPubstring requiredThe backup public key. -
bitgoPubstring requiredThe BitGo public key. Required for UTXO coins, optional for others. -
userPubstring requiredThe user's public key. -
walletContractAddressstring requiredThe wallet contract address. Required for ETH-like recoveries.
-
-
recoveryDestinationAddressstring requiredThe address where recovered funds will be sent. Must be a valid address for the coin being recovered. -
apiKeystringAPI Key for a block chain explorer. Required for some coins (BTC, ETH) to build a recovery transaction without BitGo. -
coinSpecificParamsobjectCoin-specific recovery options. Different parameters are required based on the coin family: - For UTXO coins (BTC, etc): provide utxoRecoveryOptions. - For EVM chains (ETH, etc): provide evmRecoveryOptions. - For Solana: provide solanaRecoveryOptions.coinSpecificParams object
-
ecdsaCosmosLikeRecoverySpecificParamsobjectecdsaCosmosLikeRecoverySpecificParams object
-
rootAddressstring required
-
-
ecdsaEthLikeRecoverySpecificParamsobjectecdsaEthLikeRecoverySpecificParams object
-
apiKeystring required -
bitgoDestinationAddressstring required -
walletContractAddressstring required
-
-
evmRecoveryOptionsobjectEVM-specific recovery parameters for Ethereum and EVM-compatible chains. Used for recovering funds from standard multisig wallets on Ethereum and EVM-compatible chains. Required when recovering ETH, MATIC, BSC, AVAX C-Chain, etc.evmRecoveryOptions object
-
eip1559objectEIP-1559 gas parameters for modern Ethereum transactions. Required for EIP-1559 compatible networks (Ethereum post-London fork).eip1559 object
-
maxFeePerGasnumber requiredMaximum fee per gas in wei (base fee + priority fee). -
maxPriorityFeePerGasnumber requiredMaximum priority fee per gas in wei (tip for miners/validators).
-
-
gasLimitnumberGas limit for the recovery transaction. Must be enough to cover the contract execution costs. -
gasPricenumberGas price in wei for the recovery transaction (for legacy transactions). Higher gas prices result in faster confirmations but higher transaction costs. -
replayProtectionOptionsobjectReplay protection options for the transaction. Required to prevent transaction replay attacks across different chains.replayProtectionOptions object
-
chainstring or number requiredChain ID or name. -
hardforkstring requiredHardfork name to determine the transaction format.
-
-
scannumberNumber of addresses to scan for funds. Higher values will scan more addresses but take longer to complete.
-
-
solanaRecoveryOptionsobjectSolana-specific recovery parameters.solanaRecoveryOptions object
-
closeAtaAddressstringThe close associated token account address. Required for token recovery. -
durableNonceobjectDurable nonce configuration for transaction durability. Optional but recommended for recovery operations. Refer to https://github.com/BitGo/wallet-recovery-wizard/blob/master/DURABLE_NONCE.md on durable nonce creation.durableNonce object
-
publicKeystring requiredThe public key of the durable nonce account. -
secretKeystring requiredThe secret key of the durable nonce account.
-
-
programIdstringThe program ID for the token. Required for token recovery. -
recoveryDestinationAtaAddressstringThe recovery destination's associated token account address. Required for token recovery. -
tokenContractAddressstringThe token contract address for token recovery. Required when recovering tokens.
-
-
utxoRecoveryOptionsobjectUTXO-specific recovery parameters for Bitcoin & Bitcoin-like cryptocurrencies. Used for recovering funds from standard multisig wallets on UTXO chains. Required when recovering BTC, BCH, LTC, DASH, ZEC, etc.utxoRecoveryOptions object
-
feeRatenumberFee rate for the recovery transaction in satoshis per byte. Higher fee rates result in faster confirmations but higher transaction costs. -
ignoreAddressTypesarray of strings -
scannumberNumber of addresses to scan for funds. Higher values will scan more addresses but take longer to complete. -
userKeyPathstringDerivation path for the user key. Specifies the HD path to derive the correct user key for signing.
-
-
Responses
200
OK
Response Body
object
-
txHexstring requiredThe full signed transaction in hexadecimal format. This transaction can be broadcast to the network to complete the recovery.
400
Bad Request
Response Body
object
-
errorstring requiredThe error name -
detailsstring requiredError details
404
Not Found
Response Body
object
-
errorstring requiredThe error name -
detailsstring requiredError details
409
Conflict
Response Body
object
-
errorstring requiredThe error name -
detailsstring requiredError details
422
Unprocessable Entity
Response Body
object
-
errorstring requiredThe error name -
detailsstring requiredError details
500
Internal Server Error
Response Body
object
-
errorstring requiredThe error name -
detailsstring requiredError details
501
Not Implemented
Response Body
object
-
errorstring requiredThe error name -
detailsstring requiredError details