BIP 321, URI Scheme, is Matt Corallo's specification for packaging several kinds of Bitcoin payment instructions inside one bitcoin: URI. It retains the familiar payment-link and QR-code format of BIP 21, but accommodates conventional on-chain addresses, Lightning invoices and offers, Silent Payments, and future methods that a sender's wallet might or might not support. The assigned date is 15 November 2024; the canonical proposal merged on 25 April 2025. The maintained BIP was marked Complete when inspected on 3 November 2026, a label introduced by a January 2026 process-wide status conversion rather than proof of universal wallet support. Maintained specification — primary · Original development and merge — direct history · Status conversion — direct history
The interesting historical question is not when Bitcoin acquired clickable payment links. It had them long before BIP 321. It is how one old link format became the meeting place of payment systems with different privacy, discovery and proof-of-payment properties. The BIP describes instructions, not a person, a verified merchant, an on-chain output or a guarantee that two wallets will choose the same method. Motivation, specification and rationale
The format: one doorway, several destinations
A BIP 321 URI begins with bitcoin:. Its path can hold a traditional Base58Check P2PKH or P2SH address, a Bech32 SegWit version-zero address, a Bech32m witness address, or no address. Query parameters can carry additional payment methods. The familiar amount, label and message keys survive from the earlier URI family. An amount is a decimal number of BTC, not satoshis, and must not contain grouping commas. General format, address and transfer amount
The maintained specification lists lightning for a BOLT 11 invoice, lno for a BOLT 12 offer, sp for a BIP 352 silent-payment address, and pay for BIP 351 private-payment instructions. New Bech32 or Bech32m-encoded methods are encouraged to use their human-readable part (HRP) as the query key. Two SegWit instructions can therefore share the bc key. This is a naming rule, not evidence that every wallet understands every key. Query keys and examples
These are schematic, deliberately unpayable shapes rather than working addresses or invoices:
bitcoin:<on-chain-address>?lightning=<invoice> bitcoin:?lno=<offer>&sp=<silent-payment-address> bitcoin:?sp=<silent-payment-address>
The second and third forms omit the legacy on-chain fallback. That is useful for a recipient who does not wish to publish an ordinary reusable output script. A wallet that cannot interpret an offered instruction cannot manufacture support for it from the URI alone; interoperability depends on the concrete sender and receiver software. Address field, query keys, examples and backward compatibility
The parsing rules matter. The bitcoin: scheme and query keys are case-insensitive, while parameter values and addresses may be case-sensitive according to their own formats. Duplicate payment-instruction keys may appear, but duplicate label, message or pop keys must not. Unsupported parameters beginning req- invalidate the request; unknown non-required parameters may be ignored. The maintained text also permits duplicate unknown parameters, rather than silently collapsing every repeated key. These rules affect software behavior even when the graphic shown to a person is simply a QR code. ABNF, query parameter multiplicity and forward compatibility
BIP 321 gives the sender a vocabulary for several supported payment instructions. It does not specify a universal wallet-preference algorithm, a cross-rail atomic payment, or a proof that a merchant accepts a particular fallback. In the archive, the offered alternatives and the actual payment made must remain separate historical facts. Specification and examples
A small correction to the usual BIP 21 origin story
BIP 21, assigned 29 January 2012 to Nils Schneider and Matt Corallo, was itself a revision of Luke Dashjr's BIP 20, following earlier work by Schneider. Its original world centred on Base58 addresses and optional payment details. It did not anticipate Taproot addresses, BOLT 12 offers or silent-payment keys. Yet its life after publication was not frozen in the original 2012 grammar. BIP 21 header and original document · BIP 321 motivation
On 13 March 2014, a direct commit changed BIP 21's grammar from base58 *base58 to *base58, explicitly allowing an empty address for compatibility with BIP 72. It also allowed empty query parameters. The commit message even gave bitcoin:?& as a valid but useless example. This is a useful counterweight to a simplified claim that BIP 321 invented the syntactic possibility of addressless bitcoin: links in 2025. It did not. BIP 321 instead gave modern, named payment methods an explicit place in an addressless request, as well as backward-compatibility guidance. 2014 grammar correction — direct code history · Modern format and backward compatibility
That distinction also explains an apparent tension in the maintained BIP 321 document: its backward-compatibility section describes empty-address support among its changes, whereas the older BIP 21 file already permits an empty address at the grammar level. One is a statement about the new format's intended payment-instruction behavior; the other is a recorded earlier syntax change. Neither independently demonstrates which payment-only combinations any historical wallet would accept. Earlier grammar · Backward compatibility
The intermediate records now have their own archive entries: BIP 20 documents the original X-exponent amounts and private-key send URI, while BIP 21 follows how the replacement actually changed. The first BIP 21 file on 30 January 2012 still carried send; a 31 January revision removed the whole private-key-transfer section. Bitcoin-Qt URI integration had already merged on 26 January. This is a source-history correction to any account that treats the transition as a single clean handover. First BIP 21 file · Private-key handoff removed · Earlier Bitcoin-Qt merge
Why the rewrite became a new number
Corallo opened PR #1555 on 1 March 2024. The practical problem was visible already: wallet implementations had adopted SegWit addresses and Lightning query parameters while the formal BIP 21 language still described an older era. The initial proposal sought to update that established document, rather than split its future from its past. Reviewers disputed that editorial approach. Original proposal and discussion — contemporary first-party
The disagreement concerned authority as much as parser syntax. On 5–6 June 2024, David Harding argued that an author updating a widely referenced, once-final standard with forward-looking choices might gain privileged influence over competing approaches. Corallo argued that implementing software needed one dependable specification rather than a historical document that omitted real practice and offered no direction for future extensions. The comments document their positions; they do not amount to evidence of bad faith by either side. Harding's contemporary concern · Corallo's reply · Further disagreement
Another review concerned the query-key design itself. Contributors debated whether a Bech32m payment string should be offered as a bare parameter or under an explicit key. The eventual language adopted named query parameters and encouraged HRP-based names for future encodings. The archived review is evidence of a design choice, not proof that the alternatives were technically impossible. Early alternative · Response · Maintained query-key rule
The resolution was to preserve BIP 21's history and give the replacement BIP 321 its own number. The replacement's assigned date is 15 November 2024, although its first public review began earlier. On 4 April 2025, the PR gained commits copying BIP 21 to the new file and updating it with modern address types; the canonical merge followed on 25 April 2025. Those are three different archival milestones: first proposal, assignment, and acceptance into the BIPs repository. Original PR · File split · New format draft
A callback that must not become a tracking link
BIP 321 also formalises an optional pop or required req-pop query parameter for communicating payment information back to the application that initiated a payment. The initiating application supplies a percent-encoded URI prefix. After a payment, the wallet can append the selected payment-method key and method-specific information, then open the resulting URI with the local operating-system handler. For a payment using the address in the URI body, the method key is onchain. Proof of Payment specification and examples
For an on-chain payment, the standard describes returning the complete serialized transaction, including witness data, encoded in hex. For a BOLT 11 payment, it describes returning the hex-encoded payment preimage. These are different forms of evidence; in particular, a payment preimage is not a Bitcoin transaction and does not establish its own merchant-side accounting state. The BIP does not define an identical proof format for every possible payment mechanism. Payment Information formats
The callback has a deliberately narrow security boundary. A wallet must not open http, https, file, javascript, mailto or another scheme that would open a web browser as a proof URI. The rationale is to avoid quietly revealing the sender's network address or other information to a site reached through a payment request. A normal pop that cannot be used safely can be ignored while making payment; an unsupported or unsafe req-pop means the wallet must not initiate the payment. Callback safety and required behavior
Corallo explicitly invited review of the IP-leak trade-off on 21 October 2024. The discussion considered whether web callbacks could be useful, including for Tor or I2P services, before the maintained BIP retained the local-application restriction. This was a contemporary design debate, not a report of a recorded exploit. Even a permitted custom URI scheme still requires software to treat untrusted payment and callback contents carefully; the prohibition alone does not audit installed applications. Author's security question · Later rationale · Maintained safety rule
The older remote-request link was a different kind of fallback
BIP 72 used an r parameter to point at a remote BIP 70 merchant request. Its earliest 2013 Git record called the parameter request=; it became r= in December to shorten QR codes. A wallet implementing BIP 72 was directed to ignore any address and amount in the link and follow the fetched request, while an older wallet could ignore r and use the on-chain address. An addressless bitcoin:?r=... link intentionally removed that older compatibility path. First file · Parameter rename · Specification
BIP 321's multiple-method instructions are a later, different design. They should not be described as proof that BIP 70 remained supported: Bitcoin Core disabled BIP 70 by default in version 0.19 and removed it in 0.20.0 on 3 June 2020, years before BIP 321 merged. The existing BIP 72 title and Deployed repository status do not constitute evidence of continuing support in that software. Bitcoin Core 0.19.0.1 · Bitcoin Core 0.20.0 · BIP 72 maintained status
A transaction-construction option is not another payment rail
Payjoin illustrates another distinction within Bitcoin payment links. The pj= endpoint (and optional pjos=0 restriction) offers a way for payer and recipient to construct an on-chain transaction together; it is not another payment rail like Lightning or a Silent Payments destination. The older BIP 79 used bpu= rather than pj=, while Async Payjoin later proposed mailbox-assisted negotiation. A reader must separate the choice advertised in a URI from the actual transaction a compatible wallet negotiated and broadcast. BIP 78 — URI and protocol · BIP 77 — Async Payjoin
Record of changes
bitcoin: payment link. Original document and headerNames, outputs and what a QR cannot attest
BIP 353 can use DNSSEC to authenticate the lookup of a bitcoin: URI from a human-readable payment name. BIP 321 describes the resulting URI and its payment methods. BIP 352 describes how a sender derives an output from a reusable silent-payment instruction; Lightning has still different settlement evidence. None of these layers, even combined, proves the real-world identity of a recipient or identifies a particular Ordinals inscription's rightful destination. For Bitmap or another metaprotocol, validation of a claim and tracking of the underlying UTXO remain independent concerns. DNS instruction layer · Payment-URI scope · Silent Payments
This distinction has a mundane but powerful consequence for the archive: a screenshot of a payment QR is evidence of an offered instruction, not necessarily evidence that money arrived, which path the sender selected, or who controlled the receiving key. A recipient name, a payment URI, a transaction and a later asset interpretation deserve their own provenance.
Open research
Find release-tagged wallet interoperability tests for mixed on-chain/Lightning/BOLT 12/Silent Payments URIs, including repeated method keys, absent address fields, case-insensitive query keys and unknown required parameters. Do not treat a library's parser tests as evidence about every integrating wallet.
Audit released handling of
pop and req-pop, especially URI-scheme filtering, system-handler selection, parameter encoding and disclosure to other local applications. A standard's safety rule is not proof that a deployed wallet enforces it.Reconstruct BIP 20, BIP 21 and BIP 72's early payment-request design using date-stamped source and client tests; distinguish syntactic empty-address acceptance from practical interoperability with payment-only queries.
Check concrete BIP 353 resolver implementations for which BIP 321 query instructions they actually recognize; a valid DNSSEC response and a recognized payment method are separate steps.
Evidence status
The BIPs files, dated commits and PR merges cited above are direct specification and repository-history evidence. The 2024 comments are contemporary first-party design positions, not a single collective consensus transcript. The maintained BIP's compatibility assertions and listed reference implementation are specification claims, not a cross-product release audit by this archive. The distinction between QR instructions, settlement, identity and metaprotocol interpretation is archivist analysis. No published exploit, complete wallet-adoption census or independent QR implementation test is claimed here.