Building an AI Agent That Pays for Data: A Practical x402 Walkthrough. A working implementation walkthrough for an AI agent consuming an x402-gated API: reading the 402 response and its accepts array, choosing a payment method (facilitator-settled transaction vs self-submitted reference), building the payment, and handling the settlement-lag retry loop — using this site’s own live Watchdog endpoints as the worked example.
| Network | Scheme | Amount | Pay To |
|---|---|---|---|
| solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | exact | 0.02 tokens | 7LSjfr...acy7 |
| solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | exact | 0.02 tokens | 7LSjfr...acy7 |
| Base | exact | $0.02 USDC | 0xA2A8...c8aa |
| Polygon | exact | $0.02 USDC | 0xA2A8...c8aa |
| Arbitrum One | exact | $0.02 USDC | 0xA2A8...c8aa |
| solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | exact | 0.16 tokens | 7LSjfr...acy7 |