How do crypto payment QR codes work, and why do some wallets fill in the amount?
One $25 payment request taken apart under EIP-681, BIP 21 and Solana Pay, what wallets are reported to fill in, and five ways a payment QR code goes wrong.
Press the card to run an example sale.
A crypto payment QR code is a short line of text, a payment request, drawn as squares. When it follows a standard (EIP-681 on Ethereum-style networks, BIP 21 on Bitcoin, Solana Pay on Solana), it can carry the coin, the network and the exact amount, and a wallet that reads the standard fills them in. A wallet that doesn't, or a code that holds only an address, leaves the buyer to type the rest.
That gap is why the same code fills in $25.00 in one wallet and only an address in another. Below, one code for a $25 concert poster is taken apart piece by piece, then written out under each of the three standards, with what a wallet maker's support page and public bug reports say wallets do with it.
What a crypto payment QR code holds
Scan a payment QR with a plain camera app and you see text that starts with a word and a colon: ethereum:, bitcoin: or solana:. That word is a URI scheme, the same idea as mailto: for email. Your phone hands anything starting with it to a wallet app, and the wallet reads the rest as instructions.
Here is the request for a $25.00 poster paid in USDC on Polygon, the way EIP-681 writes a token payment. The recipient is the example address the standard itself uses.
ethereum:0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359@137/transfer?address=0x8e23ee67d1332ad560396262c48ffbb01f93d052&uint256=25000000
Read left to right, it says six things.
ethereum:names the family of networks. Polygon, Base, Arbitrum, Optimism and BNB Chain use the same scheme.0x3c49…3359is not where the money goes. It is the USDC token contract on Polygon, as Circle's list of USDC addresses gives it. EIP-681 says a token payment is "a request to call thetransferfunction of the token contract".@137is the chain ID, the number that means Polygon. Without it, the standard says, "the client's current network setting remains effective", so the wallet would use whatever network it happens to be on./transferis that function.address=0x8e23…d052is the beneficiary, the address that receives the money.uint256=25000000is the amount in the coin's smallest unit. USDC on Polygon has six decimal places, so 25,000,000 units is 25 USDC, which is $25.00.
The address that receives the money sits near the end of the code, after the token contract; a scanner that grabs the first address it sees reads the wrong one.
The same $25 under three standards
Each network family wrote its own standard, and they disagree on one thing that matters: how to write the amount. The table shows the $25 poster under each, with the Bitcoin amount worked out at Coinbase's 28 November 2026 Bitcoin price of $59,203.32, as published in the St. Louis Fed's FRED series CBBTCUSD.
| Standard | The code (example address shortened) | How the amount is written |
|---|---|---|
| EIP-681, USDC on Polygon | ethereum:0x3c49…3359@137/transfer?address=0x8e23…&uint256=25000000 |
Smallest units, an integer |
| BIP 21, Bitcoin | bitcoin:175t…245W?amount=0.00042227 |
Whole bitcoin, as a decimal |
| Solana Pay, USDC on Solana | solana:mvin…f2kN?amount=25&spl-token=EPjF…Dt1v |
Whole coins, scientific notation banned |
BIP 21 says "If an amount is provided, it MUST be specified in decimal BTC", with a period and no commas, so amount=50 means 50 bitcoin. Its replacement, BIP 321, assigned in November 2024, keeps that rule and names a lightning parameter for Lightning invoices.
The Solana Pay specification asks for "a non-negative integer or decimal number of 'user' units", says "Scientific notation is prohibited", and names the token with spl-token, the coin's mint address. Its own example uses EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v, which Circle lists as USDC on Solana. Solana Pay also lets a request carry one or more reference values, which a seller can use to find the payment on the network before it knows the transaction.
EIP-681 goes the other way: integers in the smallest unit, with scientific notation "strongly encouraged". That rule is where most homemade codes break, because the number of decimal places depends on the token, not the coin's name. USDC on Polygon has six. The USDC token on BNB Chain, a bridged version that Circle's list of addresses doesn't include, reports 18 when its contract is asked, so the same $25 is uint256=25000000000000000000 there. A generator that assumes six places everywhere would ask a BNB Chain buyer for 0.000000000025 USDC.
The Bitcoin figure changes with the price; the dollar-coin figures don't, as long as the decimal places match the token.
Which wallets fill in the amount
Whether a scan fills in the amount depends on the wallet. No wallet maker we found publishes a list of the payment-request fields its app reads, so the evidence is one maker's support page and bug reports filed on public trackers, which describe one version at one time.
- Bitcoin.com Wallet writes EIP-681 into its own receive codes. Its support article, written in November 2023, says that if another wallet shows an error on scanning one, "the most likely explanation is that the third-party wallet app hasn't implemented Ethereum Improvement Proposal-681", and that the standard is there partly so users "don't accidentally send a token to the wrong chain".
- MetaMask Mobile reads the amount, according to a bug report on MetaMask's own tracker filed by an outside contributor on 20 October 2026 against version 8.15.0: adding
&uint256=to a link "opens the confirmation screen". The bug reported was the opposite case, links with no amount, and MetaMask closed it as completed on 10 November 2026. - Trust Wallet: a user's report, filed on 10 February 2026 in its wallet-core code repository and still open, says that scanning an EIP-681 token request filled only the recipient: "The token (USDT) is not detected, and the transfer amount is ignored." It says a Solana Pay code's "payment amount and token information are not applied." Trust Wallet hasn't answered it there, and a later comment says the scanner lives in the mobile apps, not that repository.
Even a wallet that reads everything leaves the final say to the buyer. EIP-681 says "the indicated amount is only a suggestion (as are all the supplied arguments) which the user is free to change", and BIP 21 says wallets "MUST NOT act on URIs without getting the user's authorization." A QR code proposes a payment. The buyer still approves it, and can still edit it.
Five ways a crypto QR code goes wrong
Many failed scans come from the code itself, not the wallet. These five follow from what the standards say.
- Address only. A bare
0x…address, orethereum:0x…with nothing after it, names no coin, network or amount. The buyer picks all three by hand, and a payment page watching one network may not see money sent on another. - No token named. Under EIP-681, a code without
/transferasks for the network's own coin: the standard says the amount is then "in the atomic unit (i.e. wei)". Soethereum:0x…?value=25asks for 25 wei of ether, a tiny fraction of a cent, not $25 of USDC. - Wrong decimal places. The BNB Chain example above: one wrong exponent and the request is off by twelve zeros.
- No chain ID. Without
@137or its equivalent, the wallet stays on whatever network it was last using. - A reused or edited code. EIP-681 warns that "changing either the recipient address or the amount transferred can be a profitable attack", and BIP 21's authors say "a unique address should be used for every transaction." A printed code that never changes is easy to swap for someone else's.
When a buyer's wallet ignores the amount, they type it, and a typed amount is one way an underpayment happens. For what to do when the wrong amount arrives, see our article on a customer who sent the wrong amount in crypto.
How to check a payment QR before you share it
A minute with a phone catches every problem above.
- Scan it with the camera app, not a wallet, and read the text. It should start with the scheme for the network you mean.
- Find the receiving address and compare its first and last six characters with the address you expect. On an EVM token request, it is the one after
address=. - Check the chain ID: 137 is Polygon, 8453 Base, 42161 Arbitrum, 10 Optimism, 56 BNB Chain and 1 Ethereum.
- Work the amount backwards from the token's decimal places and make sure it comes to your price.
- Scan it with the wallet your buyers use most and see what it fills in.
To confirm afterwards that the money really arrived, look the address up on the network's block explorer; how to check a sale reached your wallet walks through it.
Why Railbed fits sellers who want the amount filled in
Railbed draws a new payment request for every order, so the buyer's wallet gets the coin, the network and the exact amount without anyone writing a code by hand. On Polygon, Base, Arbitrum, Optimism, BNB Chain and Ethereum, the code is an EIP-681 token transfer with the chain ID and the amount in the token's smallest units, sent to a one-time address made for that payment.
The buyer chooses USDC or USDT and a network, then sees the exact amount, the QR code, a copy button and a link to follow the payment on the block explorer. Send by shows when the checkout closes, and the page updates when the money arrives. To offer it, turn on crypto payments under Settings → Crypto payments, and choose Crypto Checkout under How customers pay when you make a checkout, payment link, invoice, subscription or plan, or keep a Card Checkout and let buyers choose. The crypto payments guide shows each screen, and our guide to creating a crypto payment link covers one-off requests.
Good to know:
- The code asks for the chosen coin, network and exact amount "in wallets that support payment requests". A wallet that doesn't still gets the address, and the buyer copies the amount from the page.
- A payment counts as paid when what arrives is worth at least 85% of the order. Less shows as Needs your decision, marked Underpaid, and you decide. A second, separate transfer isn't added to the first.
- Buyers pay with USDC and USDT today. Bitcoin, Solana and other networks are being turned on one at a time.
- The money goes to your own self-custody wallet. The fees are a 1% network fee, the cost of forwarding to your wallet, and Railbed's crypto fee when yours is above 0%, shown in Settings.
- Test mode shows the same screen with example addresses, where you never send real money: Simulate payment and Simulate underpayment stand in for the buyer.
Give every buyer a code with the amount already in it
Make a Crypto Checkout and try it in Test mode with Simulate payment. In Live, each order gets its own QR code with the coin, network and amount in it, and settles to your wallet.
Create your accountRead the crypto payments guide