Questions tagged [change]

Splitting a transaction and sending some of the coins back to the sender. Necessary for some currencies due to the design of the protocol.

Filter by
Sorted by
Tagged with
1 vote
0 answers
64 views

How to set change address with python bitcoinlib

I am using python's bitcoinlib to try and set up payments where a client sends funds to a server and then sends requests signed with their key as proof that the request came from them. The server ...
Colm Evans's user avatar
3 votes
0 answers
67 views

Setting up to create PSBTs using Bitcoin Core from 10 year old non-deterministic wallet

I have an old wallet from 10+ years ago. It was created using an old version of Bitcoin Core before deterministic wallets were a thing. I have it now on an offline computer that has Bitcoin Core 21.0....
Sarlat's user avatar
  • 31
3 votes
1 answer
403 views

How do I perform a RBF transaction through Bitcoin Core?

I have no knowledge about Bitcoin Core and attempted my first transaction, which failed due to low fee due to a basic math error. (Did not notice it was per kilobyte rather than per byte.) It is ...
user141318's user avatar
0 votes
2 answers
115 views

Why distinguish between receiving address and change address

I see receiving address and change address in wallet client and bip44. Why distinguish between receiving address and change address? What will be the problem if I use only change address chain for ...
MonKong's user avatar
  • 53
1 vote
1 answer
41 views

How to parse out the recipient address of "change" from transactions in tx?

I just read in this page that a transaction typically has two addresses, one for the recipient of a transaction and another for the "change" associated with the transaction. My question is ...
bitcoinluvr6969's user avatar
0 votes
1 answer
60 views

Change addresses in old backups

I have a very old wallet backup, from 2011, from bitcoin-qt, I imported it to bitcoin core, but I seem to have only one address, seems that I have no change addresses in the imported data. Is the ...
Didi Kohen's user avatar
0 votes
0 answers
83 views

how do you use `lncli newaddress` command to get an address from the change chain?

I used my lightning wallet (LND) zpub (BIP32 xpub used to extract the BIP84 zpub) to create a watching wallet in Electrum. (Yes, I checked and the addresses match.) I then sent some coins to some ...
Arman The Parman's user avatar
0 votes
2 answers
94 views

Determining change address

hoping to gain a bit more clarity on how change addresses work here. In the attached example, can the change address be identified with 100% certainty? Is there a potential scenerio where it could be ...
doug's user avatar
  • 1
0 votes
1 answer
42 views

Does high value of change sent back to yourself affect transaction fees? Keep the balance of hot wallet low or high?

I understand that when you are sending bitcoin to someone normally you should send some money back to yourself as change. Normally wallets do this automatically for you.(Wallets normally generate a ...
Vladimir's user avatar
  • 109
0 votes
1 answer
120 views

Sending certain amount of bitcoin from an address

Today I created my very first transaction of bitcoin on the testnet programmatically. I created a wallet A, first generated my private key and I generated a deposit address. I deposited 0.00074 btc ...
Vladimir's user avatar
  • 109
0 votes
1 answer
67 views

How can you tell whether an address was made for CHANGE?

How to tell if an unrecognized, unclaimed address you sent BTC to is actually a "made for CHANGE" address? And if you discover a CHANGE address with unspent $$ in it, how can you retrieve ...
Ra2377ven's user avatar
0 votes
1 answer
148 views

`getaddressinfo` incorrect output for `ismine`

Running Core, trying to verify that I infact control a change address before I sign and broadcast a txn. But I can't find any way to list all future change addresses. I searched and found ...
mikew's user avatar
  • 103
3 votes
1 answer
144 views

Did Satoshi invent UTXOs?

Did Satoshi invent the UTXO model (the concept of "unspent transaction outputs" that are spent fully when invoked, leaving new UTXOs and "change"), or was the UTXO model based on ...
Maximillian Laumeister's user avatar
3 votes
1 answer
374 views

Why are there round numbers after the fees and no change?

I am looking into a cluster of addresses that seem to be repeatedly sending transactions with a round number output and no change. How/why is this happening? For example c809850a2d8b… and 718fd33c7307…...
Shm's user avatar
  • 48
3 votes
1 answer
65 views

Can you have a transaction without a change output?

While reading about the fees here https://metamug.com/article/security/bitcoin-transaction-fee-satoshi-per-byte.html The article said that "In the simplest case, you'll have one input and two ...
igobivo's user avatar
  • 147
2 votes
1 answer
84 views

Why Would Someone Not Use a new Change Address

I have previously asked questions and read about the importance of always using a new address every-time you receive a transaction, even for change. Sometimes when I watch the block explorer I see ...
Prince M's user avatar
  • 340
1 vote
2 answers
79 views

How does change address interact with original address

change address is an additional address inside a wallet, which u can create with a raw transaction with 2 outputs. What I want to know is how does this change address interact with the (for a lack of ...
Keba's user avatar
  • 33
0 votes
0 answers
32 views

What does it mean ''Unconfirmed change may be issued''?

After i send some BTC the left over BTC came back and goes to a new Address in my Wallet, how come ? What does it mean ''Unconfirmed change may be issued'' ?
Rob's user avatar
  • 1
1 vote
0 answers
129 views

listreceivedbyaddress does not return any information about change addresses, is there any alternative?

listreceivedbyaddress does not return info about change addresses (m/84'/1'/0'/1/*) , only about receiving addresses (m/84'/1'/0'/0/*). I've found out that getreceivedbyaddress "address" ...
le0's user avatar
  • 187
1 vote
1 answer
179 views

How to validate the change address in a multisig transaction?

I am using Specter Desktop to create a PSBT for a multisig transaction with some hardware wallets to sign. Part of the PSBT is a change address and I can match what the hardware wallet says to what ...
Jeff's user avatar
  • 21
1 vote
1 answer
73 views

I somehow sent a transaction to my own wallet address

I wanted to make a transaction to a vendor but somehow I made it to my own address? It is yellow color and I put very very low fee. It is unconfirmed yet because of the fees. Should I just increase ...
LexLer's user avatar
  • 11
2 votes
1 answer
257 views

How is the UTXOs of each partially-spent TxIn determined?

My current understanding of a transaction is as follows: a transaction (Tx) can have multiple inputs (which are previous unspent transactions = UTXOs), let's call them the TxIn a Tx can have multiple ...
Jean Monet's user avatar
15 votes
6 answers
4k views

Why is there "Change" in Bitcoins?

I have read about a change address and wondered why there even is the concept of change? Let's say I received 1 BTC from some person A and I want to send 0.4 BTC to another person B, afterwards. From ...
André Kuhlmann's user avatar
0 votes
1 answer
63 views

Can we determine which one of the referenced outputs corresponds to a cashback transaction in BTC transaction scripts?

let me quickly elaborate the question. The structure of a BTC transaction script looks somewhat like the following example "...
user101893's user avatar
1 vote
1 answer
64 views

Why do some addresses seem to send bitcoin to themselves?

When looking at block 630873, I noticed that some addresses seem to send BTC to themselves: Am I misunderstanding the situation, or does 1A7tWftaGHohhGcJMVkkm4zAYnF53KjRnU send large sums of BTC to ...
zabop's user avatar
  • 113
2 votes
1 answer
323 views

Where is the change from the output stored in?

I'm learning that Bitcoin doesn't have a way to represent the account balance, but it's, rather, a sum of UTXO owned by the users of the private key. Then where is the change from the output stored? ...
Kevvv's user avatar
  • 125
3 votes
0 answers
322 views

Verify Receive and Change Addresses

I run a coldcard with Electrum and Electrum-Personal-Server. As I understand it, we use hardware wallets because we don't trust our laptops. However, I've only been able to verify the sending ...
McMurdo's user avatar
  • 31
1 vote
1 answer
1k views

Cannot sign txn with change address using bitcoinjs-lib psbt

I am having a difficult time figuring out how to sign a spend from a change address. I get Error: cannot sign for this input with the key <value>. The initial transaction works fine, where I ...
GViz's user avatar
  • 143
0 votes
1 answer
50 views

Does bitcoin qt need to synch before I can spend my change?

Sorry for the follow up question... i was trying to transfer my btc to a new wallet (believing the original one had been compromised). I sent 2 tiny test transfers of $1 then when they arrived in the ...
Bitcoin poor's user avatar
0 votes
2 answers
580 views

Privacy: How should I handle UTXO's?

We know that, for security and anonymity, we shouldn't reuse addresses. Also, there is the idea of change avoidance to protect ourselves from any number of change detection heuristics. But I find ...
bitsmack's user avatar
  • 131
0 votes
1 answer
82 views

Is a bitcoin UTXO divisible?

In this video Andreas Antonopolous says an output is indivisible and therefore if a transaction smaller than the output is done, the rest is used as change and returned to your different address of ...
ParmuTownley's user avatar
0 votes
1 answer
47 views

How does Internal Keychain exactly work?

I understand that an internal keychain is used to receive a change of payment when I pay someone. For example, I pay $20, but it costs $17, so I get $3. But what I don't understand is how can there ...
Carol Ward's user avatar
0 votes
1 answer
127 views

Why is there sometimes no output that sends funds back to the sender's address?

'A' has one bitcoin. 'A' tries to send a 0.5 bit coin to 'B'. Two utxo are created. First, "utxo" sends "B" 0.5 bitcoin. Second, "utxo" where "A" remits remaining bitcoins to "A" except for 0.5 ...
ASH's user avatar
  • 21
1 vote
1 answer
39 views

wallet that does not abstract change addresses?

I wanted a hands on approach to see change adresses myself instead of hiding away all the details. I also want to see non-deterministic wallets just for education so that I can understand. When we ...
Mini kute's user avatar
1 vote
2 answers
70 views

Get back my change [closed]

Please help. I was new to thew blockchain and did not know about getting change back. when the address to give me my change showed up on my Ledger nano wallet I hit the x instead of the check mark. I ...
Paulmac61's user avatar
1 vote
1 answer
47 views

My bitcoin change [duplicate]

I am new to this.I have sent out bitcoin over the blockchain before and saw that the hash just took a fee. However the other day it took out over.95 of a bitcoin when wanting to only send 0.04 of a ...
Paulmac61's user avatar
1 vote
1 answer
66 views

May it be a risk to use the origin as the change address?

Follow scenario: The balance of my origin address is 1 BTC. I'm transfering 0.1 BTC to a shop where I'm buying some goods, my wallet returns the change to my origin address. Now my origin address has ...
Andreas Winter's user avatar
2 votes
2 answers
501 views

Bitcoin core wallet - got 0 balance after transaction [duplicate]

I did a test lightning transaction by sending 0.00001 btc to some exchange with using bitcoin core 0.16 (downloaded from bitcoin.org and installed to dedicated pc) and... it took the rest balance of ...
Ariloum's user avatar
  • 21
0 votes
2 answers
2k views

Determine which transaction output is a change address and which is not [duplicate]

Is there a way to determine which transaction output is a likely a change address and which is not? Looking at this transaction, there are two outputs - a change address and the output address. ...
Gabriel Bauman's user avatar
4 votes
2 answers
2k views

BIP44 and change addresses

I always wondered why BIP44 HD wallet differentiate between internal change addresses (m/44'/0'/0'/1/*) and external receiving (m/44'/0'/0'/0/*)? Why do some wallets advice me not using internal ...
jakob's user avatar
  • 303
0 votes
1 answer
275 views

Tamper - evident log with hash pointer

We know that the hash of the previous block is included in the header of the next block. So, if an adversary change the data in the block no. 10, then they hash of it will be changed and the header of ...
SayyedAli's user avatar
3 votes
2 answers
5k views

What's with this address 1111111111111111111114oLvT2?

It was the burn address with the most BTC received in 2017 according to http://bitcoinwhoswho.com/blog/2017/12/30/8-97-bitcoins-burned-in-2017/. It's Hash160 is ...
Bitcoin WhosWho's user avatar
0 votes
1 answer
543 views

how to get change address using derived BIP44 publicKey?

I have generated a private key using my master seed private key. PHP Code: $bip44 = HierarchicalKeyFactory::fromExtended($result['masterPrivKey']); $publicKey = $bip44->derivePath("m/44'/0'/0'")...
Adam's user avatar
  • 3,639
1 vote
1 answer
2k views

Is this an incoming or outgoing transaction

I recently looked at this bitcoin transaction: transaction: 3b0e8fae9640e1d043cfef14815c6885e58d71e7ee31cfa53f9c9d5acb138a4d For those who do not want to look at the transaction, I will give a ...
Kyle Graham's user avatar
0 votes
1 answer
158 views

Bitcoin Address Workflow on Spend Leftovers

I need to understand the correct Bitcoin address workflow for transactions. I created an address a while back with a common wallet and sent some coin there. The address is at segwit m/49'/0'/0'/0/0. I ...
Christian Findlay's user avatar
2 votes
1 answer
589 views

bip44 address generation

I am writing hd wallet following bip44. After each transaction, should I create a brand new change address each time? Or can I use the same change address multiple times? What is the recommended ...
Cem Karay's user avatar
0 votes
1 answer
259 views

Who stores your private key?

How does Bitcoin work when someone opens a wallet and gets a private key? Who stores that data? How could you access it if your forgot it? Also, how is it verified when someone exchanges bitcoin and ...
Nacho's user avatar
  • 41
1 vote
1 answer
76 views

Seemingly random transactions on testnet

I'm testing my bitcoin marketplace site using testnet. Sometimes I'll simulate a payment from a buyer to a seller. In this scenario, my site generates a payment address and the fake buyer is supposed ...
Maros's user avatar
  • 139
1 vote
1 answer
159 views

Where does change go when making a transaction from funds imported from a paper wallet?

I'm new to bitcoin and have read numerous articles about it, but I still have questions about how it works. All the articles that I read say the same that, once I spend bitcoin from paper wallet its ...
Katherine's user avatar
  • 133
0 votes
0 answers
59 views

Where is the rest of my bitcoin? [duplicate]

I sent bitcoin from one of my wallets to another wallet using one address (output) then this is what I got only a fraction of my bitcoin the bigger amount went to another unknown address to me https:...
andres salas's user avatar