1

Can I create, sign and broadcast transaction using sendtoaddress RPC method? And what the between sendtoaddress and (createrawtransaction + signrawtransaction + sendrawtransaction) RPC methods?

1 Answer 1

1

SendToAddressis a convenience method that handles input selection and building the transaction for you. You don't get any control over which inputs are selected.

Using the CreateRawTransaction + SignRawTrasaction + SendRawTransaction methods, you can control the exact composition of your transaction, and set the inputs, outputs, and fee with a very high precision.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.