Author

Topic: Split bitcoin payment (Read 629 times)

copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
December 17, 2016, 06:04:45 AM
#8
-snip-
I am try find the way have some part of money from transaction and rest send to address.
Not sure how it can be done.

This is a normal wallet process called change, every wallet can do it and most APIs do it for you when you issue a payment.
jr. member
Activity: 43
Merit: 2
December 17, 2016, 05:25:22 AM
#7
Now that I think about it, you referred the outputs as different transactions.
Just in case that you're not aware, a transaction can have more than one output addresses. An input can't be used in multiple transactions but you can "split" the bitcoins from one input to many multiple addresses in a single transaction. Most wallets does this automatically with change addresses.

You really don't need any script to split the coins unless you're looking for a way to make transactions automatically.

You are true.
But i am searching for automation.

Its probably possible with the bitcoin core build in API or any other API. The question is why, as this would increase the UTXO set and result in higher fees for you over time.

I am try find the way have some part of money from transaction and rest send to address.
Not sure how it can be done.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
December 17, 2016, 05:15:44 AM
#6
Now that I think about it, you referred the outputs as different transactions.
Just in case that you're not aware, a transaction can have more than one output addresses. An input can't be used in multiple transactions but you can "split" the bitcoins from one input to many multiple addresses in a single transaction. Most wallets does this automatically with change addresses.

You really don't need any script to split the coins unless you're looking for a way to make transactions automatically.

You are true.
But i am searching for automation.

Its probably possible with the bitcoin core build in API or any other API. The question is why, as this would increase the UTXO set and result in higher fees for you over time.
jr. member
Activity: 43
Merit: 2
December 17, 2016, 04:31:54 AM
#5
Now that I think about it, you referred the outputs as different transactions.
Just in case that you're not aware, a transaction can have more than one output addresses. An input can't be used in multiple transactions but you can "split" the bitcoins from one input to many multiple addresses in a single transaction. Most wallets does this automatically with change addresses.

You really don't need any script to split the coins unless you're looking for a way to make transactions automatically.

You are true.
But i am searching for automation.
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
December 17, 2016, 04:29:10 AM
#4
Now that I think about it, you referred the outputs as different transactions.
Just in case that you're not aware, a transaction can have more than one output addresses. An input can't be used in multiple transactions but you can "split" the bitcoins from one input to many addresses in a single transaction. Most wallets does this automatically with change addresses.

You really don't need any script to split the coins unless you're looking for a way to make transactions automatically.
jr. member
Activity: 43
Merit: 2
December 17, 2016, 03:53:55 AM
#3
If I understood you correctly, you wish to use 1 input in 2 different transactions? That's not possible (only one transaction can get confirmed).

I know that is possible do the script in transaction and after the transaction is done, can be next two transactions.
just split the transaction in any way.
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
December 17, 2016, 03:47:14 AM
#2
If I understood you correctly, you wish to use 1 input in 2 different transactions? That's not possible (only one transaction can get confirmed).
jr. member
Activity: 43
Merit: 2
December 17, 2016, 03:40:33 AM
#1
Is here any open source software / script to split bitcoin transaction into two?

IN transaction 1 - OUT transaction A, transaction B

transaction A is predefined address with predefined amount.
transaction B is the rest of money and variable address (anytime other).

Thank you.
Jump to: