Komodo DeFi Framework Method: task::init_trezor::init
API-v2task::init_trezor::init
Before using this method, launch the Komodo DeFi Framework API, and plug in your Trezor.
Parameter* = required | Type | Description |
---|---|---|
device_pubkey | string | Optional. If known, you can specify the device pubkey. If not known, this will be part of the task::init_trezor::status response which you can save for future use |
Parameter* = required | Type | Description |
---|---|---|
task_id* | integer | An identifying number which is used to query task status. |
task::init_trezor::init
POST
task::init_trezor::init{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "task::init_trezor::init",
"params": {}
}
task::init_trezor::init
POST
task::init_trezor::init{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "task::init_trezor::init",
"params": {
"device_pubkey": "066deb87b0d0500ec2e9b85f5314870b03a53517"
}
}
{
"mmrpc": "2.0",
"result": {
"task_id": 0
},
"id": null
}