ExpressAdvanced Wallets

POST

Build, sign, and send a consolidation transaction, all in one call. For account-based assets, consolidating the balances in the receive addresses to the base address maximizes the spendable balance of a wallet.

Retrieves the private key from KMS using the provided public key or common keychain, then signs and broadcasts the transaction.

Use this endpoint only with advanced wallets. For other wallet types, use Consolidate account (simple).

Path Params

  • walletId string required
  • coin string required

Body Params

object

  • source string enum required
    The key to use for signing the transaction
    userbackup
  • pubkey string
    Public key of the key used for signing multisig transactions
  • consolidateAddresses array of strings
  • commonKeychain string
    For TSS wallets, this is the common keychain of the wallet
  • apiVersion string enum
    The Trasaction Request API version to use for MPC EdDSA Hot Wallets. Defaults based on the wallet type and asset curve.
    fulllite

Responses

200
OK
No response body
400
Bad Request

Response Body

object

  • error string required
    The error name
  • details string required
    Error details
404
Not Found

Response Body

object

  • error string required
    The error name
  • details string required
    Error details
409
Conflict

Response Body

object

  • error string required
    The error name
  • details string required
    Error details
422
Unprocessable Entity

Response Body

object

  • error string required
    The error name
  • details string required
    Error details
500
Internal Server Error

Response Body

object

  • error string required
    The error name
  • details string required
    Error details
501
Not Implemented

Response Body

object

  • error string required
    The error name
  • details string required
    Error details