Advanced Wallets - Consolidate and Recover Assets

Recover assets from an advanced wallet with a balance in multiple receive addresses. Build, sign, and send a consolidation and recovery, all in one call. Sign using your user and backup keys. 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 a balance only in the base address, use Advanced Wallets - Recover Assets.

Use this endpoint only with advanced wallets. For other wallet types, use the Wallet Recovery Wizard.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string

The user's public key for standard multisig wallets. Required for onchain multisig recovery consolidations.

string

The backup public key for standard multisig wallets. Required for onchain multisig recovery consolidations.

string

The BitGo public key for standard multisig wallets. Required for onchain UTXO multisig recovery consolidations.

string
enum
required

The type of wallet to recover - onchain: Traditional multisig wallets. - tss: Threshold Signature Scheme wallets.

Allowed:
string

The common keychain for TSS wallets. Required when multisigType is 'tss'.

string

The token contract address for token recovery (e.g., ERC20 tokens on Ethereum or SPL tokens on Solana). Required when recovering specific tokens instead of the native coin.

number

The starting index to scan for addresses to consolidate. Useful for limiting the scan range for better performance.

number
Defaults to 20

The ending index to scan for addresses to consolidate. Useful for limiting the scan range for better performance.

string

API key for blockchain explorer services. Required for some coins to build recovery transactions.

durableNonces
object

Durable nonces configuration for Solana transactions. Provides transaction durability for Solana recovery operations. Refer to https://github.com/BitGo/wallet-recovery-wizard/blob/master/DURABLE_NONCE.md on durable nonce creation.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json