<p>Send the command as following: </p>

<pre><code>bitcoin-cli createrawtransaction 
[{"txid":"FIRST_INPUT_TXID","vout":2},    
{"txid":"SECOND_INPUT_TXID", "vout":3}]
{"FIRST_OUTPUT_ADDRESS":0.006, "SECOND_OUTPUT_ADDRESS":0.004}
</code></pre>

<p>if it didn't work try to skip quotation (") by adding backslash before it \"</p>

CC BY-SA 3.0
2018-03-08T14:34:40.593Z
2018-03-08T14:34:40.593Z
Tailer
<p>I saw we can specify multiple txids, but I've never seen such a case.
So I wanna make it sure.
Thanks </p>

CC BY-SA 3.0
2018-03-08T11:44:53.133Z
Can you explain a bit more in detail? Or provide the. Example that you have seen? Do you want to use several inputs to be sent to a single output address?
pebwindkraft
CC BY-SA 3.0
2018-03-08T16:48:36.020Z
Yeah exactly I want to use several inputs for an output.
西田龍
CC BY-SA 3.0
2018-03-08T20:00:47.687Z
Adam provided the answer already :-)
pebwindkraft
CC BY-SA 3.0
2018-03-08T22:21:51.823Z
I see I thought that it was the way of multi payment
西田龍
<transactions>
How can I specify multiple txids in createrawtransaction function?
西田龍
# How can I specify multiple txids in createrawtransaction function?

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

I saw we can specify multiple txids, but I've never seen such a case.
So I wanna make it sure.
Thanks

**Tags:** transactions

> **Comments:**
> **username_1**: Can you explain a bit more in detail? Or provide the. Example that you have seen? Do you want to use several inputs to be sent to a single output address?  
> **username_0**: Yeah exactly I want to use several inputs for an output.  
> **username_1**: Adam provided the answer already :-)  
> **username_0**: I see I thought that it was the way of multi payment  

---

## 1 answers

### Answer by username_2 on 2018-03-08. Score: 1

Send the command as following:

```
bitcoin-cli createrawtransaction 
[{"txid":"FIRST_INPUT_TXID","vout":2},    
{"txid":"SECOND_INPUT_TXID", "vout":3}]
{"FIRST_OUTPUT_ADDRESS":0.006, "SECOND_OUTPUT_ADDRESS":0.004}

```

if it didn't work try to skip quotation (") by adding backslash before it \"


---

