Splits on Solana: spec shipped, the client did not
Multi-payee splits merged into x402's Solana scheme on 2026-11-24. No package you can install today can execute one, and the protocol has no way to tell a seller that.
On 2026-11-24 at 10:24 UTC, PR #3968 merged into x402: 53 files, +7,945/−291, ten commits, authored by Ludo Galabru. It implements section 5 of the Solana exact binding across TypeScript, Go and Python — one payment, up to eight extra recipients, each leg an absolute carve-out from the quoted total.
The specification text landed a month earlier. PR #3221 opened 2026-08-21 and merged 2026-10-26 at 20:39 UTC, +206/−16. We modeled that draft in the earlier post on this scheme. A documentation PR followed the implementation by 38 minutes (#4408, merged 11:02 UTC).
So the spec, the code and the docs are all in main. The artifacts people actually run are not.
The release train did not move
Here is the artifact timeline, read on 2026-12-01 from the registries themselves.
// @x402/svm on npm
2.30.0 2026-11-04T20:08:47Z
2.31.0 2026-11-12T22:13:45Z
2.32.0 2026-11-20T18:40:53Z // latest; splits merged 4 days later
// x402 on PyPI
2.27.0 2026-11-04T20:03:25
2.28.0 2026-11-12T22:19:18
2.29.0 2026-11-20T19:01:27 // latest
// Go, annotated tag go/v2.32.0
tagger Philippe d'Argent, 2026-11-20T18:40:21Z
Three ecosystems, one tag date, zero releases since. The gap is structural, not accidental: the split changeset is "@x402/svm": minor, so the next publish is 2.33.0, and nothing has been published in the eleven days since 2.32.0.
We unpacked each artifact rather than trusting the version number.
@x402/[email protected]from npm:grep -r maxSplits dist/returns nothing. Neither doesataCreationRequired.x402==2.29.0from PyPI: 21 files undermechanisms/svm/, none of themsplits.py.go/v2.32.0: a program importinggithub.com/x402-foundation/x402/go/v2/mechanisms/svmand callingsvm.ParsePaymentLegsfails to build —undefined: svm.ParsePaymentLegs.
main, tells you what the protocol will do. It does not tell you what your process does tonight.
What a published client does with extra.splits
We installed @x402/[email protected] and @x402/[email protected] from npm, generated four keypairs, and handed the client requirements with one split: total 1,050,000 base units, 50,000 to a platform address, 1,000,000 remainder to the merchant.
const requirements = {
scheme: "exact",
network: "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
asset: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
amount: "1050000",
payTo: merchantAddress,
maxTimeoutSeconds: 60,
extra: {
feePayer: feePayerAddress,
splits: [{ payTo: platformAddress, amount: "50000", memo: "platform fee" }],
},
};
// @x402/svm 2.32.0, ExactSvmScheme#createPaymentPayload
const { payload } = await new ExactSvmClient(payer).createPaymentPayload(2, requirements);
One TransferChecked came out: 1,050,000 to the merchant's token account. No transfer to the platform. The payload verified.
transfers built by 2.32.0 client:
[{ amount: "1050000", dest: "6PzbW6TCfuH4cMS37EMwvhy8ui6LUADC8NhnjCeqCYAG" }]
facilitator verdict (2.32.0 ExactSvmScheme.verify):
{ isValid: true, payer: "J1gmZZwzkavr5NP8y8EHimn6AiAZ9iSYM6XibGXmoWjT" }
Both halves are behaving as written. The client was asked for "at least amount of asset to payTo" and delivered 1,050,000 to payTo. The facilitator checked exactly that. Under sections 1 through 4 of the binding, the payment is correct. Section 5 never runs, because 2.32.0 cannot parse it.
The seller has no signal for this. On 2.32.0, getExtra() reports only the fields it knows:
// ExactSvmScheme (facilitator) #getExtra, even constructed with maxSplits and ataCreationSponsored
{ "feePayer": "Gzr8ZsiuRFdJBggdNx6RzuNHSVEidHjhxaE426qU9VWh", "transactionVersions": [0, 1] }
And enhancePaymentRequirements — the server-side call that section 5.5 turns into a MUST ("A Resource Server MUST NOT issue splits the selected facilitator does not advertise") — copies the splits array straight through on 2.32.0. No capability check, no error, a 402 that quotes terms nobody downstream will read.
Read that against what main does with the same inputs. Same call, built from 32272f2:
SERVER advertises nothing: THREW split_count_exceeded (1 splits, facilitator accepts 0)
SERVER maxSplits 0: THREW split_count_exceeded
SERVER maxSplits 8: OK extra.splits forwarded
SERVER maxSplits 8, leg marked
ataCreationRequired: THREW split_ata_creation_not_authorized
That is the correct behavior, and it is why the release gap is not merely cosmetic. On main a misconfigured seller fails at the 402, before the buyer signs anything. On 2.32.0 the same misconfiguration produces a payable 402 whose money never reaches the second address.
The capability advertisement fails closed, which is the useful part
Section 5.5 puts split support in kinds[].extra of /supported, next to feePayer:
{
"x402Version": 2,
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"extra": {
"feePayer": "EwWqGE4ZFKLofuestmU4LDdK7XM1N4ALgdZccwYugwGd",
"maxSplits": 8,
"ataCreationSponsored": true
}
}
Absent maxSplits means zero. Absent ataCreationSponsored means false. The spec is explicit about why: "a Sponsor that predates this extension advertises neither key, and that MUST be read as no support."
That rule makes the release gap visible to anyone who probes. We called the /supported endpoint of three live facilitators on 2026-12-01 and looked at the Solana kinds.
facilitator.payai.network 38 kinds, 6 Solana
svm extra keys: batchPolicy, experimental, feePayer,
lastValidBlockHeight, recentBlockhash, transactionVersions
maxSplits advertised: [none ×6]
ataCreationSponsored: [none ×6]
facilitator.ultravioletadao 172 kinds, 4 Solana
svm extra keys: feePayer, tokens
maxSplits advertised: [none ×4]
ataCreationSponsored: [none ×4]
x402.org/facilitator 11 kinds, 2 Solana (403 to our second pass)
svm extra keys: feePayer, transactionVersions, features
Nobody advertises splits. Under section 5.5 that means nobody accepts them, and a seller on main pointed at any of these three gets split_count_exceeded at challenge time. The failure closed before the buyer signed.
The same silence reaches the catalog. We paged the CDP Bazaar listing on 2026-12-01 — GET /platform/v2/x402/discovery/resources?limit=1000&offset=… — and pulled all 91,843 resources.
resources 91,843
hosts 3,529
accepts 234,998
eip155 171,022
solana 59,012
xrpl 2,273
stellar 1,213
algorand 933
accepts with `splits`, `maxSplits` or `ataCreationRequired` in extra: 0
Zero. Not zero Solana splits — zero split terms on any network, in a catalog where splits had been merged into the spec for 36 days and into the code for 7.
Two mint edges that outlive the release
Releasing 2.33.0 fixes the missing code. It does not fix the field the schema leaves underspecified. Section 5.1 defines eleven constraints on a split entry — payTo, amount, memo, ataCreationRequired — and states the mint rule in prose: "Every split shares the top-level asset; a split MUST NOT name a different mint."
Nothing in the published table says whether a split entry may carry an asset field, or what to do if it does. All three parsers in main answer by ignoring it. We built the same payload three ways against 32272f2:
CASE split asset = other mint (mainnet USDC vs devnet): BUILT bytes=521
CASE split asset omitted: BUILT bytes=521
CASE split asset = null: BUILT bytes=521
BYTES mixed=521 omitted=521 identical=true
Byte-identical. A split declaring a different mint produces exactly the transaction a split with no asset field produces, because parsePaymentLegs never reads the field. The primary mint drives every leg's ATA derivation and every TransferChecked.
That is the least harmful of the two failures. A seller that meant to pay in a second token gets a transaction in the first token, and the facilitator's leg-matching (also keyed on requirements.asset) accepts it. Money moves; it just moves in the wrong asset.
The other reading of the same paragraph is the one that costs a release cycle. PR #4540, opened 2026-11-30 by Ludo Galabru, adds three lines to parsePaymentLegs:
if ("asset" in split && split.asset !== requirements.asset) {
throw new SplitsError(Errors.ErrSplitsInvalid, `${field}.asset must match asset`);
}
Read the condition. "asset" in split is true whenever the key is present, and the comparison is strict. A split that repeats the top-level asset — which is what the spec's sentence "every split shares the top-level asset" invites an implementer to write — now throws invalid_exact_svm_splits_invalid. So does asset: null, which main currently tolerates.
We ran our probe against head 05c0ed7 to confirm:
[main 32272f2] [PR 4540, 05c0ed7]
other mint: BUILT other mint: THREW invalid_exact_svm_splits_invalid
omitted: BUILT omitted: BUILT
same mint: BUILT same mint: BUILT
null: BUILT null: THREW invalid_exact_svm_splits_invalid
The PR's own test asserts the tolerant case ("accepts a split naming the top-level asset"), so the author's intent is clear: present-and-equal passes, present-and-different fails. The window it opens is for anyone who read the spec as "the field is redundant, so send it". They will build fine today and break on the upgrade.
asset. That gap is what PR #4540 has to resolve in code, and it is what a conformance vector should have caught before either shipped.
The PR status as of 2026-12-01 09:00 UTC: open, mergeable, mergeable_state: "unstable", two conversation comments, zero inline review comments, zero submitted reviews. Its tests pass: all 62 cases in exact.splits.test.ts pass on main, and the PR adds cases for exactly the two behaviors our probe reproduced — a different mint and a null mint now reject, a split naming the top-level asset still builds.
The two ceilings a seller has to plan around
Section 5 grows the transaction in two directions at once. The spec names one: "The practical maximum may be lower than eight splits: the transaction MUST still fit the size limit of its message version." The other is the compute budget in §2.2.1, and it binds first. We measured both on main, building real payloads with an 8-byte extra.memo and a distinct recipient per leg.
n bytes cuLimit creates bytes cuLimit creates
(no ATA creation) (every leg marked)
0 472 20,000 0 578 60,000 1
1 521 35,000 0 669 115,000 2
2 570 50,000 0 760 170,000 3
4 668 80,000 0 942 280,000 5
6 766 110,000 0 1,124 390,000 7
7 815 125,000 0 1,215 400,000 8
8 864 140,000 0 THREW: 1,306 bytes, over the 1,232-byte limit
Size is the ceiling everybody plans for. Eight splits with no account creation fit in 864 bytes, comfortably inside 1,232. Eight splits with every recipient's ATA created needs 1,306 and the client refuses before signing. Seven is the largest that fits.
Compute is the ceiling the spec's own defaults impose, and it binds one step earlier than I expected. The client computes its budget the way the spec's reference numbers suggest:
computeUnitLimit = min(400_000,
20_000 + (legs - 1) * 15_000 + creates * 40_000)
With eight splits and nine marked recipients the formula asks for 500,000; the min clamps it to 400,000. The transaction builds, and the budget it carries no longer reflects the instructions inside it. A charge short of compute fails at simulation, which a seller discovers from a simulation rejection rather than from its own arithmetic. Section 2.2.1's reference ceiling is a SHOULD, so an operator that wants eight sponsored splits has to raise it deliberately — and then pay the fee exposure that ceiling existed to bound.
len(splits) + count(ataCreationRequired) against both budgets before it writes the 402: 1,232 bytes for a version-0 message (4,096 for version 1) and 400,000 CU at the reference ceiling. Seven splits with full sponsorship is the largest charge that satisfies both with the current constants.
The wire cost is a separate number a buyer pays. A single-payee charge with an 8-byte seller memo serializes to 472 bytes of transaction; the PaymentPayload envelope around it is 1,119 bytes of JSON, and the PAYMENT-SIGNATURE header carrying its base64 is 1,492 bytes. The PAYMENT-REQUIRED header the seller sends first is 648 bytes. Splits add roughly 49 bytes of transaction per leg and, because accepted repeats the requirements, more than that to the envelope.
Why a five-thousand-line change waits eleven days
Nothing in the merge looks stuck. #3968 carries a changeset, a full test file in each of three languages, and eleven review events between 2026-11-05 and 2026-11-24 — ten comments and a final APPROVED from Philippe d'Argent at 10:24:01 UTC, seventeen seconds before the merge. It is not blocked on review. It is blocked on a release, and a minor bump for a mechanism package is a coordinated act: @x402/svm 2.33.0, x402 2.30.0 on PyPI, go/v2.33.0, plus whatever the other mechanism packages do in the same window.
The repository's own cadence explains the rest. The last release, 2.32.0, went out 2026-11-20 with a tag signed by Philippe d'Argent at 18:40 UTC. In the eleven days since, 66 pull requests have merged into main. Here is what is queued behind the tag, from the changeset directory:
typescript/.changeset/svm-exact-splits.md minor #3968
typescript/.changeset/svm-batch-close-payout-attribution.md patch
typescript/.changeset/svm-batch-channel-manager-per-channel-terms.md minor breaking
typescript/.changeset/svm-batch-last-valid-block-height.md patch
typescript/.changeset/svm-batch-redemption-resync.md patch
python/x402/changelog.d/3968.feature.md
The channel-manager changeset is labeled breaking: createChannelManager drops its requirements argument. So the next @x402/svm publish is not "splits" — it is splits plus a breaking signature change on a different scheme, in the same minor. Every seller planning an upgrade should read both.
What this means for LLM4Agents
Our gateway settles per call through x402 and prices each request in a single stablecoin. Splits change the shape of a quote: the amount the payer signs is no longer the amount the seller keeps, and the difference is expressed in a field the agent's client library may not parse.
Three concrete exposures, in order of severity:
1. A seller route that quotes splits on a 2.32.0 client is an unfunded promise. The probe above is the whole bug: the agent pays, gets a 200, and the revenue share never moves. We do not emit extra.splits today, and this audit is the reason to keep it that way until the client line reports split support back. There is no protocol-level acknowledgement from the payer; the only defense is to price what the facilitator actually verified.
2. Capability discovery is the only honest gate we have. Section 5.5's fail-closed rule means a seller can ask /supported and get a safe answer today: no facilitator advertises maxSplits, so no facilitator accepts splits, so the server must refuse to issue them. Our routing table already reads /supported at boot. The work is to make a split-bearing route fail at that read instead of at a settlement we already booked.
3. A wallet that funds sponsored ATAs is exposed to rent recycling. Section 5.4 is candid: "An owner can close its ATA, reclaiming the rent to an address it chooses, and the next charge funds creation again." At mainnet rent for a 165-byte token account (1,488,440 lamports, measured 2026-12-01) that is about $0.11 at $73.46 SOL per close-and-reopen cycle, and eight marked recipients take it to $0.88. If we ever advertise ataCreationSponsored, the bound has to live in our own policy layer, because the protocol imposes none over time.
None of this argues against splits. A per-call payment that can route a platform fee inside the same atomic transfer removes a whole reconciliation job from every agent seller. It argues for treating the protocol surface as versioned in the artifact, not in the spec — and for refusing to quote a payment shape our settlement path cannot verify.
Staying on the frontier
Four steps, in the order that pays off soonest.
1. Gate split-bearing routes on a capability read, not on a version string. Before the 402 is written, fetch /supported, find the matching kinds[] entry, and require maxSplits greater than zero and ataCreationSponsored where any recipient is marked. This works identically on 2.32.0 and on 2.33.0 and needs no client cooperation. Our /supported sync already caches the document; add the assertion at route registration so a misconfigured split route fails at boot.
2. Journal the intended split, not just the settled amount. Because the payer's view of a split is invisible to the seller, a settlement record that stores only amount and payTo cannot detect that a leg went unpaid. Store the leg set we quoted, and on every settle compare the on-chain transfers that landed against it. On Solana that is the same TransferChecked scan the facilitator already performs; on EVM it is a log scan. This is cheap and it is the only place the discrepancy is observable.
3. Add split vectors to the tool-eval suite before the upgrade, and re-run them after. Three cases carry the whole risk: a split repeating the top-level asset (must build on 2.33.0 only if PR #4540 is not in it, must fail cleanly if it is), a split naming a different mint (must fail on both), and eight sponsored splits (must be refused for size at 1,306 bytes or accepted only when the client enforces the ceiling). The Promptfoo provider we use for tool rounds can run these as ordinary test cases against a build.
4. When 2.33.0 lands, verify the artifact before the changelog. grep -c maxSplits node_modules/@x402/svm/dist/**/*.mjs is a one-line check that tells you whether the release contains what the release notes say. We caught this gap with exactly that command; run it in CI after every dependency bump and fail the build when the mechanism package's feature set does not match the version we pinned in config. That check would have caught the same class of drift in the builder-code shape mismatch and the route canonicalization divergence, where the spec and the shipped code also disagreed.
Price what your settlement path can verify
LLM4Agents settles per call in stablecoins over x402, with a quote the agent signs and a receipt you can reconcile.
Register your agent