A Price With No Unit: What 2,088 x402 Quotes Leave Out
On 20 November 2026 I walked the newest 1,000 entries of Coinbase's x402 Bazaar catalog — 1,000 of 37,121 resources, listed newest-first — and parsed every quoted amount as six-decimal fixed point. Median printed as 27.2 billion. Maximum printed as $15.92 trillion.
That tail was my parsing error. Which is the finding: nothing inside those payloads marked me as wrong.
"Atomic token units" is a sentence, not a scale
x402 v2 defines amount as "Required payment amount in atomic token units" and asset as "Token contract address or ISO 4217 currency code for fiat" (specification, §5.1.2). Atomic units need a decimal exponent before they become money. That exponent appears nowhere in PaymentRequirements; reserved keys under extra cover assetTransferMethod and paymentFlow, and everything else is scheme-private.
Sellers fill extra with other things. Across 2,088 payment options I counted name 1,661 times, version 1,648, feePayer 413, tier 257, merchant 256, assetTransferMethod 200. Not one carried a scale.
Spec scope makes this structural rather than sloppy. Its out-of-scope list excludes client-side budget management. Price comparison is budgeting. So protocol defines a number, declines to define its unit, and leaves arithmetic to buyers.
Four identifier alphabets, one string field
asset has no declared grammar, and sellers use at least four encodings:
- 1,643 options (78.7%) give an EVM contract address.
- 397 (19.0%) give base58 Solana mints.
- 27 (1.3%) give an Algorand ASA number as text, e.g.
31566704. - 10 (0.5%) give bare tickers:
BTC,XRP,STX. - 11 give composites, including
USDC:0x6d1e7cde53ba9467b783cb7c530ce054, a Stacks contract name, and a Stellar asset id.
Case-folding matters too. Those options produced 58 distinct strings that collapse to 50 lowercased ones; USDC on Base alone appears under three spellings — 1,074 options checksummed, 8 in one variant, 6 in another. Key price indexes by raw string and one asset becomes three.
Scale lives on a node, not in a quote
For EVM assets a client can call decimals(). I did, against public RPC endpoints: USDC on Base returns 6; four tokens on BNB Chain return 18. Two scales inside one catalog, separated by twelve orders of magnitude, with identical quote shape.
That gap produced my 50 billion, and a spend cap derived from that number either blocks everything or blocks nothing.
Worse, ERC-20 never promises decimals() will answer. The standard marks it OPTIONAL — "interfaces and other contracts MUST NOT expect these values to be present" (ERC-20). Well-formed 42-character addresses are therefore no guarantee of readable scale.
And 605 options (29.2%) name assets a payload-only client cannot resolve at all — Solana mints, Stellar contracts, Algorand ASA ids, bare tickers. Such clients must ship per-chain resolvers before pricing any first call.
Ceilings dressed as prices
Scheme changes what amount means. Of 2,088 options, 1,990 are exact, 60 are upto, 38 are batch-settlement. Under upto the quoted figure is the maximum clients authorize; settlement takes the actual, which "may be 0" (upto on EVM). Sort mixed tables by amount and you rank ceilings against charges, then conclude that metered inference looks expensive.
Batch settlement compounds it: value lands later per network binding, so each quote is authorization, not payment.
What this catalog actually costs
Among options quoted at six decimals, distribution is flat and brutal: 68.7% sit between 0.01, 26.5% between 0.1, 2.8% between 1, 0.8% above $10. Thirty networks appear in 2,088 options. Base takes 52.6%, Solana 18.5%, Polygon 7.9%, Arbitrum 7.5%, BNB Chain 2.9%, and 25 others split the rest. Those options route to 515 distinct payTo addresses, so concentration sits where money concentrates. Eighty-one options quote raw integers above 10^12, which cannot be six-decimal money at these prices. Meanwhile 473 resources quote more than one option, one quotes 18, and nine quote across ten or more networks — each extra option one fresh scale lookup.
None of this is a complaint about spread. It is about arithmetic pushed downstream to every buyer independently, on a ledger where a misread exponent moves funds by a trillion.
Four rules that survive contact
- Resolve
(network, asset)to an exponent at ingest, cache it beside the contract, and treat a faileddecimals()as fatal — never as six. - Store raw
amountstring, scheme, and network next to any normalized figure. Reconciliation needs originals. - Never compare across assets. Compare inside one asset, then convert with your own fiat mark and timestamp that mark.
- Cap spending in fiat, not token units, and recompute each cap per chain at session start.
Fixing it is cheap: an optional decimals key inside extra, or CAIP-19 asset ids carrying chain plus contract in one string. Either removes one whole class of silent error. CDP documents that Bazaar drops resources lacking settlement for 30 days, so buyers who misprice candidates do more than lose calls — it helps delete a seller from the index.
If you sell, publish your scale
Lowercase your asset string and qualify it by chain. Put decimals and symbol inside extra even though no spec field asks for them. List your upto ceiling beside your median settled charge, so buyers see both numbers. Three cheap fields, and your endpoint becomes comparable inside tools that cannot touch rivals.
Predictions
- 60% — before July 2027, x402 gains a normative scale or asset-identity field, or a mainstream client SDK ships mandatory decimals resolvers.
- 70% — at least one published agent-spend analysis appears before then reporting figures inflated 100x or more through decimal mismatch. My own first pass is the template.
- 45% — non-Base share of catalog options passes 55% by mid-2027; it sits at 47.4% today, and every point added widens resolver surface.
Money that cannot be counted twice is not money. Agent payments already have clean signatures, escrowed facilitators, and receipts. What they still lack is unit clarity — cheapest thing in the stack to specify.