Enable UTXO Task: Init
API-v2task::enable_utxo::init
Use this method for task managed activation of UTXO coins like KMD, LTC, BTC & DOGE. Refer to the task managed activation overview for activation of other coin types.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
ticker | string | ✓ | - | Ticker of the UTXO-based coin you want to enable. |
activation_params | object | ✓ | - | A standard ActivationParams object containing activation configuration parameters for UTXO coins. |
priv_key_policy | object | ✗ | {"type": "ContextPrivKey"} | Object specifying the policy to access a private key during activation. Must include a type field from PrivKeyActivationPolicyEnum. When using WalletConnect , also add a data field with the session topic. |
Parameter | Type | Description |
---|---|---|
task_id | integer | An identifying number which is used to query task status. |
UTXO Activation (Trezor mode)
POST
task::enable_utxo::init{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "task::enable_utxo::init",
"params": {
"ticker": "KMD",
"activation_params": {
"mode": {
"rpc": "Electrum",
"rpc_data": {
"servers": [
{
"url": "electrum2.cipig.net:10001"
},
{
"url": "electrum3.cipig.net:20001",
"ws_url": "electrum3.cipig.net:30001",
"protocol": "SSL"
}
]
}
},
"scan_policy": "scan_if_new_wallet",
"min_addresses_number": 3,
"gap_limit": 20
},
"priv_key_policy": {
"type": "Trezor"
}
}
}