What is the URL scheme that is used by Bitcoin to copy transaction information directly into the client? Which versions of Bitcoin clients support it?
Asked
Active
Viewed 1.5k times
2 Answers
31
The Bitcoin Improvement Proposal that defines the Bitcoin URI scheme is BIP21.
The simple syntax is:
bitcoin:<address>[?amount=<amount>][?label=<label>][?message=<message>]
On the desktop all of Armory, Electrum and MultiBit respond to Bitcoin URI clicks in a browser and I believe Bitcoin-QT V0.7 does as well.
On mobiles Android Bitcoin Wallet does. On the iPhone the blockchain.info app does.
-
1Bitcoin-Qt v0.7 for Windows does. Not Mac or Linux yet. – Stephen Gornick Oct 11 '12 at 20:56
-
4It's important to note that although it isn't specified in the simple syntax, '?' after the first are changed to '&' as in regular URLs. For example: `bitcoin:
?amount=1&message=mymsg` – Kevin Cox Jan 13 '14 at 23:02 -
7Not to nitpick, but the acronym "BIP" stands for *Bitcoin Improvement Proposal* instead of *Bitcoin Improvement Process*. – Priidu Neemre Mar 26 '15 at 15:19
-
Apparently the number of decimals in the BTC amount matters. My wallet was rejecting the uri until I reduced the decimals to eight. – KalenGi Feb 10 '16 at 08:57
2
I think you need something like this
<a rel="payment" href="bitcoin:bitcoin_address_is_here?amount=5.00?message=payment to site name"><h2>Pay in Bitcoin now</h2></a>
Meshach Friday
- 21
- 1