Wallet

Consolidate account (advanced)

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

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.

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

No recorded changes to this endpoint across all 20 revisions of this API.