/api/v2/{coin}/wallet/{walletId}/consolidateunspents
Builds, signs, and sends a transaction to consolidate unspents all in 1 call. Consolidating unspents is only for UTXO-based assets.
coin
stringRequiredbtc
walletId
stringRequired59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
walletPassphrase
string xprv
string feeRate
One ofnull
maxFeeRate
One ofnull
^-?\d+$
maxFeePercentage
integer feeTxConfirmTarget
integer bulk
boolean minValue
One of2000000
^-?\d+$
maxValue
One of2000000
^-?\d+$
minHeight
integer minConfirms
integer enforceMinConfirmsForChange
boolean limit
integer numUnspentsToMake
integer targetAddress
string txFormat
string legacy
psbt
psbt-lite
legacy
psbt
transfer
object coin
string required btc
id
string required 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
wallet
string required 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
enterprise
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
txid
string required b8a828b98dbf32d9fd1875cbace9640ceb8c82626716b4a64203fdc79bb46d26
txidType
string transactionHash
blockHash
height
integer required heightId
string date
string <date-time>
required confirmations
integer required type
string required send
receive
value
integer valueString
string required 2000000
^-?\d+$
intendedValueString
string 2000000
^-?\d+$
baseValue
integer baseValueString
string 2000000
^-?\d+$
baseValueWithoutFees
integer baseValueWithoutFeesString
string 2000000
^-?\d+$
feeString
string payGoFee
integer payGoFeeString
string usd
number required usdRate
number required state
string required confirmed
failed
initialized
pendingApproval
rejected
removed
replaced
signed
unconfirmed
confirmed
tags
array[string] required 59cd72485007a239fb00282ed480da1f
history
array[object] required comment
string required vSize
integer coinSpecific
object required sequenceId
string entries
array[object] usersNotified
boolean label
string replaces
array[string] replacedBy
array[string] txid
string tx
One ofstatus
string signed
signed (suppressed)
pendingApproval
error
string required requestId
string required context
object name
string required