Working code for AI agents to pay via x402 and get structured country data.
pip install requests python3 demo_xrplme_paid.py --country thailand
Standard: 1 XRP (XRPL) / 1 USDC (Solana) AI: 5 XRP (XRPL) / 7 USDC (Solana)
Structured v1.1 responses with sources, facts, synthesis, and on-chain TXID proof.
Full schema: /schemas/country-data-v1.1.json