POST
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.
Path Params
-
coinstring enum requiredThis route is only available for Algorand, Tezos, and Eth.algotalgoxtztxtzethhteth -
walletIdstring requiredThe wallet ID.
Body Params
object
-
consolidateAddressesarray of stringsOptional: restrict the consolidation to the specified receive addresses. If not provided, will consolidate the funds from all receive addresses up to 500 addresses. -
apiVersionstring enumThe Trasaction Request API version to use for MPC EdDSA Hot Wallets. Defaults based on the wallet type and asset curve.fulllite
Responses
200
OK
Response Body
object
-
keyDerivationPathstring
400
Bad Request
Response Body
ONE OF
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id -
contextobjectProperties that apply to a specific error name -
namestring requiredError code
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id -
contextobject requiredcontext object
-
addressstring required -
coinstring requiredA cryptocurrency or token ticker symbol.
-
-
namestring enum requiredError codeInvalidAddress
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id -
contextobject requiredcontext object
-
idstring
-
-
namestring enum requiredError codeInvalidWalletId