On one node , i have two addresses :
chain2: getaddresses
{"method":"getaddresses","params":[],"id":1,"chain_name":"chain2"}
[
"1NLkCQcso4QTRqpHEBVmvrkmke8KeENc3dFddt", --> this was created through getnewaddress
"1LKUcxuuBDqazzVnxv91sHTgUqCHXZmxmSLt2A" --> this is the original address
]
While checking the balance , i get this
chain2: gettotalbalances
{"method":"gettotalbalances","params":[],"id":1,"chain_name":"chain2"}
[
{
"name" : "asset2",
"assetref" : "4149-266-26549",
"qty" : 9.00000000
},
{
"name" : "asset1",
"assetref" : "4055-266-19479",
"qty" : 825.00000000
}
]
Now i am transferring fund from original address to new address for asset 1 as below:
chain2: sendassetfrom 1LKUcxuuBDqazzVnxv91sHTgUqCHXZmxmSLt2A 1NLkCQcso4QTRqpHEBVmvrkmke8KeENc3dFddt asset1 100
{"method":"sendassetfrom","params":["1LKUcxuuBDqazzVnxv91sHTgUqCHXZmxmSLt2A","1NLkCQcso4QTRqpHEBVmvrkmke8KeENc3dFddt","asset1",100],"id":1,"chain_name":"chain2"}
cb32a82e6c452d626b1398bcc74d95f0c727277386e61eff02f479fbf3320d10
Can i start using public,private keys as signing elements in these transactions, how should that be done. Please suggest samples.