// Blog

Technical notes for AI agent builders

Tutorials, comparisons and design patterns for building autonomous agents that self-fund, call 345+ models and orchestrate MCP Tools.

An EU report's x402 figure matches a counter frozen for ten months

Roundup, 20 November to 4 December. The EBA's 1 December stablecoin report puts x402 at about 75M transactions and $24M over 30 days in July 2026; neither cited source has that pair, but x402.org's 'Last 30 days' block showed 75.41M / $24.24M in every Wayback capture from 14 December 2025 to 24 October 2026. AWS now settles x402 on the AWS bill: exact on network aws:base, asset iso4217:USD, payTo as a URN, and a seller-side settle that is a no-op. Also: x402 2.33.0 closes a Solana fee-payer isolation gap, and MCP moves its next spec to 30 March 2027 while Events ships as an extension.

9 min read →

x402 on Solana: blockhash hints that expired before they were served

Issue #4578: an x402 seller may put extra.recentBlockhash in its Solana 402, and the TypeScript, Python and Go clients use it whenever it parses, never checking lastValidBlockHeight. On 2026-12-04 we probed 4,898 Bazaar hosts: 918 offered Solana, 37 sent a hint, 22 were fresh on every request and 15 served one fixed expired value, five values across 15 hosts, the oldest 2.68 million blocks past due. A stock @x402/svm 2.33.0 payment built on one of them simulated to BlockhashNotFound, and PayAI's /verify returned the same reason code as for an unfunded wallet. The hint saves about 100 ms in a window of about 32 seconds. We show a zero-RTT client guard and the fixes for clients, facilitators, servers and the spec.

14 min read →

x402 auth-capture on Arc: when the gas token is the payment token

Issue #4554: on Arc, where USDC pays for gas, x402's auth-capture facilitator reports confirmed custom-operator collects as failed, because its balance check forbids any drop in the facilitator's USDC. We re-read the transaction on Arc testnet (0.01 USDC payment, 0.0227 USDC gas, no log for the fee), checked the spec sentence the PRs leave unchanged, and ran eight cases through the SDK harness. PRs #4560/#4561 allow exactly one receipt fee, with correct ceiling rounding. But both SDKs read balances at latest before broadcast and after confirmation, so a second payment into the same operator's token store, a moving payer balance or a second facilitator fee still fails a collect that already confirmed.

17 min read →

x402 transaction-proof: one hash, one request, measured on Base

PR #4545 (opened 2026-12-01, spec-only) adds transaction-proof to x402's exact scheme: the buyer broadcasts an ordinary ERC-20 or native ETH transfer and presents the hash; the facilitator submits nothing and records network:transactionId as spent. We reproduced all five test-vector values and ran a sixty-line /settle against real USDC on a Base fork. Signature binding stops observers and cross-request reuse. The weak spots are elsewhere: an EIP-3009 settlement presented as a proof buys twice unless the store already holds its hash; two payers in one bundle lose to whoever presents first (182 such USDC bundles in two hours on Base, 26 to the same recipient); and the spec's own 300-second example window is shorter than Base's 17-minute finalized lag.

18 min read →

Splits on Solana: spec shipped, the client did not

PR #3968 merged the multi-payee splits section into the x402 exact-SVM spec on 2026-11-24. We unpacked the packages: @x402/svm 2.32.0 (npm, 2026-11-20), x402 2.29.0 (PyPI, same day) and go/v2.32.0 contain no split code at all. A client on 2.32.0 given extra.splits builds one transfer for the full amount to payTo and the facilitator returns isValid: true, so the split recipient is never paid and nobody is told. Two mismatched-mint edges round it out: main never reads splits[].asset (a split naming a different mint builds byte-identical to one that omits the field), and PR #4540 rejects the field outright, so a spec-conformant split that repeats the top-level asset breaks the day it ships.

15 min read →

x402 Builder Codes: The Spec's Own Example Credits Nobody

The builder-code extension appends ERC-8021 attribution to x402 settlement calldata. The spec documents a flat echo; every SDK facilitator reads an info wrapper, so a spec-built client pays and the app gets no credit. We reproduced it in the published TypeScript and Python packages, tested PR #4523, and decoded two hours of Base USDC settlements: 82.4% carry a suffix, 67.1% of CDP's name an app, and attribution per seller is all or nothing.

15 min read →

x402 Has No Purchase Identity, and the Fix Looks Like It Exists

The x402 exact scheme requires every method to declare how it distinguishes a resubmitted payload, and the EVM binding declares none of it. We measured the gap: one purchase, three retries, three charges under the upfront flow, even with the standard payment-identifier extension and a constant id. An intent-derived nonce collapses three attempts to one charge.

18 min read →

Paid only if proven: what a zk proof costs an x402 inference payment

A draft for x402 makes payment release depend on a proof that a pinned circuit mapped the buyer's committed input to the delivered output. We regenerated both verifying keys, proved a 52,650-parameter model on our own hardware, passed the deployed verifiers and broke them with a one-unit change. The condition holds, but a solo proof-gated payment costs 766,226 gas, 76% to 126% of a one-cent price on Base mainnet today, and x402's own clients draw the salt nonce at random, so they cannot opt in.

16 min read →