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 as hedera:testnet, amount, accepted, top-level resource). v1-shaped requests are rejected with a 400. See the migration guide.
  • Docs corrected. The client sends PAYMENT-SIGNATURE; the resource server returns requirements in PAYMENT-REQUIRED and calls /verify and /settle with a JSON body; the settlement comes back in PAYMENT-RESPONSE. The /v1 suffix on base URLs was removed from the docs; the API has no global prefix.

Deprecated

  • The X-PAYMENT header and the body paymentHeader field on POST /verify and POST /settle. Both keep working. Responses to them carry Deprecation: true and a Link header with rel="deprecation" pointing at the migration guide. They will be removed in a future release; no removal date is announced. Send the JSON paymentPayload body instead.

Added (experimental)

  • Hedera transferExecutor asset transfer method.

    Experimental and unreleased. transferExecutor is testnet only and opt-in per executor. It runs on an unreleased @x402/hedera build 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 section scheme_exact_hedera.md (merged 2026-09-24) is separate from that unreleased reference implementation.

    The payload is { payer, executor, authorization }, GET /supported lists extra.assetTransferMethods and extra.executors when 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.assetTransferMethod the package does not define is now rejected with invalid_exact_hedera_asset_transfer_method. It used to be paid as cryptoTransfer, which the spec forbids.
  • For cryptoTransfer requirements, a payment whose accepted names a different method is rejected with accepted_payment_requirements_mismatch. 2.28.0 ignored the method.
  • The server scheme’s defaultAssetTransferMethod is "cryptoTransfer" instead of "default". Same flows and wire output; it only matters to code that reads the constant.
  • transferExecutor quotes fail to build if they list an executor the facilitator does not advertise, or if they carry extra.splits other than [] or null. They may use upfront.