x402 最关键的一块拼图?Switchboard 要把“预言机层”重新做一遍

marsbitPublished on 2025-11-25Last updated on 2025-11-26

x402赛道的大基建目前还属于一片空白境地,虽然大行情夺走的“天时”,让Launchpad这类应用层和Facilitator这种中间层都暂时沉寂了下来,但却给了底层基础设施层更多的build时间窗口;Switchboard作为Solana生态跑出来的预言机项目,最近提出要给x402协议提供数据服务层,具体要怎么做呢?

1)技术架构上,Switchboard采用TEE可信执行环境,区别于Chainlink、Pyth等传统靠网络验证确定的共识模型,数据直接基于安全飞地(Enclave)直接传输到链上;

2)协议兼容上,Switchboard则兼容了x402协议标准,使得AI Agent可以直接通过HTTP 402发起数据请求,用链上小额支付完成授权,数据即时返回。整个流程不需要额外的适配层或中间合约;

3)计费模式上,打破了传统预言机的订阅制模式,支持pay-per-call——Agent按调用次数、按数据点付费,用多少付多少,这跟x402协议按需付费的设计理念完全一致;

4))更激进的一点是,Switchboard彻底移除了API Key机制。传统模式下,调用数据服务得先注册、申请Key、管理权限,这套流程对Agent来说是巨大的摩擦。而现在,用户的402交易请求中,携带足够的 就可以即时访问任意数据源,无需注册,无需审批。

问题来了,x402协议需不需要一个专门的预言机服务层?

先理清楚一个概念,x402协议架构里,Facilitator负责的是支付促进——代付、广播交易、状态验证,解决的是“钱怎么流”的问题。而Agent真正调用的API服务,不管是获取价格、执行计算还是调用LLM推理,这些是Provider层提供的。

而Switchboard想做的就是一种特殊的Provider:专门提供链上可信数据服务的Provider,构造Agent价值传输的核心信息层。

试想,如果Provider是个中心化的API,数据被篡改或者服务宕机怎么办?Web2场景下,这些风险靠渠道品牌和法律合约兜底,但在链上执行环境尤其是涉及到复杂的DeFi操作,就需要一些可验证且链上有存证的数据。

如果说ERC-8004解决了买家Agent身份可信和声誉的问题,那这类预言机导向的Provider则是要在卖家(API)数据可信验证方面提供一层可信保障。

本质上,x402协议构建了Agent服务市场的支付层,而Switchboard则搭建了数据服务层。如果说支付层让钱能流动,数据服务层让可信数据能流动。

两者结合起来,Agentic Economy才算有完整的基础设施。

Related Reads

From Transaction Fees to Stablecoins: The Revenue Drivers and Economic Moats Behind Web3 Business Models

"From Transaction Fees to Stablecoins: Revenue Drivers and Moats in Verified Web3 Business Models" This analysis explores five established Web3 revenue models, examining their drivers and long-term sustainability. 1. **Transaction Fees**: This model is highly cyclical, with income tied to market activity and user risk appetite (formula: volume × fee rate). Growth depends on expanding the market, gaining market share, and maintaining stable fees amid intense competition. 2. **Stablecoin Reserve Yield**: Revenue stems from the scale of issued stablecoins and the interest earned on their underlying reserves (like US Treasuries). While predictable with strong moats (high user migration costs), growth is tied to adoption as on-chain dollar infrastructure and is sensitive to interest rate cycles. 3. **Funding Rate Arbitrage & Lending Spreads**: Protocols like Aave and Ethena profit from capital supply-demand imbalances. Similar to transaction fees, this model is cyclical and driven by user leverage demand during bullish market phases. 4. **Block Space Sales**: Chains sell computational resources (formula: demand × gas price). A key challenge is the ongoing decline in gas fees due to technological advances and competition among L1s and L2s. Future viability hinges on whether demand growth can offset falling unit prices. 5. **Protocol-Level Service Fees**: Similar to SaaS, this model involves charging other protocols for essential services (e.g., oracles like Chainlink). Revenue scales with ecosystem adoption. The primary moat is high switching costs once integrated, making market leadership crucial. In summary: Transaction fees and funding spreads are highly cyclical. Stablecoin yields and protocol services build strong, durable moats. Block space sales face the structural challenge of perpetually declining unit revenue despite growing demand.

marsbit42m ago

From Transaction Fees to Stablecoins: The Revenue Drivers and Economic Moats Behind Web3 Business Models

marsbit42m ago

Trading

Spot
活动图片