Wallet

Consolidate account (advanced)

Changed on

Build a consolidation transaction for an account-based asset. Once built, you must sign and send the transaction. For account-based assets, consolidating the balances in the receive addresses to the base address maximizes the spendable balance of a wallet.

post/api/v2/{coin}/wallet/{walletId}/consolidateAccount/build

Request

  • Base URL
    https://developers.bitgo.com
  • URL
    https://developers.bitgo.com/api/v2/{coin}/wallet/{walletId}/consolidateAccount/build
  • Auth
    none declared

Path parameters

coin'algo' | 'talgo' | 'xtz' | 'txtz' | 'eth' | 'hteth' required

This route is only available for Algorand, Tezos, and Eth.

walletIdstring required
Example:59cd72485007a239fb00282ed480da1f

The wallet ID.

Request body

consolidateAddressesstring[]

Optional: restrict the consolidation to the specified receive addresses. If not provided, will consolidate the funds from all receive addresses up to 500 addresses.

consolidationMode'single-asset' | 'legacy-multi-asset'

Optional SOL consolidation mode; omitted values preserve legacy multi-asset behavior.

apiVersion'full' | 'lite'

The Trasaction Request API version to use for MPC EdDSA Hot Wallets. Defaults based on the wallet type and asset curve.

Response

OK

keyDerivationPathstring

Changes