Initialize ERC20 Token Activation Task
API-v2task::enable_erc20::init
This page was generated automatically and provides a skeleton for the method documentation. Verify all parameter names, defaults, and response fields before publishing.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| ticker | string | ✓ | - | ERC-20 token symbol to activate (e.g., USDC). |
| required_confirmations | integer | ✗ | - | Number of confirmations required for swap transactions involving the token. If omitted, defaults to the parent platform-coin value (typically 3). |
| scan_policy | string enum | ✗ | scan_if_new_wallet | Address-scanning behaviour for HD wallets. One of do_not_scan, scan_if_new_wallet (default), or scan. |
| min_addresses_number | integer | ✗ | - | Minimum number of addresses to derive per HD account when scan_policy triggers scanning. |
| path_to_address | object | ✗ | - | HD path selector (account / address index) to use as the default swap address. |
| priv_key_policy | object | ✗ | {"type": "ContextPrivKey"} | Object specifying the policy to access private key during activation. Must include a type field with a value from PrivKeyActivationPolicyEnum. When type is WalletConnect, also provide a data field containing the session topic. |
| userpass | string | ✓ | - | RPC password (RPC_UserP@SSW0RD). |
| Parameter | Type | Description |
|---|---|---|
| task_id | integer | Unique identifier of the activation task. |
| status | string | Current task status (e.g., InProgress). |
enable_erc20::init
POST
task::enable_erc20::init{
"mmrpc": "2.0",
"method": "task::enable_erc20::init",
"params": {
"ticker": "USDC",
"required_confirmations": 5,
"scan_policy": "scan_if_new_wallet",
"priv_key_policy": {
"type": "ContextPrivKey"
}
},
"id": 1,
"userpass": "RPC_UserP@SSW0RD"
}