<p>The payment protocol (see BIP 70-72) will support attaching messages to transactions.</p>

<p>Note that these messages do not end up in the blockchain, which is the right way to do it, as they are private information between sender and receiver - no need to make the entire world replicate it.</p>

CC BY-SA 3.0
2017-03-04T19:00:06.323Z
where does these messages get stored and how are they being processed to be sent to the recipient? If its sent via email, who is sending the email and doesn't that mean the merchant have to have something in place to send these emails?
Patoshi パトシ
CC BY-SA 3.0
2018-04-07T14:38:59.443Z
They're in the sender and the receiver wallet, and the message is communicated through whatever means is used to convey the payment request. A better response to this question these days is how Lightning payments also can have messages associated, even though there is not even a transaction on chain for the payment.
Pieter Wuille
CC BY-SA 3.0
2014-03-12T00:40:07.423Z
2014-03-12T00:40:07.423Z
Pieter Wuille
<p>If you are just looking to encode a message into the URI, then look at <a href="https://github.com/bitcoin/bips/blob/master/bip-0020.mediawiki" rel="noreferrer">BIP 20</a>. If you want to actually associate the message in the block chain, then I would take a look at <a href="https://bitcoin.stackexchange.com/questions/31972/how-to-add-additional-information-to-transaction/31976">this stack overflow question</a>. </p>

CC BY-SA 3.0
2014-10-15T15:18:53.727Z
2014-10-15T15:18:53.727Z
2017-04-13T12:47:33.660Z
morsecoder
<p>Technical details of how to do this are dicussed here. 
<a href="https://bitcoin.stackexchange.com/search?q=encode+message+in+the+block+chain">https://bitcoin.stackexchange.com/search?q=encode+message+in+the+block+chain</a>
The best way seems to be using the transaction output script. </p>

<p>Blockchain.info has this capabilities in it's wallets. Not sure what other wallets allow it.  </p>

CC BY-SA 3.0
2014-02-09T23:57:02.630Z
2014-02-09T23:57:02.630Z
2017-04-13T12:47:36.707Z
user448903
<p>Is it possible to send bitcoins with an attached message with the transaction? If yes how to do it?</p>

CC BY-SA 3.0
2014-01-05T19:35:59.527Z
have you tried to send a transaction with a message in bitcoin-qt?
V-X
CC BY-SA 3.0
2014-01-05T19:50:53.597Z
yes. but I couldn't figure out how
Sathish Manohar
CC BY-SA 3.0
2014-01-05T19:59:48.127Z
[isn't there something like this?](http://i.imgur.com/aZjRyKX.png)
V-X
CC BY-SA 3.0
2014-01-05T20:37:16.953Z
@V-X That creates a signed message, but the question is about whether you can attach that signed message to a transaction.
David Schwartz
CC BY-SA 3.0
2014-01-05T21:20:17.600Z
I believe there are some chains that allow that. I'm not sure if it has been merged upstream to bitcoin or not. I know I've been discussing ways to do messaging within a coin blockchain (vs bitmessage). You could use a blockchain.info wallet and send a message over blockchain.info.
Joe White
CC BY-SA 3.0
2014-03-12T00:57:55.693Z
Bitcoin transactions are not supposed to contain messages; only what is necessary for the world to validate your transaction. The rest is private information between you and the receiver, and just spam to the rest of the world.
Pieter Wuille
CC BY-SA 3.0
2014-10-15T08:42:23.000Z
If you really have to do this, then please use [OP_RETURN](http://bitcoin.stackexchange.com/questions/28186/nulldata-transaction-information).
knaperek
<bitcoind><client><bitcoin-core>
How to send bitcoin with a message attached
Sathish Manohar
# How to send bitcoin with a message attached

(Asked by: username_0 on 2014-01-05)

Is it possible to send bitcoins with an attached message with the transaction? If yes how to do it?

**Tags:** bitcoind, client, bitcoin-core

> **Comments:**
> **username_1**: have you tried to send a transaction with a message in bitcoin-qt?  
> **username_0**: yes. but I couldn't figure out how  
> **username_1**: [isn't there something like this?](http://i.imgur.com/aZjRyKX.png)  
> **username_2**: @username_1 That creates a signed message, but the question is about whether you can attach that signed message to a transaction.  
> **username_3**: I believe there are some chains that allow that. I'm not sure if it has been merged upstream to bitcoin or not. I know I've been discussing ways to do messaging within a coin blockchain (vs bitmessage). You could use a blockchain.info wallet and send a message over blockchain.info.  
> **username_4**: Bitcoin transactions are not supposed to contain messages; only what is necessary for the world to validate your transaction. The rest is private information between you and the receiver, and just spam to the rest of the world.  
> **username_5**: If you really have to do this, then please use [OP_RETURN](http://bitcoin.stackexchange.com/questions/28186/nulldata-transaction-information).  

---

## 3 answers

### Answer by username_4 on 2014-03-12. Score: 19

The payment protocol (see BIP 70-72) will support attaching messages to transactions.

Note that these messages do not end up in the blockchain, which is the right way to do it, as they are private information between sender and receiver - no need to make the entire world replicate it.

> **Comments:**
> **username_6**: where does these messages get stored and how are they being processed to be sent to the recipient? If its sent via email, who is sending the email and doesn't that mean the merchant have to have something in place to send these emails?  
> **username_4**: They're in the sender and the receiver wallet, and the message is communicated through whatever means is used to convey the payment request. A better response to this question these days is how Lightning payments also can have messages associated, even though there is not even a transaction on chain for the payment.  

---

### Answer by username_7 on 2014-10-15. Score: 6

If you are just looking to encode a message into the URI, then look at [BIP 20](https://github.com/bitcoin/bips/blob/master/bip-0020.mediawiki). If you want to actually associate the message in the block chain, then I would take a look at [this stack overflow question](https://bitcoin.stackexchange.com/questions/31972/how-to-add-additional-information-to-transaction/31976).


---

### Answer by username_8 on 2014-02-09. Score: 3

Technical details of how to do this are dicussed here.
<https://bitcoin.stackexchange.com/search?q=encode+message+in+the+block+chain>
The best way seems to be using the transaction output script.

Blockchain.info has this capabilities in it's wallets. Not sure what other wallets allow it.


---

