On this page

Initialize Create New Account Task

API-v2task::create_new_account::init

Initializes a task to create a new HD account. Use the returned task_id to check the status of the account creation process.

ParameterTypeRequiredDefaultDescription
coinstring-Ticker of coin you would like to initialize a HD account for.
account_idinteger-If not defined, will increment to the next unused account id in the wallet.
scanbooleantrueIf true, will scan the account for funded addresses.
gap_limitinteger20The maximum number of empty addresses in a row. Defaults to the value provided on activation, or 20 if no value was provided.

ParameterTypeDescription
task_idintegerAn identifying number which is used to query task status.

task::create_new_account::init

POST
task::create_new_account::init
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "task::create_new_account::init",
  "params": {
    "coin": "KMD",
    "account_id": 77,
    "scan": true,
    "gap_limit": 20
  },
  "id": 1
}