Komodo DeFi Framework Method: task::enable_utxo::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 | string | ✗ | ContextPrivKey | Value can be PrivKeyActivationPolicyEnum. |
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",
"priv_key_policy": "Trezor",
"min_addresses_number": 3,
"gap_limit": 20
}
}
}