On this page

Cancel Withdraw Task

API-v2task::withdraw::cancel

Use the task::withdraw::cancel method to cancel the withdrawal preparation task.

ParameterTypeRequiredDescription
task_idintegerThe identifying number returned when initiating the withdraw process.

ParameterTypeDescription
resultstringIndicates task cancellation was successful.
errorstringAn error message to explain what went wrong.
error_pathstringAn indicator of the class or function which returned the error.
error_tracestringAn indicator of where in the source code the error was thrown.
error_typestringAn enumerated value for the returned error.
error_datastringThe input task ID which resulted in the error.

task::withdraw::cancel

POST
task::withdraw::cancel
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "task::withdraw::cancel",
  "mmrpc": "2.0",
  "params": {
    "task_id": 6
  }
}

ParameterTypeDescription
NoSuchTaskstringThe specified task was not found or expired.
TaskFinishedstringThe task is already finished and cannot be canceled.