createrawtransaction online

2

createrawtransaction is a bitcoin-cli command that generates a raw transaction given one ore more transaction ids and a list of Outputs, which are the destination amounts that will receive the funds.

AFAIK, The raw transaction is only based on the blockchain, and does not require any private key or address; the signing process is done separately, using signrawtransaction.

If the createrawtransaction process requires no secret keys, is there a way to generate a raw transaction online, using a web service?

Adam Matan

Posted 2016-07-16T01:34:00.163

Reputation: 547

createrawtransaction is not based on anything. It just converts the arguments you are passing to a hex transaction. It does not need a network connection, or the blockchain, or your wallet. There is even a standalone tool shipped with bitcoind (bitcoin-tx) that can do the same. Why do you need a webservice for it?Pieter Wuille 2016-11-13T17:20:46.367

Answers

1

That's correct, a private key is not required to use createrawtransaction. The private key is only required during the signing process of signrawtransaction just as you stated in your question.

If you are looking for a web service that will allow you to create a raw transaction online, I suggest you check out http://coinb.in it does exactly this, as well as broadcast the transaction, and allow you to save a local copy to sign the transaction offline.

m1xolyd1an

Posted 2016-07-16T01:34:00.163

Reputation: 3 356