ELIZA · ONCHAIN AGENTS · BASE MAINNET · USDC

Give an onchain agent a bounded way to buy machine services.

The canonical SqueezeOS rail is x402 v2 on Base mainnet using USDC. Your agent keeps custody of its wallet and signs only the exact live payment requirement it has approved.

1. Discover before spending

GET https://squeezeos-api.onrender.com/.well-known/x402
GET https://squeezeos-api.onrender.com/api/x402/readiness

2. Trigger a real challenge

GET https://squeezeos-api.onrender.com/api/fx/convert?from=USD&to=EUR&amount=1

Expect a payment requirement when the resource is gated. Parse the live challenge instead of using cached amount/network/pay-to fields.

3. Enforce wallet policy

Before signing: verify network = eip155:8453, asset = USDC, amount ≤ mandate, resource matches intent, and the live pay-to/payment requirement is exactly what your policy approves.

4. Verify after retry

Settlement evidenceRail readinessECHO market intel

Truth rule: never infer settlement from a signature or a 402 challenge. Require the paid response and authoritative settlement evidence before recording success.

Open interactive x402 console →