x402 proliferation across Ethereum
We just extended the x402 protocol to accept any arbitrary chain id, expanded support to 26 new chains and introduced a new simplified API.
With this release, `settlePayment()` is all you need. Drop it in your backend endpoint or middleware and get paid every time someone calls your API.
Our facilitator handles submitting the payment on the desired chain and token gaslessly, defaulting to @circle USDC.
On the frontend, use `wrapFetchWithPayment` to generate the required payment data from any connected wallet.
New supported chains include:
@arbitrum
@Celo
@HyperliquidX
@LineaBuild
@Optimism
@plumenetwork
@0xPolygon
@SonicLabs
@unichain
@worldcoin
@XDCNetwork
and we'll be expanding to more chains, more tokens and more configuration options in the next few weeks!

21.45K
159
The content on this page is provided by third parties. Unless otherwise stated, OKX is not the author of the cited article(s) and does not claim any copyright in the materials. The content is provided for informational purposes only and does not represent the views of OKX. It is not intended to be an endorsement of any kind and should not be considered investment advice or a solicitation to buy or sell digital assets. To the extent generative AI is utilized to provide summaries or other information, such AI generated content may be inaccurate or inconsistent. Please read the linked article for more details and information. OKX is not responsible for content hosted on third party sites. Digital asset holdings, including stablecoins and NFTs, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding digital assets is suitable for you in light of your financial condition.