Changelog
All notable changes to the Blocky402 project will be documented here.
2026-11-05
Changed
- x402 v2 wire format. The facilitator speaks x402 v2 only (
x402Version: 2, CAIP-2 network ids such ashedera:testnet,amount,accepted, top-levelresource). v1-shaped requests are rejected with a400. See the migration guide. - Docs corrected. The client sends
PAYMENT-SIGNATURE; the resource server returns requirements inPAYMENT-REQUIREDand calls/verifyand/settlewith a JSON body; the settlement comes back inPAYMENT-RESPONSE. The/v1suffix on base URLs was removed from the docs; the API has no global prefix.
Deprecated
- The
X-PAYMENTheader and the bodypaymentHeaderfield onPOST /verifyandPOST /settle. Both keep working. Responses to them carryDeprecation: trueand aLinkheader withrel="deprecation"pointing at the migration guide. They will be removed in a future release; no removal date is announced. Send the JSONpaymentPayloadbody instead.
Added (experimental)
-
Hedera
transferExecutorasset transfer method.Experimental and unreleased.
transferExecutoris testnet only and opt-in per executor. It runs on an unreleased@x402/hederabuild from x402 PR #4030, which is open and has not been reviewed by the maintainers (checked 2026-11-05), so its option names, exports and the behaviour changes below may change before a release. The npm client scheme cannot build this payload. The public spec sectionscheme_exact_hedera.md(merged 2026-09-24) is separate from that unreleased reference implementation.The payload is
{ payer, executor, authorization },GET /supportedlistsextra.assetTransferMethodsandextra.executorswhen an executor is admitted, and the fee payer funds the gas. See the API Reference.
Changed in the transferExecutor build of @x402/hedera (experimental)
- An
extra.assetTransferMethodthe package does not define is now rejected withinvalid_exact_hedera_asset_transfer_method. It used to be paid ascryptoTransfer, which the spec forbids. - For
cryptoTransferrequirements, a payment whoseacceptednames a different method is rejected withaccepted_payment_requirements_mismatch. 2.28.0 ignored the method. - The server scheme’s
defaultAssetTransferMethodis"cryptoTransfer"instead of"default". Same flows and wire output; it only matters to code that reads the constant. transferExecutorquotes fail to build if they list an executor the facilitator does not advertise, or if they carryextra.splitsother than[]ornull. They may useupfront.