publishfrom VS createrawsendfrom commands

+1 vote
I want to apply steps of normal blockchain process mentioned in  [create transaction - sign transaction - broadcast transaction ] but somehow I am confused of using commands publishfrom or createrawsendfrom in the first step [creation].
asked Jun 24, 2018 by mina

1 Answer

+1 vote

If you want to use an external private key, you cannot use the publishfrom API, because this builds and signs the transaction in a single step, which is not possible if the private key is not in the node's wallet. Instead you should use the createrawsendfrom API as explained in that tutorial.

answered Jun 25, 2018 by MultiChain