Hi
I'm trying to lock an unspent output using the following request:
{
"method":"preparelockunspentfrom",
"params":[
"{{address}}",
0
],
"id":1,
"chain_name":"{{chain-name}}"
}
The response I'm getting is:
{
"result": null,
"error": {
"code": -709,
"message": "Private key for from-address is not found in this wallet"
},
"id": 1
}
This is correct as I'm keeping the private keys elsewhere, so I'm confused as to how I can build a raw transaction without putting the key into the wallet, or is it I can't lock an output without the private key?
Thx