Bitcoin URL scheme

19

6

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?

ThePiachu

Posted 2012-10-06T10:30:13.880

Reputation: 41 594

Answers

23

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.

jim618

Posted 2012-10-06T10:30:13.880

Reputation: 3 205

3It'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:&lt;myaddress&gt;?amount=1&amp;message=mymsgKevin Cox 2014-01-13T23:02:16.843

5Not to nitpick, but the acronym "BIP" stands for Bitcoin Improvement Proposal instead of Bitcoin Improvement Process.Priidu Neemre 2015-03-26T15:19:09.190

Apparently the number of decimals in the BTC amount matters. My wallet was rejecting the uri until I reduced the decimals to eight.KalenGi 2016-02-10T08:57:21.577

1Bitcoin-Qt v0.7 for Windows does. Not Mac or Linux yet.Stephen Gornick 2012-10-11T20:56:20.700