I use createrawtransaction to send bitcoin in testnet, and I want to send many ammout to the same address with json rpc, but the bitcoin-cli report me [duplicated address error]. sometime I want to divide input to many output for the same address in order to send for next time eazily.
bitcoin-cli.exe -testnet -rpcuser=test -rpcpassword=test -rpcport=19888
createrawtransaction "[{\"txid\":\"7a23f88b7e4d2eb9bb4a14192f9c2c44e4f573b6d8fcf772294c236c7e52f188\",\"vout\":1}]" "{\"QTbqygYQKvgCtMA8rWLARN6jpE6Ha2YYsW\":0.10000000,\"QTbqygYQKvgCtMA8rWLARN6jpE6Ha2YYsW\":0.10000000,\"Qg7DfM87ovAVfJdt4CbmjHzeLfSAetrWRx\":0.24805273}"
error code: -8
error message:
Invalid parameter, duplicated address: QTbqygYQKvgCtMA8rWLARN6jpE6Ha2YYsW