/api/v2/{coin}/wallet/{walletId}/acceleratetx
Send a child-pays-for-parent (CPFP) transaction to accelerate the target unconfirmed transactions.
Background: In Bitcoin, a transaction can only be included in a block when all its inputs are confirmed. This requirement can be used to increase the effective fee rate of a stuck low-fee transaction. One of the stuck transaction's outputs is spent in a child transaction with a much higher fee. Miners include the transactions with the highest fees first to maximize their revenue, but the high-fee child transaction can only be included once the parent transaction is confirmed. The miners are therefore incentivized to include both the parent and the child transaction together in a block. A child-pays-for-parent transaction can be created by a recipient of the transaction or by the sender if the target transaction has a change output.
Notes:
coin
stringRequiredbtc
tbtc
walletId
stringRequired"59cd72485007a239fb00282ed480da1f"
^[0-9a-f]{32}$
cpfpTxIds
array[string] cpfpFeeRate
integer maxFee
integer 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 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 signed
unconfirmed
confirmed
pendingApproval
removed
failed
rejected
confirmed
tags
array[string] required history
array[object] required comment
string required vSize
integer coinSpecific
object required sequenceId
string entries
array[object] usersNotified
boolean label
string txid
string tx
One ofstatus
string signed
signed (suppressed)
pendingApproval
error
string required requestId
string required context
object name
string required