Skip to main content
£0.00 0

Basket

No products in the basket.

ASIC mining articles and advice

BIP 321 Bitcoin URI Scheme: Modern Payment Link Guide

BIP 321 guide to modern bitcoin URIs, address and query parsing, required parameters, payment methods, decimal amounts, proof of payment and user approval.

BIP 321 URI Scheme guide cover

This guide explains BIP 321 URI Scheme in plain English. It covers the problem behind the BIP, why it matters and whether the proposal is part of Bitcoin today.

TL;DR

  • What it is: BIP 321 is a Complete specification replacing BIP 21 with modern guidance for Bitcoin payment links and QR codes. A bitcoin URI may contain an on-chain address plus query parameters for amount, label, message, proof of payment and alternative payment instructions such as Lightning, BOLT12, private payments or silent payments.
  • Why it matters: BIP 321 modernises Bitcoin payment links without making links trustworthy. Wallet safety comes from strict parsing, exact amounts, required-key handling, visible method selection and explicit approval before any transfer.
  • Current position: BIP 321 is a Complete specification replacing BIP 21 with modern guidance for Bitcoin payment links and QR codes.

BIP 321 URI Scheme in simple English

BIP 321 URI Scheme: The bitcoin scheme is case-insensitive. The path may be a base58, bech32 or bech32m address or empty when a query parameter supplies a payment instruction.

Simple example

A node operator is checking BIP 321 URI Scheme. A wallet should show which method it selected and preserve an on-chain fallback only when provided.

Key terms in plain English

BIP:
Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
Node:
A computer running Bitcoin software that checks data and communicates with other peers.

Status and replacement

BIP 321 is Complete, Specification, at the Applications layer and replaces BIP 21. It standardises payment instructions rather than recipient identity.

General form

The bitcoin scheme is case-insensitive. The path may be a base58, bech32 or bech32m address or empty when a query parameter supplies a payment instruction.

Encoding

Query data outside the permitted character set is encoded as UTF-8 bytes and then percent-encoded. Decode exactly once and reject malformed escape sequences.

BIP 321 URI Scheme technical diagram
Encoding: the fields, validation boundary and operational evidence that implementations need to agree.

Parameters

label, message and pop cannot be duplicated. Unknown ordinary keys must be tolerated, while an unsupported req- key makes the URI unusable.

Payment methods

Defined instruction keys include lightning, lno, pay and sp. A wallet should show which method it selected and preserve an on-chain fallback only when provided.

Amount

The amount is decimal BTC using a period and no commas. Parse as exact decimal or satoshis, enforce range and never use binary floating-point for transfer value.

Authorization and proof

Every payment requires user authorization. Pop or req-pop supplies a callback URI for proof after completion; treat it as untrusted external navigation and disclose privacy effects. Build a revision-pinned evidence pack on an isolated node, wallet or protocol harness. Record source commit, binary hash, network, chain identity, configuration and dependencies.

Frequently asked questions

What is the main point of BIP 321 URI Scheme?

BIP 321 URI Scheme: The bitcoin scheme is case-insensitive. The path may be a base58, bech32 or bech32m address or empty when a query parameter supplies a payment instruction.

For BIP 321 URI Scheme, what should a beginner know about status and replacement?

BIP 321 is Complete, Specification, at the Applications layer and replaces BIP 21.

For BIP 321 URI Scheme, what should a beginner know about general form?

The bitcoin scheme is case-insensitive. The path may be a base58, bech32 or bech32m address or empty when a query parameter supplies a payment instruction.

For BIP 321 URI Scheme, what should a beginner know about encoding?

Query data outside the permitted character set is encoded as UTF-8 bytes and then percent-encoded.

Conclusion

BIP 321 modernises Bitcoin payment links without making links trustworthy. Wallet safety comes from strict parsing, exact amounts, required-key handling, visible method selection and explicit approval before any transfer.

Primary sources

Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.

ASIC MINER PICKS

Recommended ASIC Mining Hardware

Compare three of our highest ranked ASIC miners currently available, with live product details and pricing.
Browse all ASIC miners
MORE MINING ADVICE

More ASIC Mining Articles

Read practical advice about choosing hardware, calculating electricity costs, setting up miners, hosting and maintenance.
MINER COMMUNITY

Join the ASIC Mining Discussion

Ask a question or share what has worked for you. Your experience may help another miner make a better decision.

Members can read and join the discussion

Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.

Log in to read comments Register to join the discussion

Membership helps us protect the discussion from spam and keep answers useful.

ASIC MINING SUPPORT

Need Help Choosing an ASIC Miner?

Tell us what you want to mine, your electricity cost and where the machine will run. We can help you compare hardware, power requirements, hosting and repairs.
Contact our mining team
Browse ASIC miners