On this page

Cancel Get New Address Task

API-v2task::get_new_address::cancel

If you want to cancel the enabling process before it has completed, you can use this method.

ParameterTypeRequiredDescription
task_idintegerThe identifying number returned when initiating the enabling process.

ParameterTypeDescription
resultstringIndicates task cancellation was succesful.
errorstringAn error message to explain what went wrong.
error_pathstringAn indicator of the class or function which reurned 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::get_new_address::cancel

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