On this page

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.

ParameterTypeRequiredDefaultDescription
tickerstring-ERC-20 token symbol to activate (e.g., USDC).
required_confirmationsinteger-Number of confirmations required for swap transactions involving the token. If omitted, defaults to the parent platform-coin value (typically 3).
scan_policystring enumscan_if_new_walletAddress-scanning behaviour for HD wallets. One of do_not_scan, scan_if_new_wallet (default), or scan.
min_addresses_numberinteger-Minimum number of addresses to derive per HD account when scan_policy triggers scanning.
path_to_addressobject-HD path selector (account / address index) to use as the default swap address.
priv_key_policyobject{"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.
userpassstring-RPC password (RPC_UserP@SSW0RD).

ParameterTypeDescription
task_idintegerUnique identifier of the activation task.
statusstringCurrent 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"
}