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.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
coin | string | ✓ | - | Ticker of coin you would like to initialize a HD account for. |
account_id | integer | ✗ | - | If not defined, will increment to the next unused account id in the wallet. |
scan | boolean | ✗ | true | If true , will scan the account for funded addresses. |
gap_limit | integer | ✗ | 20 | The maximum number of empty addresses in a row. Defaults to the value provided on activation, or 20 if no value was provided. |
Parameter | Type | Description |
---|---|---|
task_id | integer | An 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
}