A402: Binding Cryptocurrency Payments to Service Execution for Agentic Commerce

Yue Li, Lei Wang, Kaixuan Wang, Zhiqiang Yang, Ke Wang, Zhi Guan, Jianbo Gao · 2026

Read A402: Binding Cryptocurrency Payments to Service Execution for Agentic Commerce by Yue Li, Lei Wang, Kaixuan Wang, Zhiqiang Yang, Ke Wang, Zhi Guan, Jianbo Gao (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-01179.txt.

Introduction

Li and six colleagues bind cryptocurrency payments to service execution for agentic commerce with A402, fixing the x402 standard's lack of end-to-end atomicity. Atomic Service Channels weave execution into payment channels for real-time micropayments. Trusted-hardware adaptor signatures finalize payment only when the service runs correctly and results arrive. A private liquidity vault aggregates settlements into one on-chain transaction, and tests on Bitcoin and Ethereum show orders-of-magnitude gains over x402.

Catalog record

CREATORYue Li, Lei Wang, Kaixuan Wang, Zhiqiang Yang, Ke Wang, Zhi Guan, Jianbo Gao
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE79624
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2603.01179

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

A402: Binding Cryptocurrency Payments to Service Execution for Agentic Commerce Yue Li, Lei Wang, Kaixuan Wang, Zhiqiang Yang, Ke Wang, Zhi Guan, Jianbo Gao Abstract The rapid proliferation of autonomous AI agents is driving a shift toward agentic commerce, where agents are expected to autonomously invoke and pay for services. While blockchain-based payments offer a programmable foundation for such interactions, the recently proposed x402 standard fails to enforce end-to-end atomicity across service execution, payment, and result delivery. In this paper, we present A402, a trust-minimized payment architecture that securely binds cryptocurrency payments to service execution. A402 introduces Atomic Service Channels (ASCs), a new channel protocol that integrates service execution into payment channels, enabling real-time, high-frequency micropayments for agentic commerce. Within each ASC, A402 employs an atomic exchange protocol based on TEE-assisted adaptor signatures, ensuring that payments are finalized if and only if the requested service is correctly executed and the corresponding result is delivered. To further ensure privacy, A402 incorporates a TEE-based Liquidity Vault that privately manages the lifecycle of ASCs and aggregates their settlements into a single on-chain transaction, revealing only aggregated balances. We implement A402 and evaluate it against x402 with integrations on both Bitcoin and Ethereum. Our results show that A402 delivers orders-of-magnitude performance and on-chain cost improvements over x402 while providing trust-minimized security guarantees. 1 Introduction The internet is undergoing a paradigm shift from a human-centric content economy to a machine-centric agentic economy , driven by the rapid proliferation of autonomous AI agents [ 33 , 44 ] . Unlike traditional human users, these agents increasingly operate in a fully automated manner: they dynamically discover, invoke, and compose machine-callable services, such as cloud functions, data oracles, and agent skills [ 36 ] . In many cases, such interactions involve not only service execution but also service payment: an agent may need to obtain access to a service from a previously unknown provider without any pre-established account, contractual relationship, or prior trust . As such interactions become both autonomous and high-frequency , they naturally give rise to an emerging form of agentic commerce, in which individual service executions may themselves become billable events. This emerging agentic commerce exposes the lack of a suitable payment primitive. Existing traditional financial infrastructures rely on identity-based authentication, such as Know-Your-Customer requirements, which assume that counterparties possess legal or physical identity and can establish persistent relationships in advance. These assumptions fit human-centric commerce, which typically adopts coarse-grained monetization models such as subscriptions. However, autonomous agents may lack legal identity, interact with previously unknown service providers, and require low-latency, fine-grained settlement for individual service execution. In contrast, blockchain bind assets to cryptographic keys, decoupling asset ownership from physical identity. This property makes blockchain-based payments a natural foundation for agentic commerce, where agents can transact directly, securely, and programmatically without manual intermediation [ 26 , 38 ] . Figure 1: The workflow of x402 and its limitations To enable such agent payment, the industry has recently proposed x402, an emerging open standard that leverages the HTTP 402 "Payment Required" status code to enable clients to pay service providers with blockchain-based assets via a centralized facilitator [ 32 ] . Within seven months after its May 2025 launch, x402 processed more than 100 million payments, reaching $24 million across major facilitators like Coinbase, Cloudflare and Google [ 43 ] . The workflow of x402 is shown in Figure 1 . When a client requests a service, the service provider responds with a 402 status and payment details ( Step 1 ). The client then signs the tx_{pay} ( i.e. , payment transaction) and resubmits the request ( Step 2 ). The service provider forwards it to a centralized facilitator for validation ( Step 3 ). After that, the service provider executes the request ( Step 4 ) and then signals completion to the facilitator ( Step 5 ). The facilitator then broadcasts the tx_{pay} to the blockchain ( Step 6 ). Once tx_{pay} is executed and confirmed on-chain ( Step 7 ), the facilitator then notifies the service provider to deliver the response for the client ( Steps 8-10 ). Despite its rapid adoption in practice, x402 fails to satisfy the security and performance requirements of high-frequency agentic commerce due to the following limitations: L1. service providers must execute requests optimistically before payment finalization, exposing them to non-payment risks. Moreover, facilitators broadcast payments without verifying that execution has been actually carried out. All these situations violate the atomic binding of execution and payment; L2. x402 enforces a payment-first workflow in which on-chain payment confirmation precedes result delivery. As a result, a malicious or failed service provider can withhold service responses after receiving payment. This violates fair exchange of payment and service response; L3. x402 suffers from scalability and privacy limitations: (i) the end-to-end latency is bounded by blockchain confirmation latency, rendering real-time high-frequency interactions impractical; (ii) high transaction fees render fine-grained micropayments economically infeasible; (iii) all interactions are recorded on-chain, compromising business privacy. In this paper, we introduce A402, a secure agent payment architecture that binds cryptocurrency payments to service execution , enabling seamless agentic commerce while overcoming the fundamental limitations of x402. The core of A402 is a new channel protocol called Atomic Service Channel (ASC), which offloads on-chain payments into off-chain channels and embeds service execution into the payment channel’s state, allowing for low-latency micropayments in real-time interactions at a low cost ( cf. L3(i)(ii) ). Within the ASC, we design an atomic exchange protocol that combines TEE-based enforcement with adaptor signatures, which guarantees that a payment is finalized if and only if the request is correctly executed and the corresponding result is delivered, thereby enforcing the atomicity across execution, payment, and delivery ( cf. L1, L2 ). To further address privacy concerns, we introduce a TEE-based Liquidity Vault that privately manages the creation and settlement of ASCs. By maintaining ASC state off-chain, the liquidity vault aggregates multiple ASC settlements into a single on-chain transaction that exposes only aggregated balances ( cf. L3(iii) ). Overall, the design of A402 makes the following contributions: • We propose Atomic Service Channels (ASCs) , a new channel protocol that binds off-chain service execution to blockchain payments, enabling real-time, high-frequency micropayments. • We design an Atomic Exchange Protocol using TEE-assisted adaptor signatures. This ensures end-to-end atomicity by linking payment finalization to the verifiable execution and delivery of service results. • We propose a TEE-based Liquidity Vault to manage the ASC lifecycle privately off-chain. By aggregating multiple ASCs into a single on-chain settlement, it preserves privacy while ensuring settlement integrity. • We implement A402 on both Bitcoin and Ethereum. Our prototype achieves a peak throughput of 2,875 RPS with sub-second latency ( \sim 350 ms), representing orders-of-magnitude improvements in performance over x402 while enabling horizontal scalability . Furthermore, A402 reduces on-chain cost from O(n) (x402) to constant O(1) , providing a cost-effective and trust-minimized solution for M2M commerce. 2 Preliminary 2.1 Payment Channel and its Limitation Payment channels enable two parties, a client ( C ) and a service provider ( S ), to process payments off-chain while relying on the blockchain merely for channel creation and final settlement ( i.e. , closure) [ 30 ] . Specifically,

Read the complete text