<p><code>SendToAddress</code>is a convenience method that handles input selection and building the transaction for you. You don't get any control over which inputs are selected.</p>

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

CC BY-SA 4.0
2018-08-07T07:23:47.160Z
2018-08-07T07:23:47.160Z
Raghav Sood
<p>Can I create, sign and broadcast transaction using <code>sendtoaddress</code> RPC method? And what the between <code>sendtoaddress</code> and (<code>createrawtransaction</code> + <code>signrawtransaction</code> + <code>sendrawtransaction</code>) RPC methods?</p>

<transactions><bitcoin-core>
What the difference between SendToAddress and (CreateRawTransaction + SignRawTrasaction + SendRawTransacrion) RPC methods?
Andr1i
# What the difference between SendToAddress and (CreateRawTransaction + SignRawTrasaction + SendRawTransacrion) RPC methods?

(Asked by: username_0 on 2018-08-07)

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

**Tags:** transactions, bitcoin-core


---

## 1 answers

### Answer by username_1 on 2018-08-07. Score: 1 | Accepted answer

`SendToAddress`is 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.


---

