Sendassetfrom error

+1 vote
I created two addresses using createkeypairs api and issued one asset to one user. After that i tried sendassetfrom api to send that asset to 2nd user. But its not sending and showing error "Private key for from-address is not found in this wallet". what will be the issue... Please help..
asked Dec 12, 2016 by Chaintest

1 Answer

0 votes

The createkeypairs API does not add the private keys for the addresses it generates into the wallet – it's a utility function for the situation where you're holding your private keys externally. To generate a new address in the wallet you should use getnewaddress.

answered Dec 12, 2016 by MultiChain
...