Withdraw
Drop Transaction
This endpoint accepts parameters ‘cobo_id’ and ‘request_id’ as required fields, and ‘fee’, ‘gas_price’, ‘gas_limit’, and ‘fee_amount’ as optional fields. The endpoint returns a JSON response containing information about the transaction request.
POST
/
v1
/
custody
/
mpc
/
drop_transaction
/
Only transactions with the status 401, 402, and 403 are eligible to be replaced.
Request
cobo_id
String
requiredUnique transaction ID
request_id
String
requiredRBF 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
Gas price; must be higher than the original gas price
gas_limit
Int
Gas limit
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.
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