<p>There is no command that allows you to do that. While there is no network relay or consensus rule that prevents this, the wallet side has its own rules and will prevent you from doing this as it is largely pointless. If you really want to send to the same address multiple times, you will need to create the transaction bytes manually without the use of any of the RPC commands.</p>

CC BY-SA 4.0
2019-04-24T17:36:54.993Z
2019-04-24T17:36:54.993Z
Ava Chow
<p>I came across this transaction and noticed that there's duplicate address for the output part.
<a href="https://live.blockcypher.com/ltc/tx/ada86c7d6f46f712bfa04982f17ce9cd9d4c2560e3493de9c22f8b135ece6cb9/" rel="nofollow noreferrer">https://live.blockcypher.com/ltc/tx/ada86c7d6f46f712bfa04982f17ce9cd9d4c2560e3493de9c22f8b135ece6cb9/</a></p>

<p>When I tested the rpc command "createrawtransaction" to create a transaction that would send to duplicate address in the output, it gave me the error</p>

<p>error code: -8
error message:
Invalid parameter, duplicated address:</p>

<p>Which command to use if I want to send to duplicate address in the output?</p>

<litecoin>
Transaction with duplicate address in the output
Charles
# Transaction with duplicate address in the output

(Asked by: username_0 on 2019-04-24)

I came across this transaction and noticed that there's duplicate address for the output part.
<https://live.blockcypher.com/ltc/tx/ada86c7d6f46f712bfa04982f17ce9cd9d4c2560e3493de9c22f8b135ece6cb9/>

When I tested the rpc command "createrawtransaction" to create a transaction that would send to duplicate address in the output, it gave me the error

error code: -8
error message:
Invalid parameter, duplicated address:

Which command to use if I want to send to duplicate address in the output?

**Tags:** litecoin


---

## 1 answers

### Answer by username_1 on 2019-04-24. Score: 1 | Accepted answer

There is no command that allows you to do that. While there is no network relay or consensus rule that prevents this, the wallet side has its own rules and will prevent you from doing this as it is largely pointless. If you really want to send to the same address multiple times, you will need to create the transaction bytes manually without the use of any of the RPC commands.


---

