How paid ASP tools settle on X Layer with OKX x402.
x402 payments
Paid Untch tools use the x402 protocol through OKX’s hosted facilitator on X Layer mainnet.
Network facts
| Item | Value |
|---|---|
| Chain | X Layer mainnet |
| chainId | 196 |
| CAIP-2 | eip155:196 |
| Settlement token | USDT0 0x779Ded…3736 (6 decimals) |
There is no confirmed OKX x402 facilitator on testnet for this rail. Production agent payments use mainnet.
Call flow
- Agent
GET/POSTa priced route without payment. - Server responds 402 with
Payment-Requiredmetadata. - Buyer signs an EIP-3009 authorization for the exact amount.
- Facilitator settles; agent retries with proof of payment.
- Server returns the tool result.
Untch never holds the buyer private key. The seller authenticates to the facilitator with its OKX API credentials.
Client options
- Custom buyer using OKX x402 fetch helpers
@untch/x402-guardfor CBC + preflight before sign- Any agent runtime that can complete an x402 402 challenge