POST
/
v1
/
custody
/
mpc
/
speedup_transaction
/
request(
    "POST",
    "/v1/custody/mpc/speedup_transaction/",
    {
        "cobo_id": "20221229151018000370189000003690",
        "request_id": "722669426842706122"
    },
    api_key, api_secret, host
)
{
  "success": true,
  "result": {
    "cobo_id": "20221227195133000378036000001822"
  }
}

Only transactions with the status 401, 402, and 403 are eligible to be replaced.

Request

cobo_id
String
required
Unique transaction ID
request_id
String
required
RBF transaction request ID (unique identifier of a transaction request, which must correspond to a client’s transaction; UUID should be used and the length should be equal to or less than 120 characters)
fee
Float
Transaction fees per byte; must be higher than the original transaction fees; applicable to the UTXO model
gas_price
Int
The gas price for the new transaction(must be higher than the original gas price)
gas_limit
Int
The gas limit for the new transaction.
fee_amount
Int
transaction fee; applicable to UTXO model; use either fee or fee_amount for UTXO model.
auto_fuel
Int
How the transaction utilizes the gas station, 0: no refueling(default); 1: passive use of the gas station; 2: active use of the gas station.
This parameter is used when you’ve activated the gas station service and use the gas station to support the transaction fee for MPC transactions.
The gas station will definitely refuel for the transaction when in active use, while for passive use, refueling by the gas station occurs only when the address balance is insufficient for transaction fees.
extra_parameters
String

UTXO Model:

  • utxo_from_address: Given that the new transaction fee is higher, if the new transaction requires additional inputs, then the new inputs will be selected from utxo_from_address. Please note that the new inputs will be selected from the current wallet if this parameter is not provided.
Sample
extra_parameters: '{"utxo_from_address": "tb1qpllcnnpt3z9nkxtj3a0jmhdj5xvxaerhv5xs5n"}'

Response

success
bool
request successful or failed
result
object